java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Mockito on Android step-by-step | Paul Butcher
    via by Unknown author,
  • Mockito on Android step-by-step | Paul Butcher
    via by Unknown author,
    • java.lang.ExceptionInInitializerError at com.example.warehousemanager.test.OrderTest.testInStock(OrderTest.java:13) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214) at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551) Caused by: java.lang.ExceptionInInitializerError at org.mockito.internal.MockitoCore.<init>(MockitoCore.java:40) at org.mockito.Mockito.<init>(Mockito.java:932)
    No Bugmate found.