splunk / minecraft-app

Splunking Minecraft with the App Framework
Apache License 2.0
20 stars 9 forks source link

Could not pass event PlayerMoveEvent to LogToSplunk v1.0-SNAPSHOT #16

Open mikelovesthai opened 7 years ago

mikelovesthai commented 7 years ago

Hi, I have a spigot minecraft server with the multiverse plugin. I have set up the Splunk minecraft app but it's not working. I see this error in the minecraft log:

[14:57:49] [Server thread/ERROR]: Could not pass event PlayerMoveEvent to LogToSplunk v1.0-SNAPSHOT org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-7754231-362ed32] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-7754231-362ed32] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot.jar:git-Spigot-7754231-362ed32] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot.jar:git-Spigot-7754231-362ed32] at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:654) [spigot.jar:git-Spigot-7754231-362ed32] at net.minecraft.server.v1_12_R1.PacketPlayInFlying.a(SourceFile:126) [spigot.jar:git-Spigot-7754231-362ed32] at net.minecraft.server.v1_12_R1.PacketPlayInFlying$PacketPlayInPositionLook.a(SourceFile:18) [spigot.jar:git-Spigot-7754231-362ed32] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-7754231-362ed32] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-7754231-362ed32] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot.jar:git-Spigot-7754231-362ed32] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-7754231-362ed32] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-7754231-362ed32] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-7754231-362ed32] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131] Caused by: java.lang.IllegalArgumentException: Cannot measure distance between world and world_old at org.bukkit.Location.distanceSquared(Location.java:460) ~[spigot.jar:git-Spigot-7754231-362ed32] at org.bukkit.Location.distance(Location.java:443) ~[spigot.jar:git-Spigot-7754231-362ed32] at com.splunk.spigot.eventloggers.PlayerEventLogger.onPlayerMove(PlayerEventLogger.java:86) ~[?:?] at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-7754231-362ed32]

Any ideas? Thanks in advance!