Index: trunk/src/org/openstreetmap/josm/gui/NotificationManager.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/NotificationManager.java	(revision 6204)
+++ trunk/src/org/openstreetmap/josm/gui/NotificationManager.java	(revision 6205)
@@ -113,5 +113,5 @@
         JFrame parentWindow = (JFrame) Main.parent;
         Dimension size = currentNotificationPanel.getPreferredSize();
-        if (Main.isDisplayingMapView()) {
+        if (Main.isDisplayingMapView() && Main.map.mapView.getHeight() > 0) {
             MapView mv = Main.map.mapView;
             Point mapViewPos = SwingUtilities.convertPoint(mv.getParent(), mv.getX(), mv.getY(), Main.parent);
