Description
Following NPE can be found in logs when running the Composite Node Store:
24.07.2017 20:53:47.297 *ERROR* [oak-lucene-0] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProvider Uncaught exception in org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProvider@6580fe4c java.lang.NullPointerException: null at org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:471) at org.apache.jackrabbit.oak.composite.CompositeNodeState.compareAgainstBaseState(CompositeNodeState.java:187) at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52) at org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker.diffAndUpdate(IndexTracker.java:142) at org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker.update(IndexTracker.java:113) at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProvider.contentChanged(LuceneIndexProvider.java:75) at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128) at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:122) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748)
Probably it's related to changes introduced in OAK-6425.