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 13:46:00 UTC

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

Marcel Reutegger created OAK-9709:
-------------------------------------

             Summary: 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


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