java.lang.IllegalArgumentException: dexcache == null (and no default could be found; consider setting the ‘dexmaker.dexcache’ system property)

paulbutcher.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Mockito on Android step-by-step | Paul Butcher

    paulbutcher.com | 1 year ago
    java.lang.IllegalArgumentException: dexcache == null (and no default could be found; consider setting the ‘dexmaker.dexcache’ system property)
  2. 0

    Mockito on Android step-by-step | Paul Butcher

    paulbutcher.com | 6 months ago
    java.lang.IllegalArgumentException: dexcache == null (and no default could be found; consider setting the ‘dexmaker.dexcache’ system property)
  3. 0

    Issue 2 - dexmaker - dexcache == null (and no default could be found; consider setting the 'dexmaker.dexcache' system property) - Programmatic code generation for Android. - Google Project Hosting

    google.com | 1 year ago
    java.lang.IllegalArgumentException: dexcache == null (and no default could be found; consider setting the 'dexmaker.dexcache' system property)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bytes don't hurt

    blogspot.com | 1 year ago
    java.lang.IllegalArgumentException: dexcache == null (and no default could be found; consider setting the 'dexmaker.dexcache' system property)
  6. 0

    Mockito: some tests fail on N5

    GitHub | 2 years ago | ARNdroid
    java.lang.IllegalArgumentException: dexcache == null (and no default could be found; consider setting the 'dexmaker.dexcache' system property)

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      dexcache == null (and no default could be found; consider setting the ‘dexmaker.dexcache’ system property)

      at com.google.dexmaker.DexMaker.generateAndLoad()
    2. dexmaker
      ProxyBuilder.buildProxyClass
      1. com.google.dexmaker.DexMaker.generateAndLoad(DexMaker.java:359)
      2. com.google.dexmaker.stock.ProxyBuilder.buildProxyClass(ProxyBuilder.java:252)
      2 frames
    3. dexmaker mockito
      DexmakerMockMaker.createMock
      1. com.google.dexmaker.mockito.DexmakerMockMaker.createMock(DexmakerMockMaker.java:56)
      1 frame
    4. Mockito
      Mockito.mock
      1. org.mockito.internal.util.MockUtil.createMock(MockUtil.java:26)
      2. org.mockito.internal.MockitoCore.mock(MockitoCore.java:51)
      3. org.mockito.Mockito.mock(Mockito.java:1243)
      4. org.mockito.Mockito.mock(Mockito.java:1120)
      4 frames
    5. Unknown
      testAdd.test1
      1. testAdd.test1(testAdd.java:25)
      1 frame
    6. Java RT
      Method.invokeNative
      1. java.lang.reflect.Method.invokeNative(Native Method)
      1 frame
    7. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
      2. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
      3. android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
      4. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
      4 frames