
Uncaught data_name() exception
LadyCailinBot opened this issue ยท 1 comments
CMDHELPER-2660 - Reported by opoq
data_name('0:')
-->
23:22:05 [INFO] CH: Running original command on player opoq ----> /give opoq diamondsword
23:22:05 [SEVERE] Uh oh! You've found an error in CommandHelper. This is an error caused by your code, so you may be able to find a workaround, but is ultimately an error in CommandHelper itself. The line of code that caused the error was this:
data_name(276:)
on or around /mc/plugins/CommandHelper/config.txt:939.
Please report this error to the developers, and be sure to include the version numbers: Server version: 1.5.1-R0.3-SNAPSHOT; CommandHelper version: 1474-b396e60. Here's the stacktrace:
java.lang.ArrayIndexOutOfBoundsException: 1
at com.laytonsmith.core.functions.Minecraft$data_name.exec(Minecraft.java:175)
at com.laytonsmith.core.Script.eval(Script.java:301)
at com.laytonsmith.core.Script.eval(Script.java:262)
at com.laytonsmith.core.Script.eval(Script.java:262)
at com.laytonsmith.core.Script.eval(Script.java:262)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1489)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1454)
at com.laytonsmith.core.Script.run(Script.java:151)
at com.laytonsmith.core.AliasCore.alias(AliasCore.java:137)
at com.laytonsmith.commandhelper.CommandHelperListener.runAlias(CommandHelperListener.java:86)
at com.laytonsmith.commandhelper.CommandHelperListener.onPlayerCommandPreprocess(CommandHelperListener.java:131)
at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:971)
at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:896)
at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841)
at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:186)
at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110)
at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35)
at org.spigotmc.MultiplexingServerConnection.b(MultiplexingServerConnection.java:72)
at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:582)
at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:223)
at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:471)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:403)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)