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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2013/11/05 10:58:18 UTC

[jira] [Commented] (OAK-1135) NPE in CompiledPermissionImpl.getTreePermission()

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

Chetan Mehrotra commented on OAK-1135:
--------------------------------------

bq. if it's not a simple setup i would suggst to use the jcr-logger present with jackrabbit-commons to determine the set of JCR calls that lead to the problem

[~anchela] Can you provide any link to this feature. Looks useful for such debugging but not able to find any reference for that

> NPE in CompiledPermissionImpl.getTreePermission()
> -------------------------------------------------
>
>                 Key: OAK-1135
>                 URL: https://issues.apache.org/jira/browse/OAK-1135
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Tobias Bocanegra
>             Fix For: 0.11
>
>
> I don't know exactly why and when, but accessing an property in the version store can yield to an NPE in CompiledPermissionImpl.getTreePermission() if the TreeLocation is a PropertyLocation. then TreeLocation.getTree() returbs NULL and subsequently causes a NPE.



--
This message was sent by Atlassian JIRA
(v6.1#6144)