CommandHelper

CommandHelper

46.5k Downloads

Stacktrace with /reloadaliases

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-2798 - Reported by Hekta

org.bukkit.command.CommandException: Unhandled exception executing command 'reloadalias' in plugin CommandHelper v3.3.1-SNAPSHOT:2379-ea4f97f,master
	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:191)
	at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523)
	at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchServerCommand(CraftServer.java:512)
	at net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java:262)
	at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:227)
	at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
	at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
	at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NullPointerException
	at com.laytonsmith.PureUtilities.ArgumentParser.parse(ArgumentParser.java:1038)
	at com.laytonsmith.PureUtilities.ArgumentParser.match(ArgumentParser.java:1133)
	at com.laytonsmith.core.AliasCore.reload(AliasCore.java:286)
	at com.laytonsmith.commandhelper.CommandHelperPlugin.onCommand(CommandHelperPlugin.java:317)
	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
	... 8 more```
commented

Comment by LadyCailin

Ah. When using the long form, you need to use -- instead of -. So it would be "reloadaliases --help". Anyways, I've corrected the stacktrace in the next build.