CommandHelper

CommandHelper

46.5k Downloads

Stacktrace from referencing nonexistent array index (1536)

LadyCailinBot opened this issue ยท 2 comments

commented

CMDHELPER-2735 - Reported by opoq

/herp = @Derp = array(1) \n msg(@Derp[1])

17:06:10 [SEVERE] An unexpected error occured in the CommandHelper plugin. Further, this is likely an error with the error handler, so it may be caused by your script, however, there is no more information at this point. Check your script, but also report this as a bug in CommandHelper. Also, it's possible that some commands will no longer work. As a temporary workaround, restart the server, and avoid doing whatever it is you did to make this happen.
The error is as follows: java.lang.NoClassDefFoundError: com/laytonsmith/core/Static$2
Stack Trace:
com.laytonsmith.core.Static.LogDebug(Static.java:735)
com.laytonsmith.core.CHLog.Log(CHLog.java:261)
com.laytonsmith.core.exceptions.ConfigRuntimeException.DoReport(ConfigRuntimeException.java:256)
com.laytonsmith.core.exceptions.ConfigRuntimeException.DoReport(ConfigRuntimeException.java:271)
com.laytonsmith.core.exceptions.ConfigRuntimeException.React(ConfigRuntimeException.java:184)
com.laytonsmith.core.exceptions.ConfigRuntimeException.React(ConfigRuntimeException.java:168)
com.laytonsmith.core.AliasCore.alias(AliasCore.java:168)
com.laytonsmith.commandhelper.CommandHelperListener.runAlias(CommandHelperListener.java:86)
com.laytonsmith.commandhelper.CommandHelperListener.onPlayerCommandPreprocess(CommandHelperListener.java:131)
sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
net.minecraft.server.v1_6_R1.PlayerConnection.handleCommand(PlayerConnection.java:986)
net.minecraft.server.v1_6_R1.PlayerConnection.chat(PlayerConnection.java:911)
net.minecraft.server.v1_6_R1.PlayerConnection.a(PlayerConnection.java:858)
net.minecraft.server.v1_6_R1.Packet3Chat.handle(SourceFile:49)
org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:237)
net.minecraft.server.v1_6_R1.PlayerConnection.d(PlayerConnection.java:118)
net.minecraft.server.v1_6_R1.ServerConnection.b(SourceFile:37)
org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125)
net.minecraft.server.v1_6_R1.MinecraftServer.t(MinecraftServer.java:592)
net.minecraft.server.v1_6_R1.DedicatedServer.t(DedicatedServer.java:235)
net.minecraft.server.v1_6_R1.MinecraftServer.s(MinecraftServer.java:481)
net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:413)
net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582)

commented

Comment by LadyCailin

Also due to a bad build or previous error.

commented

Comment by LadyCailin

Same here.