Index: trunk/src/org/openstreetmap/josm/gui/widgets/JosmImageView.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/widgets/JosmImageView.java	(revision 8966)
+++ trunk/src/org/openstreetmap/josm/gui/widgets/JosmImageView.java	(revision 8967)
@@ -10,4 +10,5 @@
 import java.net.URL;
 
+import javax.swing.ImageIcon;
 import javax.swing.text.AttributeSet;
 import javax.swing.text.Element;
@@ -127,5 +128,6 @@
             String urlStr = src.toExternalForm();
             if (urlStr.endsWith(".svg") || urlStr.endsWith(".svg?format=raw")) {
-                imageField.set(this, new ImageProvider(urlStr).get().getImage());
+                ImageIcon imgIcon = new ImageProvider(urlStr).setOptional(true).get();
+                imageField.set(this, imgIcon != null ? imgIcon.getImage() : null);
             } else {
                 Method loadImage = ImageView.class.getDeclaredMethod("loadImage");
