Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java	(revision 20677)
+++ applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java	(revision 20678)
@@ -255,5 +255,5 @@
             if(Main.map.mapView.getActiveLayer() == this) {
                 Node n = getNearestNode(e.getPoint());
-                if(data.getNodes().contains(n)) {
+                if(n != null && data.getNodes().contains(n)) {
                     PopupFactory.createPopup(n, dialog).show(e.getComponent(), e.getX(), e.getY());
                 }
