Index: applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisibleAction.java
===================================================================
--- applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisibleAction.java	(revision 16587)
+++ applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisibleAction.java	(revision 17536)
@@ -30,8 +30,11 @@
 import org.openstreetmap.josm.io.GpxImporter;
 import org.openstreetmap.josm.io.GpxReader;
+import org.openstreetmap.josm.io.IllegalDataException;
 import org.openstreetmap.josm.io.OsmImporter;
 import org.openstreetmap.josm.io.OsmReader;
 import org.openstreetmap.josm.tools.Shortcut;
 import org.xml.sax.SAXException;
+
+import at.dallermassl.josm.plugin.openvisible.OsmGpxBounds;
 
 /**
@@ -94,4 +97,6 @@
             } catch (SAXException e1) {
                 e1.printStackTrace();
+            } catch(IllegalDataException e1) {
+            	e1.printStackTrace();
             }
         }
@@ -99,5 +104,5 @@
     }
 
-    private void openAsData(File file) throws SAXException, IOException, FileNotFoundException {
+    private void openAsData(File file) throws SAXException, IOException, FileNotFoundException, IllegalDataException {
         String fn = file.getName();
         if (new OsmImporter().acceptFile(file)) {
Index: applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisiblePlugin.java
===================================================================
--- applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisiblePlugin.java	(revision 16587)
+++ applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisiblePlugin.java	(revision 17536)
@@ -7,5 +7,4 @@
 import org.openstreetmap.josm.gui.MainMenu;
 import org.openstreetmap.josm.plugins.Plugin;
-import org.openstreetmap.josm.actions.JosmAction;
 
 /**
