Index: /trunk/src/org/openstreetmap/josm/command/MoveCommand.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/command/MoveCommand.java	(revision 3171)
+++ /trunk/src/org/openstreetmap/josm/command/MoveCommand.java	(revision 3172)
@@ -92,7 +92,8 @@
         for (Node n : nodes) {
             // in case #3892 happens again
-            //
-            assert n!= null : "null detected in node list";
-            assert n.getEastNorth() != null : "unexpected null value for n.getEastNorth(). id of n is" + n.getUniqueId();
+            if (n!= null) 
+                throw new AssertionError("null detected in node list");
+            if (n.getEastNorth() != null)
+                throw new AssertionError("unexpected null value for n.getEastNorth(). id of n is" + n.getUniqueId());
 
             n.setEastNorth(n.getEastNorth().add(x, y));
