
Uncaught exception through abuse of trigger()
LadyCailinBot opened this issue ยท 1 comments
CMDHELPER-2931 - Reported by opoq
run trigger(player_join)
[04:48:40 INFO]: CH: Running original command from a MCCommandSender ----> /run trigger(player_join)
[04:48:40 ERROR]: Uh oh! You've found an error in Core.
This is an error caused while running your code, so you may be able to find a workaround, but is ultimately an error in Core itself.
The line of code that caused the error was this:
trigger('player_join')
on or around /mc/plugins/CommandHelper/config.txt:1.
Please report this error to the developers, and be sure to include the version numbers:
Server version: 1.7.5-R0.1-SNAPSHOT;
CommandHelper version: 3.3.1-SNAPSHOT:2665-a111016,master;
Loaded extensions and versions:
Core (version 3.3.1);
Here's the stacktrace:
java.lang.ArrayIndexOutOfBoundsException: 1
at com.laytonsmith.core.functions.EventBinding$trigger.exec(EventBinding.java:466)
at com.laytonsmith.core.Script.eval(Script.java:349)
at com.laytonsmith.core.Script.seval(Script.java:236)
at com.laytonsmith.core.functions.Meta$eval.execs(Meta.java:474)
at com.laytonsmith.core.Script.eval(Script.java:308)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1818)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1778)
at com.laytonsmith.core.Script.run(Script.java:190)
at com.laytonsmith.core.AliasCore.alias(AliasCore.java:166)
at com.laytonsmith.commandhelper.CommandHelperServerListener.onServerCommand(CommandHelperServerListener.java:41)
at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
at net.minecraft.server.v1_7_R2.DedicatedServer.ax(DedicatedServer.java:305)
at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:274)
at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566)
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472)
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618)