Nullpointer exception
LadyCailinBot opened this issue ยท 2 comments
CRAFTBOOK-2816 - Reported by robotnik
Craftbook is spamming my console with this error
[02:10:15] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to CraftBook v3.8-SNAPSHOT:3388-d59a856,master
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:481) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:466) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:191) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:161) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:975) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInArmAnimation.a(SourceFile:43) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInArmAnimation.handle(SourceFile:9) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
Caused by: java.lang.NullPointerException
at com.sk89q.craftbook.util.ItemInfo.isSame(ItemInfo.java:75) ~[?:?]
at com.sk89q.craftbook.mech.XPStorer.onRightClick(XPStorer.java:17) ~[?:?]
at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_11]
at java.lang.reflect.Method.invoke(Method.java:601) ~[?:1.7.0_11]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[cbdev.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
... 15 more
Using bucket 1.7.2 beta
Comment by me4502
Looks like someone is right clicking a mob spawner with an invalid item in their hand. You could temporarily disable xp storer, and I'll fix it soon