Index: trunk/test/unit/org/openstreetmap/josm/data/validation/routines/DomainValidatorTestIT.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/validation/routines/DomainValidatorTestIT.java	(revision 19526)
+++ trunk/test/unit/org/openstreetmap/josm/data/validation/routines/DomainValidatorTestIT.java	(revision 19527)
@@ -174,5 +174,7 @@
             }
             allTLD.remove("arpa");
-            allTLD.replace("melbourne", allTLD.get("melbourne").replaceAll("represented by its ",""));
+            String s = allTLD.get("melbourne");
+            if (s != null) /* text too long, shorten a bit */
+                allTLD.replace("melbourne", s.replace("represented by its ", ""));
             printMap(header, allTLD, "allTLD");
             printMap(header, allCC, "allCC");
