java.lang.BootstrapMethodError: call site initialization exception

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.BootstrapMethodError: call site initialization exception
at org.robolectric.internal.bytecode.InstrumentingClassLoader.getByteCode(InstrumentingClassLoader.java:192)
at org.robolectric.internal.bytecode.InstrumentingClassLoader.findClass(InstrumentingClassLoader.java:147)
at java.lang.invoke.MethodHandleNatives.resolve(Native Method)
at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:962)
at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:987)
at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1382)
at org.robolectric.internal.bytecode.Intrinsics$Impl.(Intrinsics.java:81)
at org.robolectric.internal.bytecode.InvokeDynamicSupport.bootstrapIntrinsic(InvokeDynamicSupport.java:77)
at java.lang.invoke.CallSite.makeSite(CallSite.java:294)
at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)
at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)
at com.android.internal.util.GrowingArrayUtils.$$robo$$insert(GrowingArrayUtils.java:135)
at com.android.internal.util.GrowingArrayUtils.insert(GrowingArrayUtils.java)
at android.util.SparseIntArray.$$robo$$put(SparseIntArray.java:143)
at android.util.SparseIntArray.put(SparseIntArray.java)
at android.view.RenderNodeAnimator$1.$$robo$$__constructor__(RenderNodeAnimator.java:68)
at android.view.RenderNodeAnimator$1.(RenderNodeAnimator.java)
at android.view.RenderNodeAnimator.__staticInitializer__(RenderNodeAnimator.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.robolectric.util.ReflectionHelpers.callStaticMethod(ReflectionHelpers.java:226)
at org.robolectric.internal.bytecode.RobolectricInternals.performStaticInitialization(RobolectricInternals.java:54)
at org.robolectric.internal.bytecode.ShadowWrangler.classInitializing(ShadowWrangler.java:113)
at org.robolectric.internal.bytecode.RobolectricInternals.classInitializing(RobolectricInternals.java:18)
at android.view.RenderNodeAnimator.(RenderNodeAnimator.java)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:142)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1088)
at java.lang.reflect.Field.getFieldAccessor(Field.java:1069)
at java.lang.reflect.Field.set(Field.java:764)
at org.robolectric.util.ReflectionHelpers.setStaticField(ReflectionHelpers.java:121)
at org.robolectric.util.ReflectionHelpers.setStaticField(ReflectionHelpers.java:136)
at org.robolectric.shadows.ShadowRenderNodeAnimator.reset(ShadowRenderNodeAnimator.java:33)
at org.robolectric.Shadows.reset(Shadows.java:1649)
at org.robolectric.Robolectric.reset(Robolectric.java:22)
at org.robolectric.internal.ParallelUniverse.resetStaticState(ParallelUniverse.java:52)
at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:240)
at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:188)
at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:154)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.