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

via Google Groups by Michael Grafton, 1 year ago
call site initialization exception
via GitHub by tonimark
, 4 months ago
call site initialization exception
java.lang.BootstrapMethodError: call site initialization exception at java.lang.invoke.CallSite.makeSite(CallSite.java:341) at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307) at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297) at com.android.internal.util.GrowingArrayUtils.insert(GrowingArrayUtils.java:135) at android.util.SparseIntArray.put(SparseIntArray.java:143) at android.view.RenderNodeAnimator$1.__constructor__(RenderNodeAnimator.java:68) at android.view.RenderNodeAnimator$1.<init>(RenderNodeAnimator.java) at android.view.RenderNodeAnimator.__staticInitializer__(RenderNodeAnimator.java:67) 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.<clinit>(RenderNodeAnimator.java) at sun.misc.Unsafe.ensureClassInitialized(Native Method) 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.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 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.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)Caused by: java.lang.AssertionError: java.lang.IllegalAccessException: no such method: org.robolectric.shadows.ShadowWindow.create(Context)Window/invokeStatic at org.robolectric.internal.bytecode.Intrinsics$Impl.<clinit>(Intrinsics.java:83) 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.<init>(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.<clinit>(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.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 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.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74) 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) ... 1 moreCaused by: java.lang.IllegalAccessException: no such method: org.robolectric.shadows.ShadowWindow.create(Context)Window/invokeStatic at java.lang.invoke.MemberName.makeAccessException(MemberName.java:869) at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:990) at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1382) at java.lang.invoke.MethodHandles$Lookup.findStatic(MethodHandles.java:777) at org.robolectric.internal.bytecode.Intrinsics$Impl.<clinit>(Intrinsics.java:81) ... 51 moreCaused by: java.lang.NoClassDefFoundError: com/android/internal/policy/PhoneWindow 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) ... 54 moreCaused by: java.lang.ClassNotFoundException: com.android.internal.policy.PhoneWindow at org.robolectric.internal.bytecode.InstrumentingClassLoader.getByteCode(InstrumentingClassLoader.java:192) at org.robolectric.internal.bytecode.InstrumentingClassLoader.findClass(InstrumentingClassLoader.java:147) at org.robolectric.internal.bytecode.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:122) ... 57 more