[ 
https://issues.apache.org/jira/browse/OAK-9567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-9567:
--------------------------------
    Fix Version/s: 1.22.17

> 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
>             Fix For: 1.42.0, 1.22.17
>
>
> 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.20.10#820010)

Reply via email to