Index: applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/cache/CacheUtils.java
===================================================================
--- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/cache/CacheUtils.java	(revision 31612)
+++ applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/cache/CacheUtils.java	(revision 31619)
@@ -82,5 +82,9 @@
   public static void submit(String key, MapillaryCache.Type type,
       ICachedLoaderListener lis) {
-    new MapillaryCache(key, type).submit(lis, false);
+    try {
+      new MapillaryCache(key, type).submit(lis, false);
+    } catch (IOException e) {
+      Main.error(e);
+    }
   }
 
Index: applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryMainDialog.java
===================================================================
--- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryMainDialog.java	(revision 31612)
+++ applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryMainDialog.java	(revision 31619)
@@ -244,5 +244,9 @@
         this.thumbnailCache = new MapillaryCache(mapillaryImage.getKey(),
             MapillaryCache.Type.THUMBNAIL);
-        this.thumbnailCache.submit(this, false);
+        try {
+          this.thumbnailCache.submit(this, false);
+        } catch (IOException e) {
+          Main.error(e);
+        }
 
         // Downloads the full resolution image.
@@ -252,5 +256,9 @@
           this.imageCache = new MapillaryCache(mapillaryImage.getKey(),
               MapillaryCache.Type.FULL_IMAGE);
-          this.imageCache.submit(this, false);
+          try {
+            this.imageCache.submit(this, false);
+          } catch (IOException e) {
+            Main.error(e);
+          }
         }
       } else if (this.image instanceof MapillaryImportedImage) {
