java.lang.ClassNotFoundException: AnnotationDatabaseImpl

Stack Overflow | jonney | 6 days ago
  1. 0

    RoboGuice android injection module not working in test

    Stack Overflow | 6 days ago | jonney
    java.lang.ClassNotFoundException: AnnotationDatabaseImpl
  2. 0

    java.lang.IllegalStateException: Unable to use annotation database(s)

    GitHub | 8 months ago | micsay
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mmy_pc.qrcode/com.example.mmy_pc.qrcode.MainActivity}: java.lang.IllegalStateException: Unable to use annotation database(s)
  3. 0

    java.lang.ClassNotFoundException: AnnotationDatabaseImpl

    GitHub | 2 years ago | elioth010
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bytesw.perfil/com.bytesw.perfil.view.activity.AutenticacionActivity}: java.lang.IllegalStateException: Unable to use annotation database(s)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    trouble setting project up with gradle in androidstudio

    GitHub | 2 years ago | simonides
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.testroboguice/com.example.testroboguice.MainActivity}: java.lang.IllegalStateException: Unable to use annotation database(s)
  6. 0

    Robolectric fails to run tests with google play services (maps)

    Stack Overflow | 3 years ago | alex
    java.lang.ClassNotFoundException: com.google.android.gms.maps.model.LatLng

    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

      AnnotationDatabaseImpl

      at org.robolectric.bytecode.AsmInstrumentingClassLoader.getByteCode()
    2. org.robolectric.bytecode
      AsmInstrumentingClassLoader.loadClass
      1. org.robolectric.bytecode.AsmInstrumentingClassLoader.getByteCode(AsmInstrumentingClassLoader.java:172)
      2. org.robolectric.bytecode.AsmInstrumentingClassLoader.findClass(AsmInstrumentingClassLoader.java:126)
      3. org.robolectric.bytecode.AsmInstrumentingClassLoader.loadClass(AsmInstrumentingClassLoader.java:98)
      3 frames
    3. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:191)
      2 frames
    4. Google Guice - Core Library
      Guice.setAnnotationDatabasePackageNames
      1. com.google.inject.AnnotationDatabaseFinder.getAnnotationDatabaseInstance(AnnotationDatabaseFinder.java:73)
      2. com.google.inject.AnnotationDatabaseFinder.<init>(AnnotationDatabaseFinder.java:36)
      3. com.google.inject.Guice.setAnnotationDatabasePackageNames(Guice.java:133)
      3 frames
    5. RoboGuice
      RoboGuice.getOrCreateBaseApplicationInjector
      1. roboguice.RoboGuice.initializeAnnotationDatabaseFinderAndHierarchyTraversalFilterFactory(RoboGuice.java:288)
      2. roboguice.RoboGuice.getOrCreateBaseApplicationInjector(RoboGuice.java:113)
      2 frames
    6. com.jr
      AppApplicationTest.attachBaseContext
      1. com.jr.AppApplicationTest.configureModuleInjection(AppApplicationTest.java:33)
      2. com.jr.AppApplicationTest.attachBaseContext(AppApplicationTest.java:20)
      2 frames
    7. Android Platform
      Application.attach
      1. android.app.Application.$$robo$$Application_0b64_attach(Application.java:181)
      2. android.app.Application.attach(Application.java)
      2 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    9. Roboelectric
      RobolectricTestRunner$2.evaluate
      1. org.robolectric.internal.ReflectionHelpers$3.run(ReflectionHelpers.java:64)
      2. org.robolectric.internal.ReflectionHelpers.traverseClassHierarchy(ReflectionHelpers.java:114)
      3. org.robolectric.internal.ReflectionHelpers.callInstanceMethodReflectively(ReflectionHelpers.java:59)
      4. org.robolectric.internal.ParallelUniverse.setUpApplicationState(ParallelUniverse.java:119)
      5. org.robolectric.RobolectricTestRunner.setUpApplicationState(RobolectricTestRunner.java:440)
      6. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:222)
      6 frames
    10. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      8 frames
    11. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:158)
      1 frame
    12. JUnit
      JUnitCore.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      2. org.junit.runners.Suite.runChild(Suite.java:128)
      3. org.junit.runners.Suite.runChild(Suite.java:27)
      4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      9. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      10. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      10 frames
    13. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
      1 frame
    14. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      2 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    16. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame