Index: trunk/src/org/openstreetmap/josm/tools/Utils.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 10760)
+++ trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 10761)
@@ -1248,11 +1248,13 @@
      */
     public static boolean isValidUrl(String url) {
-        try {
-            new URL(url);
-            return true;
-        } catch (MalformedURLException | NullPointerException e) {
-            Main.trace(e);
-            return false;
-        }
+        if (url != null) {
+            try {
+                new URL(url);
+                return true;
+            } catch (MalformedURLException e) {
+                Main.trace(e);
+            }
+        }
+        return false;
     }
 
