This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?i don't know - they just shown up
Do you have an error log of what happened?
16:57:02] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to WarpSigns v5.2org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:481) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:466) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:191) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:161) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:975) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.PacketPlayInArmAnimation.a(SourceFile:43) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.PacketPlayInArmAnimation.handle(SourceFile:9) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]Caused by: java.lang.NullPointerException at com.huskehhh.warpsigns.listeners.WarpSignListener.clickSign(WarpSignListener.java:46) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] ... 15 more[16:57:04] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to WarpSigns v5.2org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:481) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:466) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:191) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:161) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:975) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.PacketPlayInArmAnimation.a(SourceFile:43) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.PacketPlayInArmAnimation.handle(SourceFile:9) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]Caused by: java.lang.NullPointerException at com.huskehhh.warpsigns.listeners.WarpSignListener.clickSign(WarpSignListener.java:46) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] ... 15 more[16:57:08] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4718ms behind, skipping 94 tick(s)
hi, there was nobody actually clicking on a sign - it just happened
please make something with that
Okay, Will fix this. Does the plugin still work for the moment?
Yes.The rest is fine for me
it works, but produces the errors in the background
Don't know the protocol, just voted for this as we've been waiting for the fix since 5.2 came out. Seeing the exact same problem.
I did some changes to my MySQL data base and now, I only get these errors when left clicking a warp sign. It was a non stop looping of the messages whenever any player was logged on.
I would guess the event handler doesn't do anything for left clicks, only right clicks. Don't know if the error/warning messages on a left click are causing a problem, but that should be easy to fix in your event handler.
I got the source code from gitHub, added an error message hack for left clicking the signs and that solved the problem. Here is the code I added: (I didn't look at all the entire plugin code, just wanted a quick fix for this annoying bug that has been spewing garbage in my console for five weeks and I got tired of waiting for a fix.) This is a cut and paste of the right click code where it's deciding if you clicked a warp sign; only it does nothing, other than a message to the player doing the left click.
if (ev.getAction() == Action.LEFT_CLICK_BLOCK) { Block b = ev.getClickedBlock(); if ((b.getType() == Material.SIGN_POST) || (b.getType() == Material.WALL_SIGN)) { Sign s = (Sign) b.getState(); Player p = ev.getPlayer(); if (s.getLine(0).equalsIgnoreCase(ChatColor.GREEN + "[Warp]")) { p.sendMessage(""); p.sendMessage("Right Click Warp Sign to activate warp command."); } } }
This code is inserted before the last close bracket "}" in the WarpSigns.java file. There is also a missing close parenthesis in the following line of code in the same file (eclipse will flag this):
if (s.getLine(0).equalsIgnoreCase(ChatColor.GREEN + "[Warp]") { this will work? no? should be:
if (s.getLine(0).equalsIgnoreCase(ChatColor.GREEN + "[Warp]")) { this will work? no?
'With code changes, if it hasn't been tested, it's got bugs. I did confirm that you only see the warning message on left clicks of WarpSigns and that right clicks still work. It's been installed on our server for a day now and we haven't seen any problems. Not that we've looked everywhere…d8)
yes this happens when you hit pigs or anything thats not a sign this happens.
This is happening to me whenever one of my players does anything! Someone please fix soon!>
yes i got this error "ERROR]: Could not pass event PlayerInteractEvent to WarpSigns v5.2"
edit: i found out whats causing the problem, its when im holding a block and press the sign, i have to press it with out anything in my hand
<<reply 1928876>>
plz fix now. it has been 6 months since you replied
@CiaranSmith: Go
plz fixxxxxxxxxxxxxxxxxx, i deleted the plugin but its still happening!
2 yearz ltr:
To post a comment, please login or register a new account.