You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (Jira)" <ji...@apache.org> on 2022/02/25 16:16:00 UTC

[jira] [Resolved] (OAK-9709) PropertyDelegate.isProtected() throws NPE when parent is stale

     [ https://issues.apache.org/jira/browse/OAK-9709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved OAK-9709.
-----------------------------------
    Fix Version/s: 1.44.0
       Resolution: Fixed

Thanks for the review. I merged the PR.

> 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
>             Fix For: 1.44.0
>
>
> {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)