[ https://issues.apache.org/jira/browse/OAK-10120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Angela Schreiber resolved OAK-10120. ------------------------------------ Resolution: Fixed > SessionImpl.hasCapability is prone to NPE > ----------------------------------------- > > Key: OAK-10120 > URL: https://issues.apache.org/jira/browse/OAK-10120 > Project: Jackrabbit Oak > Issue Type: Bug > Components: jcr > Reporter: Angela Schreiber > Assignee: Angela Schreiber > Priority: Minor > Fix For: 1.50.0 > > > when calling Session.hasCapability on a node with operation 'addNode' but > passing no or an invalid arguments the call will fail with NPE. -- This message was sent by Atlassian Jira (v8.20.10#820010)