Description
If some exception occurs while checking any index while performing consistency check the checker fails immediately. Instead it should catch the exception and perform check for all indexes
12:27:47 - Error occurred while performing index tasks java.lang.IndexOutOfBoundsException: index (8) must be less than size (8) at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:306) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:285) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexFile.loadBlob(OakDirectory.java:443) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexFile.readBytes(OakDirectory.java:505) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexInput.readBytes(OakDirectory.java:625) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.lucene.store.DataOutput.copyBytes(DataOutput.java:254) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.lucene.store.Directory.copy(Directory.java:186) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.jackrabbit.oak.plugins.index.lucene.directory.IndexConsistencyChecker.checkIndexDirectory(IndexConsistencyChecker.java:313) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.jackrabbit.oak.plugins.index.lucene.directory.IndexConsistencyChecker.checkIndex(IndexConsistencyChecker.java:287) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.jackrabbit.oak.plugins.index.lucene.directory.IndexConsistencyChecker.check(IndexConsistencyChecker.java:255) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.jackrabbit.oak.plugins.index.lucene.directory.IndexConsistencyChecker.check(IndexConsistencyChecker.java:240) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.jackrabbit.oak.plugins.index.lucene.directory.IndexConsistencyChecker.check(IndexConsistencyChecker.java:235) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.jackrabbit.oak.index.IndexConsistencyCheckPrinter.print(IndexConsistencyCheckPrinter.java:69) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT] at org.apache.jackrabbit.oak.index.PrinterDumper.dump(PrinterDumper.java:55) ~[oak-run-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]