Andi Huber created ISIS-2577:
--------------------------------
Summary: Potential NPE when clearing a scalar property.
Key: ISIS-2577
URL: https://issues.apache.org/jira/browse/ISIS-2577
Project: Isis
Issue Type: Bug
Components: Isis Core
Reporter: Andi Huber
Assignee: Andi Huber
Fix For: 2.0.0-M5
Martin Hesse:
I think there is a "bug" in the MemberExecutorServiceDefault, in the method
setOrClearProperty the parameter final @NonNull ManagedObject newValueAdapter
is called with a null argument from the
PropertySetterOrClearFacetForDomainEventAbstract:
return setOrClearProperty(EditingVariant.CLEAR,
owningProperty, targetAdapter, /*newValueAdapter*/ null,
interactionInitiatedBy);
I don't think it needs the @NonNull annotation, as far as I can see the
unwrapping can handle null
--
This message was sent by Atlassian Jira
(v8.3.4#803005)