[
https://issues.apache.org/jira/browse/ISIS-2577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber resolved ISIS-2577.
------------------------------
Resolution: Fixed
Issue was reproducible (NPE) with DemoApp -> Properties -> Optionality.
> 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
> Priority: Major
> 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)