java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.codecs.Codec$Holder

redhat.com | 1 month ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Bug 1406065 – PyDev search always gives a java.lang.ExceptionInInitializerError

    redhat.com | 1 month ago
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.codecs.Codec$Holder
  2. 0

    Tremendous long startup of Eclipse

    pydev | 8 years ago | gernjo
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class org.apache.lucene.codecs.Codec$Holder

      at org.apache.lucene.codecs.Codec.getDefault()
    2. Lucene
      IndexWriterConfig.<init>
      1. org.apache.lucene.codecs.Codec.getDefault(Codec.java:140)
      2. org.apache.lucene.index.LiveIndexWriterConfig.<init>(LiveIndexWriterConfig.java:120)
      3. org.apache.lucene.index.IndexWriterConfig.<init>(IndexWriterConfig.java:140)
      3 frames
    3. org.python.pydev
      IndexApi.<init>
      1. org.python.pydev.shared_core.index.IndexApi.init(IndexApi.java:100)
      2. org.python.pydev.shared_core.index.IndexApi.<init>(IndexApi.java:82)
      3. org.python.pydev.shared_core.index.IndexApi.<init>(IndexApi.java:95)
      3 frames
    4. com.python.pydev
      PySearchIndexQuery.run
      1. com.python.pydev.analysis.additionalinfo.ReferenceSearchesLucene.internalSearch(ReferenceSearchesLucene.java:157)
      2. com.python.pydev.analysis.additionalinfo.ReferenceSearchesLucene.search(ReferenceSearchesLucene.java:94)
      3. com.python.pydev.analysis.search_index.PySearchIndexQuery.run(PySearchIndexQuery.java:84)
      3 frames
    5. Search Support
      InternalSearchUI$InternalSearchJob.run
      1. org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:92)
      1 frame
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame