diff --git a/sdk/jme3-core/src/com/jme3/gde/core/properties/UserDataProperty.java b/sdk/jme3-core/src/com/jme3/gde/core/properties/UserDataProperty.java index 2b6c443fb..75980a25d 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/properties/UserDataProperty.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/properties/UserDataProperty.java @@ -75,7 +75,7 @@ public class UserDataProperty extends PropertySupport.ReadWrite { } else if (type instanceof Long) { return 4; } else { - Logger.getLogger(UserDataProperty.class.getName()).log(Level.WARNING, "UserData not editable" + type.getClass()); + Logger.getLogger(UserDataProperty.class.getName()).log(Level.WARNING, "UserData not editable" + (type == null ? "null" : type.getClass())); return -1; } }