On occasion the following NullPointerException can be witnessed:
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)
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.
- is related to
OAK-5193 Version tree may become inconsistent after removing a version
- links to