[
https://issues.apache.org/jira/browse/OAK-9567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Egli updated OAK-9567:
-----------------------------
Affects Version/s: 1.40.0
> 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)