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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

,
Expert tip

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}

Solutions on the web

java.lang.ExceptionInInitializerError:
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at gw.config.CommonServices.getDefaultFileSystemInstance(CommonServices.java:69)
at gw.config.CommonServices.defineServices(CommonServices.java:41)
at gw.config.ServiceKernel.resetKernel(ServiceKernel.java:33)
at gw.config.ServiceKernel.(ServiceKernel.java:24)
at gw.config.CommonServices.(CommonServices.java:25)
at gw.config.CommonServices.(CommonServices.java:20)
at gw.lang.reflect.TypeSystem.getCurrentModule(TypeSystem.java:656)
at gw.lang.Gosu.setClasspath(Gosu.java:203)
at gw.lang.Gosu.init(Gosu.java:270)
at gw.lang.Gosu.start(Gosu.java:87)
at gw.lang.Gosu.main(Gosu.java:50)

Users with the same issue

6 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 6 days ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1736 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.