Index: /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java
===================================================================
--- /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java	(revision 11259)
+++ /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java	(revision 11260)
@@ -30,5 +30,4 @@
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
-import java.io.IOException;
 import java.net.URL;
 import java.util.LinkedList;
@@ -131,6 +130,13 @@
 	public void updateData() {
 		// determine the bounds of the currently visible area
-		Bounds bounds = bounds();
-			
+		Bounds bounds = null;
+		try {
+			bounds = bounds();
+		} catch (Exception e) {
+			// something went wrong, probably the mapview isn't fully initialized
+			System.err.println("OpenStreetBugs: Couldn't determine bounds of currently visible rect. Cancel auto update");
+			return;
+		}
+		
 		try {
 			// download the data
@@ -141,5 +147,5 @@
 				updateGui();
 			}
-		} catch (IOException e) {
+		} catch (Exception e) {
 			JOptionPane.showMessageDialog(Main.parent, e.getMessage());
 			e.printStackTrace();
@@ -180,5 +186,5 @@
 			toggle.addActionListener(new ActionListener() {
 				private boolean download = true;
-
+				
 				public void actionPerformed(ActionEvent e) {
 					active = toggle.isSelected();
