Index: trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java	(revision 3046)
+++ trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java	(revision 3047)
@@ -147,4 +147,5 @@
                 dataSet.dataSources.add(new DataSource(currentBounds, "OpenStreetMap server"));
             }
+
             rememberDownloadedData(dataSet);
             int numDataLayers = getNumDataLayers();
@@ -154,8 +155,16 @@
                 //
                 OsmDataLayer layer = new OsmDataLayer(dataSet, OsmDataLayer.createNewName(), null);
+                final boolean isDisplayingMapView = Main.isDisplayingMapView();
+                
                 Main.main.addLayer(layer);
-                BoundingXYVisitor v = new BoundingXYVisitor();
-                v.visit(currentBounds);
-                Main.map.mapView.recalculateCenterScale(v);
+
+                // If the mapView is not there yet, we cannot calculate the bounds (see constructor of MapView).
+                // Otherwise jump to the current download.
+                if (isDisplayingMapView) {
+                    System.err.println("TRUE!");
+                    BoundingXYVisitor v = new BoundingXYVisitor();
+                    v.visit(currentBounds);
+                    Main.map.mapView.recalculateCenterScale(v);
+                }
             } else {
                 OsmDataLayer target;
