java.lang.VirtualMachineError

paulbutcher.com | 5 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 | 5 months ago
    java.lang.VirtualMachineError
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.VirtualMachineError

      No message provided

      at dalvik.system.DexFile.defineClass()
    2. Android Platform
      DexClassLoader.findClass
      1. dalvik.system.DexFile.defineClass(Native Method)
      2. dalvik.system.DexFile.loadClassBinaryName(DexFile.java:207)
      3. dalvik.system.DexFile.loadClass(DexFile.java:196)
      4. dalvik.system.DexClassLoader.findClass(DexClassLoader.java:226)
      4 frames
    3. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:551)
      2. java.lang.ClassLoader.loadClass(ClassLoader.java:511)
      2 frames
    4. dexmaker
      ProxyBuilder.buildProxyClass
      1. com.google.dexmaker.stock.ProxyBuilder.loadClass(ProxyBuilder.java:272)
      2. com.google.dexmaker.stock.ProxyBuilder.buildProxyClass(ProxyBuilder.java:254)
      2 frames
    5. dexmaker mockito
      DexmakerMockMaker.createMock
      1. com.google.dexmaker.mockito.DexmakerMockMaker.createMock(DexmakerMockMaker.java:54)
      1 frame
    6. Mockito
      Mockito.spy
      1. org.mockito.internal.util.MockUtil.createMock(MockUtil.java:26)
      2. org.mockito.internal.MockitoCore.mock(MockitoCore.java:49)
      3. org.mockito.Mockito.spy(Mockito.java:1324)
      3 frames
    7. com.company.droid
      SignupFragmentTest.setUp
      1. com.company.droid.helper.ActivitySandbox.setupActivity(ActivitySandbox.java:21)
      2. com.company.droid.ui.fragment.signup.SignupFragmentTest.setUp(SignupFragmentTest.java:50)
      2 frames
    8. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
      2. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
      3. android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
      4. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
      4 frames