Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3692

java.lang.NoClassDefFoundError: org/apache/lucene/index/sorter/Sorter$DocComparator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.2.14, 1.3.12, 1.4
    • lucene
    • None

    Description

      I'm getting following exception while trying to include oak trunk build into AEM:

      27.11.2015 20:41:25.946 *ERROR* [oak-lucene-2] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProvider Uncaught exception in org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProvider@36ba558b
      java.lang.NoClassDefFoundError: org/apache/lucene/index/sorter/Sorter$DocComparator
                      at org.apache.jackrabbit.oak.plugins.index.lucene.util.SuggestHelper.getLookup(SuggestHelper.java:108)
                      at org.apache.jackrabbit.oak.plugins.index.lucene.IndexNode.<init>(IndexNode.java:106)
                      at org.apache.jackrabbit.oak.plugins.index.lucene.IndexNode.open(IndexNode.java:69)
                      at org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker$1.leave(IndexTracker.java:98)
                      at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:153)
                      at org.apache.jackrabbit.oak.plugins.segment.MapRecord$3.childNodeChanged(MapRecord.java:444)
                      at org.apache.jackrabbit.oak.plugins.segment.MapRecord.compare(MapRecord.java:487)
                      at org.apache.jackrabbit.oak.plugins.segment.MapRecord.compareBranch(MapRecord.java:565)
                      at org.apache.jackrabbit.oak.plugins.segment.MapRecord.compare(MapRecord.java:470)
                      at org.apache.jackrabbit.oak.plugins.segment.MapRecord.compare(MapRecord.java:436)
                      at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:583)
                      at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:148)
                      at org.apache.jackrabbit.oak.plugins.segment.MapRecord$2.childNodeChanged(MapRecord.java:403)
                      at org.apache.jackrabbit.oak.plugins.segment.MapRecord$3.childNodeChanged(MapRecord.java:444)
                      at org.apache.jackrabbit.oak.plugins.segment.MapRecord.compare(MapRecord.java:487)
                      at org.apache.jackrabbit.oak.plugins.segment.MapRecord.compare(MapRecord.java:436)
                      at org.apache.jackrabbit.oak.plugins.segment.MapRecord.compare(MapRecord.java:394)
                      at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:583)
                      at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52)
                      at org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker.update(IndexTracker.java:108)
                      at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProvider.contentChanged(LuceneIndexProvider.java:73)
                      at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:131)
                      at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:125)
                      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
                      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.ClassNotFoundException: org.apache.lucene.index.sorter.Sorter$DocComparator not found by org.apache.jackrabbit.oak-lucene [95]
                      at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1573)
                      at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
                      at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
                      ... 27 common frames omitted
      

      Attachments

        1. OAK-3692.patch
          0.9 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              catholicon Vikas Saurabh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: