Many Console Log Errors #11


  • Defect
  • Started
Open
Assigned to smitheyc
  • _ForgeUser10398692 created this issue Dec 18, 2013

    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.2
    org.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.2
    org.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)

  • _ForgeUser10398692 added the tags New Defect Dec 18, 2013
  • _ForgeUser10398692 posted a comment Dec 18, 2013

    hi, there was nobody actually clicking on a sign - it just happened

  • Forge_User_44616286 posted a comment Dec 19, 2013

    please make something with that

  • SmitheyC removed a tag New Dec 23, 2013
  • SmitheyC added a tag Accepted Dec 23, 2013
  • SmitheyC posted a comment Dec 23, 2013

    Okay, Will fix this. Does the plugin still work for the moment?

  • Forge_User_44616286 posted a comment Dec 23, 2013

    Yes.The rest is fine for me

  • _ForgeUser10398692 posted a comment Dec 29, 2013

    it works, but produces the errors in the background


    Edited Jun 10, 2014
  • _ForgeUser11806220 posted a comment Jan 15, 2014

    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)


    Edited Mar 5, 2014
  • _ForgeUser7665331 posted a comment Mar 18, 2014

    yes this happens when you hit pigs or anything thats not a sign this happens.

  • _ForgeUser12074785 posted a comment Mar 26, 2014

    This is happening to me whenever one of my players does anything! Someone please fix soon!>


    Edited Jun 10, 2014
  • _ForgeUser9621209 posted a comment Jun 10, 2014

    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


    Edited Jun 10, 2014
  • _ForgeUser8928101 posted a comment Jun 17, 2014

    <<reply 1928876>>

    plz fix now. it has been 6 months since you replied

  • SmitheyC removed a tag Accepted Sep 7, 2014
  • SmitheyC added a tag Started Sep 7, 2014
  • _ForgeUser12361899 posted a comment Feb 21, 2015

    @CiaranSmith: Go

    plz fixxxxxxxxxxxxxxxxxx, i deleted the plugin but its still happening!

  • _ForgeUser12361899 posted a comment Feb 21, 2015

    @CiaranSmith: Go

    2 yearz ltr:


To post a comment, please login or register a new account.