From 9cbb90ed6098857f8b7773ba1e8ea1a064513e31 Mon Sep 17 00:00:00 2001 From: Tako Schotanus Date: Fri, 12 Jul 2024 03:26:00 +0200 Subject: [PATCH] fix: regression NPE creating new app.json --- src/main/java/org/codejive/jpm/json/AppInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/codejive/jpm/json/AppInfo.java b/src/main/java/org/codejive/jpm/json/AppInfo.java index 9abdc17..070560b 100644 --- a/src/main/java/org/codejive/jpm/json/AppInfo.java +++ b/src/main/java/org/codejive/jpm/json/AppInfo.java @@ -16,7 +16,7 @@ * from/to files. */ public class AppInfo { - private Map json; + private Map json = new TreeMap<>(); public Map dependencies = new TreeMap<>(); /** The official name of the app.json file. */