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

Marcel Reutegger commented on OAK-9709:
---------------------------------------

[~corderob], can you please review 
https://github.com/apache/jackrabbit-oak/pull/505?

> PropertyDelegate.isProtected() throws NPE when parent is stale
> --------------------------------------------------------------
>
>                 Key: OAK-9709
>                 URL: https://issues.apache.org/jira/browse/OAK-9709
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>    Affects Versions: 1.42.0
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>
> {noformat}
>     public boolean isProtected() throws InvalidItemStateException {
>         return getParent().isProtected(name);
>     }
> {noformat}
> The call to getParent() may return null.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to