CommandHelper fails to load
LadyCailinBot opened this issue ยท 5 comments
CMDHELPER-2924 - Reported by Josh.vdub
[14:03:17] [Server thread/INFO]: [CommandHelper] Loading CommandHelper v3.3.1-SNAPSHOT:2658-4d4c048,master
[14:03:31] [CommandHelper-PrefsWatcherShutdownRegistration/WARN]: Could not find a suitable convertor! You will experience serious issues with this plugin.
[14:03:31] [Server thread/INFO]: [CommandHelper] Running initial class discovery, this will probably take a few seconds...
[14:03:31] [Server thread/ERROR]: null initializing CommandHelper v3.3.1-SNAPSHOT:2658-4d4c048,master (Is it up to date?)
java.lang.NullPointerException
at com.laytonsmith.abstraction.StaticLayer.GetServer(StaticLayer.java:74) ~[?:?]
at com.laytonsmith.commandhelper.CommandHelperPlugin.onLoad(CommandHelperPlugin.java:258) ~[?:?]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:360) [factions.jar:git-Spigot-1337]
at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:135) [factions.jar:git-Spigot-1337]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:437) [factions.jar:git-Spigot-1337]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [factions.jar:git-Spigot-1337]
[14:05:09] [Server thread/INFO]: [CommandHelper] Enabling CommandHelper v3.3.1-SNAPSHOT:2658-4d4c048,master
[14:05:09] [Server thread/ERROR]: Error occurred while enabling CommandHelper v3.3.1-SNAPSHOT:2658-4d4c048,master (Is it up to date?)
java.lang.NullPointerException
at com.laytonsmith.commandhelper.CommandHelperPlugin.onEnable(CommandHelperPlugin.java:288) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) ~[factions.jar:git-Spigot-1337]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350) [factions.jar:git-Spigot-1337]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:390) [factions.jar:git-Spigot-1337]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:460) [factions.jar:git-Spigot-1337]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:380) [factions.jar:git-Spigot-1337]
at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:348) [factions.jar:git-Spigot-1337]
at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:325) [factions.jar:git-Spigot-1337]
at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:281) [factions.jar:git-Spigot-1337]
at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:186) [factions.jar:git-Spigot-1337]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:437) [factions.jar:git-Spigot-1337]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [factions.jar:git-Spigot-1337]
[14:05:57] [Thread-13/INFO]: ^[[0;31;1mCommand failed with following reason: The core has not been initialized yet^[[m
[14:05:57] [Thread-13/WARN]: com.laytonsmith.core.NotInitializedYetException: The core has not been initialized yet
[14:05:57] [Thread-13/WARN]: at com.laytonsmith.core.Static.getAliasCore(Static.java:363)
[14:05:57] [Thread-13/WARN]: at com.laytonsmith.commandhelper.CommandHelperServerListener.onServerCommand(CommandHelperServerListener.java:41)
[14:05:57] [Thread-13/WARN]: at com.laytonsmith.commandhelper.CommandHelperPlugin.onCommand(CommandHelperPlugin.java:465)
[14:05:57] [Thread-13/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[14:05:57] [Thread-13/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175)
[14:05:57] [Thread-13/WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:706)
[14:05:57] [Thread-13/WARN]: at WerrisExecuteCommandListener.voteMade(WerrisExecuteCommandListener.java:78)
[14:05:57] [Thread-13/WARN]: at com.vexsoftware.votifier.net.VoteReceiver.run(VoteReceiver.java:174)
Comment by LadyCailin
This looks like an incompatibility with votifier. Please remove votifier, and see what happens without that plugin.
Comment by LadyCailin
I don't mean permanently, I'm just trying to determine that this is in fact ultimately caused by votifier. Once you test (put the server in whitelist mode if you like) then you can put it back.
Comment by Josh.vdub
oh, I cannot reliably reproduce it, it usually happens during nightly auto restarts, but if you suspect it is votifier it probably is, as that is the only plugin that sends commands straight away
Comment by PseudoKnight
It couldn't get the Bukkit converter for some reason, which is weird. However, this is old enough and there were enough changes to this part of the code that this issue may be invalid now. If it still happened to someone in the last year or so, this issue can be reopened.