diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/io/mapwithai/ESRISourceReader.java b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/io/mapwithai/ESRISourceReader.java index 0170b3f..a8f94f1 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/io/mapwithai/ESRISourceReader.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/io/mapwithai/ESRISourceReader.java @@ -181,7 +181,8 @@ public class ESRISourceReader { if (this.ignoreConflationCategories.contains(newInfo.getCategory())) { newInfo.setConflation(false); } - if (feature.containsKey("accessInformation")) { + if (feature.containsKey("accessInformation") + && feature.get("accessInformation").getValueType() != JsonValue.ValueType.NULL) { newInfo.setAttributionText(feature.getString("accessInformation")); } newInfo.setDescription(feature.getString("snippet"));