PLANNER-243 NullPointerException in VariableListenerSupport if an entity gets added and its class extends another entity class