Spam error in console here and then at random moments i think
LadyCailinBot opened this issue ยท 2 comments
WORLDEDIT-3242 - Reported by Xuth
I keep getting this issue in the console. Im on spigot 1.8 using worldedit 6.0;3342-78f97b9
[18:21:55] [Server thread/ERROR]: [WorldEdit] Could not dispatch event: com.sk89q.worldedit.event.platform.CommandEvent@48fe1f90 to handler EventHandler{priority=NORMAL}
java.lang.reflect.InvocationTargetException
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:75) ~[worldedit-bukkit-6.0.jar:?]
at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:187) [worldedit-bukkit-6.0.jar:?]
at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173) [worldedit-bukkit-6.0.jar:?]
at com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:242) [worldedit-bukkit-6.0.jar:?]
at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54) [worldedit-bukkit-6.0.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:645) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at misson20000.plugins.cbwrapper.CBWrapper.onCommand(Unknown Source) [CBWrapper.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at net.minecraft.server.v1_8_R1.CommandBlockListenerAbstract.executeCommand(CommandBlockListenerAbstract.java:198) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at net.minecraft.server.v1_8_R1.CommandBlockListenerAbstract.a(CommandBlockListenerAbstract.java:92) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at net.minecraft.server.v1_8_R1.BlockCommand.b(BlockCommand.java:48) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at net.minecraft.server.v1_8_R1.WorldServer.a(WorldServer.java:632) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at net.minecraft.server.v1_8_R1.WorldServer.doTick(WorldServer.java:236) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:741) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_65]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_65]
at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58) ~[worldedit-bukkit-6.0.jar:?]
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[worldedit-bukkit-6.0.jar:?]
... 19 more
Caused by: java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) ~[townyspigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-5ead057-1a84bac]
at com.sk89q.worldedit.session.storage.JsonFileSessionStore.getPath(JsonFileSessionStore.java:81) ~[worldedit-bukkit-6.0.jar:?]
at com.sk89q.worldedit.session.storage.JsonFileSessionStore.load(JsonFileSessionStore.java:87) ~[worldedit-bukkit-6.0.jar:?]
at com.sk89q.worldedit.session.SessionManager.get(SessionManager.java:147) ~[worldedit-bukkit-6.0.jar:?]
at com.sk89q.worldedit.extension.platform.CommandManager.handleCommand(CommandManager.java:216) ~[worldedit-bukkit-6.0.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_65]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_65]
at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58) ~[worldedit-bukkit-6.0.jar:?]
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[worldedit-bukkit-6.0.jar:?]
... 19 more
Comment by PseudoKnight
It's happening when the WorldEdit command is ran through a Command Block with the CBWrapper plugin. Looking at that plugin, it seems it returns a null UUID, perhaps because previously WorldEdit didn't need a UUID, but now it does. The plugin needs to be updated and it appears they're aware: http://dev.bukkit.org/bukkit-plugins/cbwrapper/