java.lang.NoClassDefFoundError: android/view/View

Stack Overflow | JM Lord | 2 years ago
  1. 0

    NoClassDefFoundError from Robolectric with ADT23 and Android 15

    Stack Overflow | 2 years ago | JM Lord
    java.lang.NoClassDefFoundError: android/view/View
  2. 0

    [Client/Agent] Instrumented method does not produce statistic, has exception

    GitHub | 8 months ago | dcransac
    java.lang.RuntimeException: java.io.IOException: invalid constant type: 15
  3. 0

    Problem running with Java 8

    GitHub | 2 years ago | syrinx2012
    java.lang.Error: Cannot initialize the application to take advantage of WOInject features.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Restcomm ussd gateway error

    Google Groups | 6 months ago | srinivas
    javax.management.MBeanException

    3 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.io.IOException

      invalid constant type: 15

      at javassist.bytecode.ConstPool.readOne()
    2. Javassist
      CtBehavior.insertBefore
      1. javassist.bytecode.ConstPool.readOne(ConstPool.java:1090)
      2. javassist.bytecode.ConstPool.read(ConstPool.java:1033)
      3. javassist.bytecode.ConstPool.<init>(ConstPool.java:149)
      4. javassist.bytecode.ClassFile.read(ClassFile.java:764)
      5. javassist.bytecode.ClassFile.<init>(ClassFile.java:108)
      6. javassist.CtClassType.getClassFile2(CtClassType.java:190)
      7. javassist.CtClassType.subtypeOf(CtClassType.java:303)
      8. javassist.compiler.MemberResolver.compareSignature(MemberResolver.java:247)
      9. javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:119)
      10. javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:96)
      11. javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:704)
      12. javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:681)
      13. javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:156)
      14. javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
      15. javassist.compiler.TypeChecker.atArrayInit(TypeChecker.java:185)
      16. javassist.compiler.ast.ArrayInit.accept(ArrayInit.java:28)
      17. javassist.compiler.TypeChecker.atNewArrayExpr(TypeChecker.java:161)
      18. javassist.compiler.TypeChecker.atNewExpr(TypeChecker.java:143)
      19. javassist.compiler.ast.NewExpr.accept(NewExpr.java:72)
      20. javassist.compiler.JvstTypeChecker.atMethodArgs(JvstTypeChecker.java:220)
      21. javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:702)
      22. javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:681)
      23. javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:156)
      24. javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
      25. javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:241)
      26. javassist.compiler.CodeGen.atStmnt(CodeGen.java:329)
      27. javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
      28. javassist.compiler.CodeGen.atStmnt(CodeGen.java:350)
      29. javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
      30. javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:390)
      31. javassist.compiler.CodeGen.atStmnt(CodeGen.java:354)
      32. javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
      33. javassist.compiler.CodeGen.atStmnt(CodeGen.java:350)
      34. javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
      35. javassist.compiler.Javac.compileStmnt(Javac.java:568)
      36. javassist.CtBehavior.insertBefore(CtBehavior.java:705)
      37. javassist.CtBehavior.insertBefore(CtBehavior.java:685)
      37 frames
    3. Robolectric
      AndroidTranslator.onLoad
      1. com.xtremelabs.robolectric.bytecode.AndroidTranslator.fixMethod(AndroidTranslator.java:321)
      2. com.xtremelabs.robolectric.bytecode.AndroidTranslator.fixMethods(AndroidTranslator.java:245)
      3. com.xtremelabs.robolectric.bytecode.AndroidTranslator.onLoad(AndroidTranslator.java:103)
      3 frames
    4. Javassist
      Loader.findClass
      1. javassist.Loader.findClass(Loader.java:340)
      1 frame
    5. Robolectric
      RobolectricClassLoader.findClass
      1. com.xtremelabs.robolectric.bytecode.RobolectricClassLoader.findClass(RobolectricClassLoader.java:82)
      1 frame
    6. Javassist
      Loader.loadClass
      1. javassist.Loader.loadClass(Loader.java:311)
      1 frame
    7. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      1 frame
    8. Robolectric
      RobolectricTestRunner.methodBlock
      1. com.xtremelabs.robolectric.bytecode.RobolectricClassLoader.loadClass(RobolectricClassLoader.java:59)
      2. com.xtremelabs.robolectric.RobolectricTestRunner.createResourceLoader(RobolectricTestRunner.java:502)
      3. com.xtremelabs.robolectric.RobolectricTestRunner.setupApplicationState(RobolectricTestRunner.java:357)
      4. com.xtremelabs.robolectric.RobolectricTestRunner.internalBeforeTest(RobolectricTestRunner.java:307)
      5. com.xtremelabs.robolectric.RobolectricTestRunner.methodBlock(RobolectricTestRunner.java:285)
      5 frames
    9. JUnit
      ParentRunner.run
      1. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
      2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
      3. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
      4. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
      5. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
      6. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
      7. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
      8. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      8 frames
    10. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    11. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames