Index: /applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java
===================================================================
--- /applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java	(revision 35032)
+++ /applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java	(revision 35033)
@@ -73,16 +73,18 @@
             }
 
-            HeaderBBox bbox = header.getBbox();
-            if (bbox != null) {
-                double minlat = parseRawDegrees(bbox.getBottom());
-                double minlon = parseRawDegrees(bbox.getLeft());
-                double maxlat = parseRawDegrees(bbox.getTop());
-                double maxlon = parseRawDegrees(bbox.getRight());
-                Bounds b = new Bounds(minlat, minlon, maxlat, maxlon);
-                if (!b.isCollapsed() && areCoordinatesValid(minlat, minlon, maxlat, maxlon)) {
-                    ds.addDataSource(new DataSource(b, header.getSource()));
-                } else {
-                    Logging.error("Invalid Bounds: "+b);
-                }
+            if (header.hasBbox()) {
+            	HeaderBBox bbox = header.getBbox();
+            	if (bbox != null) {
+            		double minlat = parseRawDegrees(bbox.getBottom());
+            		double minlon = parseRawDegrees(bbox.getLeft());
+            		double maxlat = parseRawDegrees(bbox.getTop());
+            		double maxlon = parseRawDegrees(bbox.getRight());
+            		Bounds b = new Bounds(minlat, minlon, maxlat, maxlon);
+            		if (!b.isCollapsed() && areCoordinatesValid(minlat, minlon, maxlat, maxlon)) {
+            			ds.addDataSource(new DataSource(b, header.getSource()));
+            		} else {
+            			Logging.error("Invalid Bounds: "+b);
+            		}
+            	}
             }
         }
