java.lang.BootstrapMethodError: call site initialization exception

Google Groups | Michael Grafton | 10 months ago
  1. 0

    3.1 release?

    Google Groups | 10 months ago | Michael Grafton
    java.lang.BootstrapMethodError: call site initialization exception
  2. 0

    Testing NoClassDefFoundError rx/Observable$OnSubscribe

    Stack Overflow | 4 months ago | MAOL
    java.lang.NoClassDefFoundError: rx/Observable$OnSubscribe
  3. 0

    GitHub comment 2613#240414514

    GitHub | 4 months ago | jongerrish
    java.lang.NoClassDefFoundError: org/robolectric/shadows/ShadowContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoClassDefFoundError when trying to test Android app with Gradle, Robolectric and Travis CI

    Stack Overflow | 2 years ago | a11n
    java.lang.ClassNotFoundException: android.support.v4.view.OnApplyWindowInsetsListener
  6. 0

    Robolectric 3.0: How can I work around InflateException "Error inflating class RecyclerView"

    Stack Overflow | 2 years ago | G. Lombard
    android.view.InflateException: XML file /private/tmp/deckard-gradle/build/intermediates/res/debug/layout/deckard.xml line #-1 (sorry, not yet implemented): Error inflating class RecyclerView

    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.lang.ClassNotFoundException

      com.android.internal.policy.PhoneWindow

      at org.robolectric.internal.bytecode.InstrumentingClassLoader.getByteCode()
    2. Roboelectric
      InstrumentingClassLoader.loadClass
      1. org.robolectric.internal.bytecode.InstrumentingClassLoader.getByteCode(InstrumentingClassLoader.java:192)
      2. org.robolectric.internal.bytecode.InstrumentingClassLoader.findClass(InstrumentingClassLoader.java:147)
      3. org.robolectric.internal.bytecode.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:122)
      3 frames
    3. Java RT
      MethodHandles$Lookup.findStatic
      1. java.lang.invoke.MethodHandleNatives.resolve(Native Method)
      2. java.lang.invoke.MemberName$Factory.resolve(MemberName.java:962)
      3. java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:987)
      4. java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1382)
      5. java.lang.invoke.MethodHandles$Lookup.findStatic(MethodHandles.java:777)
      5 frames
    4. Roboelectric
      InvokeDynamicSupport.bootstrapIntrinsic
      1. org.robolectric.internal.bytecode.Intrinsics$Impl.<clinit>(Intrinsics.java:81)
      2. org.robolectric.internal.bytecode.InvokeDynamicSupport.bootstrapIntrinsic(InvokeDynamicSupport.java:77)
      2 frames
    5. Java RT
      MethodHandleNatives.linkCallSite
      1. java.lang.invoke.CallSite.makeSite(CallSite.java:294)
      2. java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)
      3. java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)
      3 frames
    6. Android Platform
      RenderNodeAnimator.__staticInitializer__
      1. com.android.internal.util.GrowingArrayUtils.$$robo$$insert(GrowingArrayUtils.java:135)
      2. com.android.internal.util.GrowingArrayUtils.insert(GrowingArrayUtils.java)
      3. android.util.SparseIntArray.$$robo$$put(SparseIntArray.java:143)
      4. android.util.SparseIntArray.put(SparseIntArray.java)
      5. android.view.RenderNodeAnimator$1.$$robo$$__constructor__(RenderNodeAnimator.java:68)
      6. android.view.RenderNodeAnimator$1.<init>(RenderNodeAnimator.java)
      7. android.view.RenderNodeAnimator.__staticInitializer__(RenderNodeAnimator.java:67)
      7 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. Roboelectric
      RobolectricInternals.classInitializing
      1. org.robolectric.util.ReflectionHelpers.callStaticMethod(ReflectionHelpers.java:226)
      2. org.robolectric.internal.bytecode.RobolectricInternals.performStaticInitialization(RobolectricInternals.java:54)
      3. org.robolectric.internal.bytecode.ShadowWrangler.classInitializing(ShadowWrangler.java:113)
      4. org.robolectric.internal.bytecode.RobolectricInternals.classInitializing(RobolectricInternals.java:18)
      4 frames
    9. Android Platform
      RenderNodeAnimator.<clinit>
      1. android.view.RenderNodeAnimator.<clinit>(RenderNodeAnimator.java)
      1 frame
    10. Java RT
      Field.set
      1. sun.misc.Unsafe.ensureClassInitialized(Native Method)
      2. sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
      3. sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:142)
      4. java.lang.reflect.Field.acquireFieldAccessor(Field.java:1088)
      5. java.lang.reflect.Field.getFieldAccessor(Field.java:1069)
      6. java.lang.reflect.Field.set(Field.java:764)
      6 frames
    11. Roboelectric
      ReflectionHelpers.setStaticField
      1. org.robolectric.util.ReflectionHelpers.setStaticField(ReflectionHelpers.java:121)
      2. org.robolectric.util.ReflectionHelpers.setStaticField(ReflectionHelpers.java:136)
      2 frames
    12. Roboelectric HTTP
      ShadowRenderNodeAnimator.reset
      1. org.robolectric.shadows.ShadowRenderNodeAnimator.reset(ShadowRenderNodeAnimator.java:33)
      1 frame
    13. Roboelectric
      RobolectricTestRunner.runChild
      1. org.robolectric.Shadows.reset(Shadows.java:1649)
      2. org.robolectric.Robolectric.reset(Robolectric.java:22)
      3. org.robolectric.internal.ParallelUniverse.resetStaticState(ParallelUniverse.java:52)
      4. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:240)
      5. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:188)
      6. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)
      6 frames
    14. 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
    15. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:154)
      1 frame
    16. JUnit
      JUnitCore.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      2. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      2 frames
    17. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
      1 frame
    18. 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
    19. 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
    20. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame