CraftBook 3

CraftBook 3

139k Downloads

Could not pass event SignClickEvent to CraftBook v3.8-SNAPSHOT:3753

LadyCailinBot opened this issue ยท 4 comments

commented

CRAFTBOOK-2973 - Reported by Iwitrag

Hello, today I got this error in console.
I'm runnng craftbook 3.8 Snapshot with Spigot 1.7.5

I think that something from Bridges / Gates / Lifts did this, because these are only sign-related mods I have activated in craftbook.

Here is the error

[19:36:37] [Server thread/ERROR]: Could not pass event SignClickEvent to CraftBook v3.8-SNAPSHOT:3753-e14fa89,master
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) ~[minecraft_server.jar:git-Spigot-1377]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_server.jar:git-Spigot-1377]
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:47) ~[minecraft_server.jar:git-Spigot-1377]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [minecraft_server.jar:git-Spigot-1377]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [minecraft_server.jar:git-Spigot-1377]
at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.onPlayerInteract(MechanicListenerAdapter.java:93) [CraftBook_3.8.8.jar:3.8-SNAPSHOT]
at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [minecraft_server.jar:git-Spigot-1377]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [minecraft_server.jar:git-Spigot-1377]
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:47) [minecraft_server.jar:git-Spigot-1377]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [minecraft_server.jar:git-Spigot-1377]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [minecraft_server.jar:git-Spigot-1377]
at org.bukkit.craftbukkit.v1_7_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:212) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.PlayerInteractManager.interact(PlayerInteractManager.java:375) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:641) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.PacketPlayInBlockPlace.a(SourceFile:60) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.PacketPlayInBlockPlace.handle(SourceFile:9) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [minecraft_server.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [minecraft_server.jar:git-Spigot-1377]
Caused by: java.lang.NullPointerException
at com.sk89q.craftbook.mech.area.simple.Gate.getGateBlock(Gate.java:473) ~[?:?]
at com.sk89q.craftbook.mech.area.simple.Gate.isValidGateBlock(Gate.java:411) ~[?:?]
at com.sk89q.craftbook.mech.area.simple.Gate.recurseColumn(Gate.java:124) ~[?:?]
at com.sk89q.craftbook.mech.area.simple.Gate.toggleGates(Gate.java:95) ~[?:?]
at com.sk89q.craftbook.mech.area.simple.Gate.onRightClick(Gate.java:293) ~[?:?]
at sun.reflect.GeneratedMethodAccessor565.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) ~[minecraft_server.jar:git-Spigot-1377]
... 25 more

commented

Comment by me4502

I'll look into this soon

commented

Comment by me4502

This looks like it is caused by this bukkit bug, https://bukkit.atlassian.net/browse/BUKKIT-5425

It isn't a big issue, just an error that could possibly pop up, but very rarely.

commented

Comment by Iwitrag

No it's not big issue, I only made this issue because I like CraftBook and I thought that you should know that this sometimes happens :)

commented

Comment by me4502

Yeah, thanks for reporting the issue :)