Index: /trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/tools/ImageProvider.java	(revision 3445)
+++ /trunk/src/org/openstreetmap/josm/tools/ImageProvider.java	(revision 3446)
@@ -73,5 +73,7 @@
         if (icon == null) {
             String ext = name.indexOf('.') != -1 ? "" : ".png";
-            throw new NullPointerException("/images/" + subdir + "/" + name + ext + " not found");
+            throw new NullPointerException(tr(
+            "Fatal: failed to locate image ''{0}''. This is a serious configuration problem. JOSM will stop working.",
+            imageName+ext));
         }
         return icon;
@@ -244,8 +246,4 @@
                 return u;
         }
-        System.out
-        .println(tr(
-                "Fatal: failed to locate image ''{0}''. This is a serious configuration problem. JOSM will stop working.",
-                imageName));
         return null;
     }
