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 14:47:00 UTC
[jira] [Commented] (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: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)