WorldGuard

WorldGuard

8M Downloads

ClassCastException DoubleChest

LadyCailinBot opened this issue ยท 6 comments

commented

WORLDGUARD-3607 - Reported by MarcoCount

[09:10:07] [Server thread/ERROR]: Could not pass event InventoryMoveItemEvent to WorldGuard v${project.version}
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at net.minecraft.server.v1_8_R3.TileEntityHopper.r(TileEntityHopper.java:266) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at net.minecraft.server.v1_8_R3.TileEntityHopper.m(TileEntityHopper.java:189) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at net.minecraft.server.v1_8_R3.TileEntityHopper.c(TileEntityHopper.java:177) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1488) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:597) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:786) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
Caused by: java.lang.ClassCastException: org.bukkit.block.DoubleChest cannot be cast to org.bukkit.block.BlockState
at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.handleInventoryHolderUse(EventAbstractionListener.java:911) ~[?:?]
at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onInventoryMoveItem(EventAbstractionListener.java:770) ~[?:?]
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-24-12-15.jar:git-Spigot-db6de12-d3e0b6f]

commented

Comment by wizjany

did you build this yourself? pretty sure our build script is replacing the version just fine.
can you post the entire log? the important part of the error is missing

commented
commented

Comment by MarcoCount

In any case sorry. Wrong copy, paste.
Full exception:
http://pastebin.com/pjmX2xPL

commented

Comment by wizjany

definitely on the server end. the issue's been around randomly for ages so I don't really know if it's a minecraft thing or spigot or what. either way I will need to look into why it's not versioning the plugin correctly, but that's another matter.

commented

Comment by MarcoCount

Can you please avoid my console to be spammed with instanceof ?
It would be really great

commented

Comment by wizjany

I don't know. the server seems to be violating its contract, or it changed its API in non-backwards compatible ways. possibly has to do with fake inventories, but i have seen them working for other people.