Index: /trunk/src/org/openstreetmap/josm/io/CachedFile.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/io/CachedFile.java	(revision 7281)
+++ /trunk/src/org/openstreetmap/josm/io/CachedFile.java	(revision 7282)
@@ -175,5 +175,5 @@
                     throw new IOException(tr("Failed to open input stream for resource ''{0}''", name));
                 return is;
-            }
+            } else throw new IOException();
         }
         return new FileInputStream(file);
