Index: applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryImportedImage.java
===================================================================
--- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryImportedImage.java	(revision 31409)
+++ applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryImportedImage.java	(revision 31410)
@@ -63,11 +63,10 @@
    * Returns the pictures of the file.
    *
-   * @return A BufferedImage object containing the pictures.
+   * @return A BufferedImage object containing the picture,
+   *           or null if the {@link File} given in the constructor was null.
    * @throws IOException
-   * @throws IllegalArgumentException
-   *           if file is currently set to null
    */
   public BufferedImage getImage() throws IOException {
-    return ImageIO.read(file);
+    return file == null ? null : ImageIO.read(file);
   }
 
