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 GitHub by olee
, 1 year ago
Bad type on operand stack Exception Details: Location: vazkii/botania/common/entity/EntityDoppleganger.func_70636_d()V @2068: invokevirtual Reason: Type 'java/lang/Object' (current frame, stack[0]) is not assignable to 'net/minecraft
java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    vazkii/botania/common/entity/EntityDoppleganger.func_70636_d()V @2068: invokevirtual
  Reason:
    Type 'java/lang/Object' (current frame, stack[0]) is not assignable to 'net/minecraft/entity/EntityLiving'
  Current Frame:
    bci: @2068
    flags: { }
    locals: { 'vazkii/botania/common/entity/EntityDoppleganger', integer, 'net/minecraft/util/BlockPos', integer, float, 'java/util/List', integer, integer, integer, integer, integer, integer, integer, integer, 'java/lang/Object' }
    stack: { 'java/lang/Object', double, double_2nd, double, double_2nd, double, double_2nd }	at vazkii.botania.common.block.ModMultiblocks.init(ModMultiblocks.java:30)	at vazkii.botania.common.core.proxy.CommonProxy.preInit(CommonProxy.java:113)	at vazkii.botania.common.Botania.preInit(Botania.java:81)	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:498)	at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)	at com.google.common.eventbus.EventBus.post(EventBus.java:275)	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)	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:498)	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)	at com.google.common.eventbus.EventBus.post(EventBus.java:275)	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)	at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88)	at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320)	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:112)	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441)	at java.lang.Thread.run(Thread.java:745)