java.lang.RuntimeException: Failed to backport class: me/tatarka/sample/app/test/MainActivityInstrumentationTest

GitHub | lgawin | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 210#250274188

    GitHub | 6 months ago | lgawin
    java.lang.RuntimeException: Failed to backport class: me/tatarka/sample/app/test/MainActivityInstrumentationTest
  2. 0

    java.lang.RuntimeException: Failed to backport class: com/myapp/android/rx/RxLogger

    GitHub | 2 months ago | vanniktech
    java.lang.RuntimeException: Failed to backport class: com/myapp/android/rx/RxLogger
  3. 0

    Sometimes ClassNotFound exception: android.support.v4.app.Fragment

    GitHub | 1 year ago | alosich
    java.lang.RuntimeException: java.lang.TypeNotPresentException: Type android.support.v4.app.Fragment not present 13:41:05.795 [INFO] [system.out] at net.orfjackal.retrolambda.lambdas.LambdaReifier.reifyLambdaClass(LambdaReifier.java:42) 13:41:05.795 [INFO] [system.out] at net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations$InvokeDynamicInsnConverter.backportLambda(BackportLambdaInvocations.java:118) 13:41:05.795 [INFO] [system.out] at net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations$InvokeDynamicInsnConverter.visitInvokeDynamicInsn(BackportLambdaInvocations.java:107) 13:41:05.795 [INFO] [system.out] at net.orfjackal.retrolambda.asm.ClassReader.readCode(ClassReader.java:1452) 13:41:05.795 [INFO] [system.out] at net.orfjackal.retrolambda.asm.ClassReader.readMethod(ClassReader.java:1017) 13:41:05.795 [INFO] [system.out] at net.orfjackal.retrolambda.asm.ClassReader.accept(ClassReader.java:693) 13:41:05.795 [INFO] [system.out] at net.orfjackal.retrolambda.asm.ClassReader.accept(ClassReader.java:506)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 37#91391070

    GitHub | 2 years ago | osayilgan
    java.lang.RuntimeException: java.lang.IllegalAccessException: no such method: com.myapp.android.view.history.HistoryActivity.lambda$onBackPressed$39()void/invokeSpecial
  6. 0

    trouble with support lib

    GitHub | 2 years ago | tagantroy
    java.lang.NoClassDefFoundError: android/support/v4/app/ActivityCompatApi23$RequestPermissionsRequestCodeValidator
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.ClassNotFoundException

    android.support.test.espresso.ViewAssertion

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    3 frames
  3. net.orfjackal.retrolambda
    NonDelegatingClassLoader.loadClass
    1. net.orfjackal.retrolambda.NonDelegatingClassLoader.loadClass(NonDelegatingClassLoader.java:27)
    1 frame
  4. Java RT
    MethodType.fromMethodDescriptorString
    1. sun.invoke.util.BytecodeDescriptor.parseSig(BytecodeDescriptor.java:83)
    2. sun.invoke.util.BytecodeDescriptor.parseMethod(BytecodeDescriptor.java:63)
    3. sun.invoke.util.BytecodeDescriptor.parseMethod(BytecodeDescriptor.java:41)
    4. java.lang.invoke.MethodType.fromMethodDescriptorString(MethodType.java:1067)
    4 frames
  5. net.orfjackal.retrolambda
    Main.main
    1. net.orfjackal.retrolambda.lambdas.Types.toMethodType(Types.java:33)
    2. net.orfjackal.retrolambda.lambdas.LambdaReifier.callBootstrapMethod(LambdaReifier.java:104)
    3. net.orfjackal.retrolambda.lambdas.LambdaReifier.reifyLambdaClass(LambdaReifier.java:37)
    4. net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations$InvokeDynamicInsnConverter.backportLambda(BackportLambdaInvocations.java:171)
    5. net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations$InvokeDynamicInsnConverter.visitInvokeDynamicInsn(BackportLambdaInvocations.java:160)
    6. net.orfjackal.retrolambda.asm.ClassReader.readCode(ClassReader.java:1452)
    7. net.orfjackal.retrolambda.asm.ClassReader.readMethod(ClassReader.java:1017)
    8. net.orfjackal.retrolambda.asm.ClassReader.accept(ClassReader.java:693)
    9. net.orfjackal.retrolambda.asm.ClassReader.accept(ClassReader.java:506)
    10. net.orfjackal.retrolambda.Transformers.lambda$transform$5(Transformers.java:107)
    11. net.orfjackal.retrolambda.Transformers.transform(Transformers.java:124)
    12. net.orfjackal.retrolambda.Transformers.transform(Transformers.java:107)
    13. net.orfjackal.retrolambda.Transformers.backportClass(Transformers.java:47)
    14. net.orfjackal.retrolambda.Retrolambda.run(Retrolambda.java:77)
    15. net.orfjackal.retrolambda.Main.main(Main.java:26)
    15 frames