java.lang.ExceptionInInitializerError

redhat.com | 2 weeks 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

    java.lang.ClassCastException: ... Lucene40PostingsFormat

    Stack Overflow | 1 year ago | Martin Fluch
    java.lang.ClassCastException: class org.apache.lucene.codecs.lucene50.Lucene50PostingsFormat
  2. 0

    Maven packaging fail Lucene, SPI does not exist Exception

    Stack Overflow | 1 year ago | Thodoris T.
    java.util.ServiceConfigurationError: Cannot instantiate SPI class: org.apache.lucene.codecs.lucene53.Lucene53Codec
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Hronom 16 times, last 4 months ago
  2. maxxi 4 times, last 8 months ago
8 unregistered visitors
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.ClassCastException

    class org.apache.lucene.codecs.lucene50.Lucene50PostingsFormat

    at java.lang.Class.asSubclass()
  2. Java RT
    Class.asSubclass
    1. java.lang.Class.asSubclass(Class.java:3404)
    1 frame
  3. Lucene
    PostingsFormat.forName
    1. org.apache.lucene.util.SPIClassIterator.next(SPIClassIterator.java:158)
    2. org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:70)
    3. org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:51)
    4. org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:38)
    5. org.apache.lucene.codecs.PostingsFormat$Holder.<clinit>(PostingsFormat.java:49)
    6. org.apache.lucene.codecs.PostingsFormat.forName(PostingsFormat.java:112)
    6 frames
  4. org.apache.lucene
    Lucene54Codec.<init>
    1. org.apache.lucene.codecs.lucene54.Lucene54Codec.<init>(Lucene54Codec.java:161)
    2. org.apache.lucene.codecs.lucene54.Lucene54Codec.<init>(Lucene54Codec.java:81)
    2 frames
  5. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    5. java.lang.Class.newInstance(Class.java:442)
    5 frames
  6. Lucene
    IndexWriterConfig.<init>
    1. org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:72)
    2. org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:49)
    3. org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:38)
    4. org.apache.lucene.codecs.Codec$Holder.<clinit>(Codec.java:47)
    5. org.apache.lucene.codecs.Codec.getDefault(Codec.java:140)
    6. org.apache.lucene.index.LiveIndexWriterConfig.<init>(LiveIndexWriterConfig.java:120)
    7. org.apache.lucene.index.IndexWriterConfig.<init>(IndexWriterConfig.java:140)
    7 frames
  7. 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
  8. 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
  9. Search Support
    InternalSearchUI$InternalSearchJob.run
    1. org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:92)
    1 frame
  10. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    1 frame