java.lang.ExceptionInInitializerError: This exception has no message.


Solutions on the web3

Solution icon of web
This exception has no message.

Solution icon of stackoverflow
via Stack Overflow by Rallenaldo
, 1 year ago
This exception has no message.

Solution icon of stackoverflow
This exception has no message.

Stack trace

java.lang.ExceptionInInitializerError
	at org.apache.lucene.codecs.PostingsFormat.forName(PostingsFormat.java:112)
	at org.apache.lucene.codecs.lucene54.Lucene54Codec.<init>(Lucene54Codec.java:161)
	at org.apache.lucene.codecs.lucene54.Lucene54Codec.<init>(Lucene54Codec.java:81)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:72)
	at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:49)
	at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:38)
	at org.apache.lucene.codecs.Codec$Holder.<clinit>(Codec.java:47)
	at org.apache.lucene.codecs.Codec.getDefault(Codec.java:140)
	at org.apache.lucene.index.LiveIndexWriterConfig.<init>(LiveIndexWriterConfig.java:120)
	at org.apache.lucene.index.IndexWriterConfig.<init>(IndexWriterConfig.java:140)
	at org.python.pydev.shared_core.index.IndexApi.init(IndexApi.java:100)
	at org.python.pydev.shared_core.index.IndexApi.<init>(IndexApi.java:82)
	at org.python.pydev.shared_core.index.IndexApi.<init>(IndexApi.java:95)
	at com.python.pydev.analysis.additionalinfo.ReferenceSearchesLucene.internalSearch(ReferenceSearchesLucene.java:157)
	at com.python.pydev.analysis.additionalinfo.ReferenceSearchesLucene.search(ReferenceSearchesLucene.java:94)
	at com.python.pydev.analysis.search_index.PySearchIndexQuery.run(PySearchIndexQuery.java:84)
	at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:92)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.ClassCastException: class org.apache.lucene.codecs.lucene50.Lucene50PostingsFormat
	at java.lang.Class.asSubclass(Class.java:3404)
	at org.apache.lucene.util.SPIClassIterator.next(SPIClassIterator.java:158)
	at org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:70)
	at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:51)
	at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:38)
	at org.apache.lucene.codecs.PostingsFormat$Holder.<clinit>(PostingsFormat.java:49)
	... 23 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

12 times, 1 month ago
16 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 more bugmates