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


Solutions on the web340

Solution icon of googlegroups
via Google Groups by tikiwade, 1 year ago
This exception has no message.

Solution icon of googlegroups
via Google Groups by Hontvári József, 1 year ago
This exception has no message.

Solution icon of oraclecommunity
via Oracle Community by 683556, 1 year ago
This exception has no message.

Solution icon of web
This exception has no message.

Solution icon of web
via csdn.net by Unknown author, 1 year ago
This exception has no message.

Solution icon of web
This exception has no message.

Solution icon of web
via aichengxu.com by Unknown author, 1 year ago
This exception has no message.

Solution icon of web
via w2bc.com by Unknown author, 1 year ago
This exception has no message.

Solution icon of coderanch
via Coderanch by Gaurav Sharma, 9 months ago
This exception has no message.

Solution icon of coderanch
via Coderanch by sridhar gandikota, 9 months ago
This exception has no message.

Stack trace

java.lang.ExceptionInInitializerError
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
	at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
	at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:29)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:25)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:40)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:30)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.IllegalStateException: No jar file with name ending 
in "jmockit.jar" or "jmockit-nnn.jar" (where "nnn" is a version number) 
found in the classpath
	at mockit.internal.startup.AgentInitialization.findPathToJarFileFromClasspath(AgentInitialization.java:61)
	at mockit.internal.startup.AgentInitialization.initializeAccordingToJDKVersion(AgentInitialization.java:36)
	at mockit.internal.startup.Startup.initializeIfNeeded(Startup.java:261)
	at mockit.integration.junit4.JMockit.<clinit>(JMockit.java:57)
	... 18 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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.