Solved Server error

Discussion in 'Plugin Help/Development/Requests' started by Gartenzaun, Jan 2, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Gartenzaun

    Hello,

    I made a JumpAndRun - Plugin and it worked fine one or two days ago. Today I joined on my server, without editing anything in the source code, and I get a error when I walk over an iron pressure plate:

    Code:
    03.01 08:40:46 [Multicraft] Skipped 16 lines due to rate limit (30/s)
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:249) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO org.bukkit.event.EventException
    03.01 08:40:43 [Server] ERROR Could not pass event PlayerMoveEvent to JumpAndRunPlugin v0.1
    03.01 08:40:43 [Server] INFO ... 13 more
    03.01 08:40:43 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]
    03.01 08:40:43 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]
    03.01 08:40:43 [Server] INFO at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) ~[?:?]
    03.01 08:40:43 [Server] INFO at gartenzaun.DruckplattenEventListener.onMove(DruckplattenEventListener.java:79) ~[?:?]
    03.01 08:40:43 [Server] INFO Caused by: java.lang.NullPointerException
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInPosition.handle(PacketPlayInPosition.java:35) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInFlying.a(SourceFile:137) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:249) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509) [spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa]
    03.01 08:40:43 [Server] INFO org.bukkit.event.EventException
    03.01 08:40:43 [Server] ERROR Could not pass event PlayerMoveEvent to JumpAndRunPlugin v0.1
    Thanks for your answers !
     
  2. Offline

    MCMatters

  3. Offline

    teej107

  4. Offline

    Skionz

    @Gartenzaun I guess we will just magically know what is wrong with your code without being able to see it.
     
  5. Offline

    Gartenzaun

    It works now without editing anything, I don't know whats going on there.

    #closed
     
    Last edited: Jan 3, 2015
  6. Offline

    teej107

    That doesn't mean the thread is solved. Mark the thread with the solved prefix. And from looking at your stacktrace, your code still has that flaw of producing a NPE.
     
Thread Status:
Not open for further replies.

Share This Page