java.lang.IllegalArgumentException

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,
  • Bytes don't hurt
    via by Unknown author,
  • Mockito: some tests fail on N5
    via GitHub by ARNdroid
    ,
  • Bytes don't hurt: Using Mockito on Android
    via by Unknown author,
  • Android+mockitoが動かなかった - Qiita
    via by Unknown author,
  • Mockito + Dexmaker on Android
    via by Unknown author,
  • Mockito + Dexmaker on Android
    via Stack Overflow by stevo.mit
    ,
    • java.lang.IllegalArgumentException: dexcache == null (and no default could be found; consider setting the ‘dexmaker.dexcache’ system property) at com.google.dexmaker.DexMaker.generateAndLoad(DexMaker.java:359) at com.google.dexmaker.stock.ProxyBuilder.buildProxyClass(ProxyBuilder.java:252) at com.google.dexmaker.mockito.DexmakerMockMaker.createMock(DexmakerMockMaker.java:56) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:26) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:51) at org.mockito.Mockito.mock(Mockito.java:1243) at org.mockito.Mockito.mock(Mockito.java:1120) at testAdd.test1(testAdd.java:25) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,