java.lang.ExceptionInInitializerError

This exception has no message.


Samebug tips6

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web8354

Solution icon of terracotta
This exception has no message.

Solution icon of terracotta
via Terracotta by hashcode, 1 year ago
This exception has no message.

Solution icon of terracotta
This exception has no message.

Solution icon of terracotta
via Terracotta by efremov, 1 year ago
This exception has no message.

Solution icon of terracotta
This exception has no message.

Solution icon of terracotta
via Terracotta by babuvaha, 1 year ago
This exception has no message.

Solution icon of terracotta
via Terracotta by rustum, 1 year ago
This exception has no message.

Solution icon of terracotta
via Terracotta by acs, 1 year ago
This exception has no message.

Solution icon of terracotta
via Terracotta by vinnie, 1 year ago
This exception has no message.

Solution icon of terracotta
via Terracotta by agp, 1 year ago
This exception has no message.

Stack trace

  • java.lang.ExceptionInInitializerError at edu.stanford.nlp.tagger.maxent.MaxentTagger.<clinit>(MaxentTagger.java:224) Caused by: java.lang.IllegalStateException: Could not find SLF4J in your classpath at edu.stanford.nlp.util.logging.RedwoodConfiguration$Handlers.lambda$static$530(RedwoodConfiguration.java:190) at edu.stanford.nlp.util.logging.RedwoodConfiguration$Handlers$7.buildChain(RedwoodConfiguration.java:309) at edu.stanford.nlp.util.logging.RedwoodConfiguration$Handlers$7.apply(RedwoodConfiguration.java:318) at edu.stanford.nlp.util.logging.RedwoodConfiguration.lambda$handlers$535(RedwoodConfiguration.java:363) at edu.stanford.nlp.util.logging.RedwoodConfiguration.apply(RedwoodConfiguration.java:41) at edu.stanford.nlp.util.logging.Redwood.<clinit>(Redwood.java:609) ... 1 more Caused by: edu.stanford.nlp.util.MetaClass$ClassCreationException: java.lang.ClassNotFoundException: edu.stanford.nlp.util.logging.SLF4JHandler at edu.stanford.nlp.util.MetaClass.createFactory(MetaClass.java:364) at edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:381) at edu.stanford.nlp.util.logging.RedwoodConfiguration$Handlers.lambda$static$530(RedwoodConfiguration.java:186) ... 6 more Caused by: java.lang.ClassNotFoundException: edu.stanford.nlp.util.logging.SLF4JHandler at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at edu.stanford.nlp.util.MetaClass$ClassFactory.construct(MetaClass.java:135) at edu.stanford.nlp.util.MetaClass$ClassFactory.<init>(MetaClass.java:202) at edu.stanford.nlp.util.MetaClass$ClassFactory.<init>(MetaClass.java:69) at edu.stanford.nlp.util.MetaClass.createFactory(MetaClass.java:360)

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

3 times, 3 days ago
2 times, 2 months ago
Once, 2 months ago
2 times, 2 months ago
95 times, 3 months ago
1681 more bugmates