[
https://issues.apache.org/jira/browse/OAK-9567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17411985#comment-17411985
]
Stefan Egli commented on OAK-9567:
----------------------------------
* [PR#363|https://github.com/apache/jackrabbit-oak/pull/363] created
> Avoid NullPointerException in ReadWriteVersionManager.removeVersion
> -------------------------------------------------------------------
>
> Key: OAK-9567
> URL: https://issues.apache.org/jira/browse/OAK-9567
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.40.0
> Reporter: Stefan Egli
> Assignee: Stefan Egli
> Priority: Minor
>
> On occasion the following NullPointerException can be witnessed:
> {noformat}
> java.lang.NullPointerException: null
> at
> org.apache.jackrabbit.oak.plugins.version.ReadWriteVersionManager.removeVersion(ReadWriteVersionManager.java:208)
> at
> org.apache.jackrabbit.oak.plugins.version.VersionStorageEditor.childNodeDeleted(VersionStorageEditor.java:122)
> {noformat}
> This points to some inconsistency wrt {{jcr:predecessors}} and
> {{jcr:successors}}.
> As a minimal step we should avoid the null pointer and add more logging - to
> help ultimately track down what causes the inconsistency.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)