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

Solutions on the web

via GitHub by ddhodapkar
, 1 year ago
This exception has no message.
java.lang.UnsupportedOperationException: can't load this type of class file
at java.lang.ClassLoader.defineClass(ClassLoader.java:300)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at org.assertj.core.internal.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
at org.assertj.core.internal.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
at org.assertj.core.internal.cglib.core.KeyFactory$Generator.create(KeyFactory.java:144)
at org.assertj.core.internal.cglib.core.KeyFactory.create(KeyFactory.java:116)
at org.assertj.core.internal.cglib.core.KeyFactory.create(KeyFactory.java:108)
at org.assertj.core.internal.cglib.core.KeyFactory.create(KeyFactory.java:104)
at org.assertj.core.internal.cglib.proxy.Enhancer.(Enhancer.java:69)
at org.assertj.core.api.SoftProxies.create(SoftProxies.java:34)
at org.assertj.core.api.AbstractSoftAssertions.proxy(AbstractSoftAssertions.java:28)
at org.assertj.core.api.Java6AbstractStandardSoftAssertions.assertThat(Java6AbstractStandardSoftAssertions.java:452)
at com.groupon.test.rc.tests.Java6AssertTest.testSoftAssertions(Java6AssertTest.java:48)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

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, 2 years ago

Write tip

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