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

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 paulbutcher.com by Unknown author, 1 year ago
dexcache == null (and no default could be found; consider setting thedexmaker.dexcachesystem property)
via blogspot.com by Unknown author, 2 years ago
dexcache == null (and no default could be found; consider setting the 'dexmaker.dexcache' system property)
via blogspot.com by Unknown author, 2 years ago
dexcache == null (and no default could be found; consider setting the 'dexmaker.dexcache' system property)
via GitHub by ARNdroid
, 2 years ago
dexcache == null (and no default could be found; consider setting the 'dexmaker.dexcache' system property)
via Google Groups by VRS, 6 months ago
via paulbutcher.com by Unknown author, 1 year ago
dexcache == null (and no default could be found; consider setting thedexmaker.dexcachesystem property)
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 org.mockito.internal.util.MockUtil.createMock(MockUtil.java:26)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:49)
at org.mockito.Mockito.mock(Mockito.java:1245)
at org.mockito.Mockito.mock(Mockito.java:1139)
at com.citrix.vpn.pool.test.Test1.testConnect(Test1.java:20)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:537)

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

Write tip

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