[ 
https://issues.apache.org/jira/browse/ISIS-2577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17303307#comment-17303307
 ] 

ASF subversion and git services commented on ISIS-2577:
-------------------------------------------------------

Commit cb5a32d22c804baf6939ec4c0ff4e4bc33a13a12 in isis's branch 
refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=cb5a32d ]

ISIS-2577: invoke property clearing with non-null value adapter

> 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)

Reply via email to