junit.framework.AssertionFailedError: Exception in constructor: testDisplay (java.lang.NoClassDefFoundError: com_cenqua_clover.CoverageRecorder

atlassian.com | 8 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

    java.lang.NoClassDefFoundError: com_cenqua_clover.CoverageRecorder - Atlassian Answers

    atlassian.com | 8 months ago
    junit.framework.AssertionFailedError: Exception in constructor: testDisplay (java.lang.NoClassDefFoundError: com_cenqua_clover.CoverageRecorder

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      Exception in constructor: testDisplay (java.lang.NoClassDefFoundError: com_cenqua_clover.CoverageRecorder

      at com.example.hello.test.helloWorldTest.<init>()
    2. com.example.hello
      helloWorldTest.<init>
      1. com.example.hello.test.helloWorldTest.<init>(helloWorldTest.java:24)
      1 frame
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
      2 frames
    4. JUnit
      BaseTestRunner.getTest
      1. junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:118)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.test.AndroidTestRunner.getTest(AndroidTestRunner.java:148)
      2. android.test.AndroidTestRunner.setTestClassName(AndroidTestRunner.java:56)
      3. android.test.suitebuilder.TestSuiteBuilder.addTestClassByName(TestSuiteBuilder.java:80)
      4. android.test.InstrumentationTestRunner.parseTestClass(InstrumentationTestRunner.java:444)
      5. android.test.InstrumentationTestRunner.parseTestClasses(InstrumentationTestRunner.java:425)
      6. android.test.InstrumentationTestRunner.onCreate(InstrumentationTestRunner.java:370)
      7. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4142)
      8. android.app.ActivityThread.access$1300(ActivityThread.java:130)
      9. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1255)
      10. android.os.Handler.dispatchMessage(Handler.java:99)
      11. android.os.Looper.loop(Looper.java:137)
      12. android.app.ActivityThread.main(ActivityThread.java:4745)
      12 frames
    6. Java RT
      Method.invokeNative
      1. java.lang.reflect.Method.invokeNative(Native Method)
      1 frame
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
      2 frames
    8. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame