Description
Setting org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService.enableHybridIndexing=false on oak 1.6.1 results in the following exception, preventing the repository to start up properly:
java.lang.NullPointerException: null at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192) at org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.LuceneDocumentHolder.<init>(LuceneDocumentHolder.java:52) at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditorProvider.getDocumentHolder(LuceneIndexEditorProvider.java:190) at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditorProvider.getIndexEditor(LuceneIndexEditorProvider.java:139) at org.apache.jackrabbit.oak.plugins.index.CompositeIndexEditorProvider.getIndexEditor(CompositeIndexEditorProvider.java:74) at org.apache.jackrabbit.oak.spi.whiteboard.WhiteboardIndexEditorProvider.getIndexEditor(WhiteboardIndexEditorProvider.java:52) at org.apache.jackrabbit.oak.plugins.index.IndexUpdate.collectIndexEditors(IndexUpdate.java:240) at org.apache.jackrabbit.oak.plugins.index.IndexUpdate.enter(IndexUpdate.java:160) at org.apache.jackrabbit.oak.spi.commit.VisibleEditor.enter(VisibleEditor.java:57) at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:49) at org.apache.jackrabbit.oak.spi.commit.EditorHook.processCommit(EditorHook.java:54) at org.apache.jackrabbit.oak.spi.commit.CompositeHook.processCommit(CompositeHook.java:61) at org.apache.jackrabbit.oak.segment.SegmentNodeStore$Commit.prepare(SegmentNodeStore.java:603) at org.apache.jackrabbit.oak.segment.SegmentNodeStore$Commit.optimisticMerge(SegmentNodeStore.java:634) at org.apache.jackrabbit.oak.segment.SegmentNodeStore$Commit.execute(SegmentNodeStore.java:690) at org.apache.jackrabbit.oak.segment.SegmentNodeStore.merge(SegmentNodeStore.java:334) at org.apache.jackrabbit.oak.spi.lifecycle.OakInitializer.initialize(OakInitializer.java:52) at org.apache.jackrabbit.oak.Oak.createNewContentRepository(Oak.java:636) at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:624) at org.apache.jackrabbit.oak.jcr.Jcr.createContentRepository(Jcr.java:386)