Index: trunk/src/org/openstreetmap/josm/data/osm/Node.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/Node.java	(revision 1730)
+++ trunk/src/org/openstreetmap/josm/data/osm/Node.java	(revision 1731)
@@ -23,8 +23,11 @@
 
     public final void setCoor(LatLon coor) {
-        if(this.coor == null)
-            this.coor = new CachedLatLon(coor);
-        else
-            this.coor.setCoor(coor);
+        if(coor != null)
+        {
+            if(this.coor == null)
+                this.coor = new CachedLatLon(coor);
+            else
+                this.coor.setCoor(coor);
+        }
     }
 
