java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap

Google Groups | Andriy Matkivskiy | 4 months ago
  1. 0

    How to test Android Intent?

    Google Groups | 4 months ago | Andriy Matkivskiy
    java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap
  2. 0

    java.lang.NoClassDefFoundError: ...InstrumentingClassLoader

    Google Groups | 1 year ago | Christine
    java.lang.NoClassDefFoundError: Could not initialize class org.robolectric.internal.bytecode.InstrumentingClassLoader
  3. 0

    Cannot run tests with sdk < 21 anymore

    GitHub | 5 months ago | WonderCsabo
    java.lang.NoClassDefFoundError: android/content/pm/PackageInstaller
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1766#194513038

    GitHub | 9 months ago | ssoliwal
    java.lang.NoClassDefFoundError: android/content/pm/PackageInstaller
  6. 0

    Newbie needs assistance with AI4A error message

    Google Groups | 4 years ago | Scott Ferguson
    java.lang.NoClassDefFoundError: com/google/common/col lect/ImmutableMap

    1 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.lang.NoClassDefFoundError

      com/google/common/collect/ImmutableMap

      at org.robolectric.internal.bytecode.InstrumentationConfiguration.<init>()
    2. Roboelectric
      RobolectricTestRunner.runChild
      1. org.robolectric.internal.bytecode.InstrumentationConfiguration.<init>(InstrumentationConfiguration.java:173)
      2. org.robolectric.internal.bytecode.InstrumentationConfiguration.<init>(InstrumentationConfiguration.java:32)
      3. org.robolectric.internal.bytecode.InstrumentationConfiguration$Builder.build(InstrumentationConfiguration.java:155)
      4. org.robolectric.RobolectricTestRunner.createClassLoaderConfig(RobolectricTestRunner.java:120)
      5. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:174)
      6. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:49)
      6 frames
    3. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      5 frames
    4. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:142)
      1 frame
    5. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      1 frame
    6. org.gradle.api
      SuiteTestClassProcessor.processTestClass
      1. org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
      2. org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
      3. org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
      4. org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:49)
      4 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    8. Gradle Core
      ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
      1. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      2. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      3. org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
      4. org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      4 frames
    9. com.sun.proxy
      $Proxy2.processTestClass
      1. com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
      1 frame
    10. org.gradle.api
      TestWorker.processTestClass
      1. org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    12. Gradle Core
      ReflectionDispatch.dispatch
      1. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      2. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      2 frames
    13. org.gradle.messaging
      MessageHub$Handler.run
      1. org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
      1 frame
    14. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      2. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      2 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames