Index: trunk/src/org/openstreetmap/josm/tools/Territories.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Territories.java	(revision 19697)
+++ trunk/src/org/openstreetmap/josm/tools/Territories.java	(revision 19698)
@@ -201,5 +201,5 @@
                         ofNullable(feature.asJsonObject().getJsonObject("properties")).ifPresent(props ->
                         ofNullable(props.getJsonObject("urls")).flatMap(urls ->
-                        ofNullable(urls.getString(TAGINFO))).ifPresent(taginfo -> {
+                        ofNullable(urls.getString(TAGINFO, null))).ifPresent(taginfo -> {
                             JsonValue iso1 = props.get(ISO3166_1_LC);
                             JsonValue iso2 = props.get(ISO3166_2_LC);
