Index: applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java
===================================================================
--- applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java	(revision 29637)
+++ applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java	(revision 29638)
@@ -80,5 +80,5 @@
                 Set<OsmPrimitive> parents = new HashSet<OsmPrimitive>();
                 for (Node n : ds.getNodes()) {
-                    if (n.isUsable() && n.getCoor().isWithin(b)) {
+                    if (n.isUsable() && n.getCoor() != null && n.getCoor().isWithin(b)) {
                         parents.addAll(n.getReferrers());
                         w.visit(n);
@@ -90,5 +90,5 @@
                     if (p instanceof Way) {
                         for (Node n : ((Way) p).getNodes()) {
-                            if (n.getCoor().isWithin(b))
+                            if (n.getCoor() != null && n.getCoor().isWithin(b))
                                 parents.add(n);
                         }
