diff --git a/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrObservationManager.java b/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrObservationManager.java index 5167e39c59..46c4e9b81b 100644 --- a/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrObservationManager.java +++ b/modeshape-jcr/src/main/java/org/modeshape/jcr/JcrObservationManager.java @@ -599,7 +599,7 @@ public String toString() { sb.append(" from ").append(info.get(MOVE_FROM_KEY)).append(" to ").append(info.get(MOVE_TO_KEY)); } else { sb.append("Node reordered"); - String destination = info.get(ORDER_DEST_KEY).toString(); + String destination = (String)info.get(ORDER_DEST_KEY); if (destination == null) { destination = " at the end of the children list"; }