SpoutDev/Spout — Issue #1040: Lock-up on Chest Item
Author: AbsoluteMonkey
Created: 2011-11-28 17:50:13+00:00
State: open

Server:
git-Bukkit-1.8.1-R4-16-g71a45b5-b1491jnks (MC: 1.0.0)
Spout 555

Issue:
When I log in and grab an item from a chest, regardless of the item I get the following error in the console on the server. After that the client is responsive, but the connection between the client and the server is not. Disconnect on the client side shows client still logged in server side. Trying to relog in does not work. Only way to fix on serverside is to stop the server and restart. Reload command provides other errors.
Also, server IS responsive during such time.

Output:

12:42:49 [INFO] [Spout] Successfully authenticated AbsoluteMonkey's Spoutcraft client. Running client version: 806
12:42:59 [SEVERE] java.lang.NoSuchMethodError: org.bukkit.craftbukkit.inventory.CraftItemStack.getEnchantments()Ljava/util/Map;
12:42:59 [SEVERE] at org.getspout.spout.inventory.SpoutCraftItemStack.fromItemStack(SpoutCraftItemStack.java:42)
12:42:59 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:323)
12:42:59 [SEVERE] at net.minecraft.server.Packet102WindowClick.a(SourceFile:28)
12:42:59 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
12:42:59 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
12:42:59 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:546)
12:42:59 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
12:42:59 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
12:42:59 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
12:42:59 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
12:42:59 [SEVERE] Unexpected exception
java.lang.NoSuchMethodError: org.bukkit.craftbukkit.inventory.CraftItemStack.getEnchantments()Ljava/util/Map;
at org.getspout.spout.inventory.SpoutCraftItemStack.fromItemStack(SpoutCraftItemStack.java:42)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:323)
at net.minecraft.server.Packet102WindowClick.a(SourceFile:28)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:546)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)