CommandHelper

CommandHelper

46.5k Downloads

Stacktrace with sk_regions_at()

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-2673 - Reported by Hekta

This error occurs only when I execute the command from the console.

2013-05-05 17:25:33 [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:
sk_regions_at({0: -320.19087873295535, 1: 64.0, 2: 197.22324042084242, 3: craft, 4: 291.62841796875, 5: 0.0, pitch: 0.0, world: craft, x: -320.19087873295535, y: 64.0, yaw: 291.62841796875, z: 197.22324042084242})
on or around /home/serveur28/minecraft/plugins/CommandHelper/config.txt:161.
Please report this error to the developers, and be sure to include the version numbers: Server version: 1.5.1-R0.2; CommandHelper version: 1474-b396e60. Here's the stacktrace:
java.lang.ClassCastException: com.laytonsmith.abstraction.bukkit.BukkitMCConsoleCommandSender cannot be cast to com.laytonsmith.abstraction.MCPlayer
at com.laytonsmith.core.functions.WorldEdit$sk_regions_at.exec(WorldEdit.java:621)
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.seval(Script.java:197)
at com.laytonsmith.core.functions.BasicLogic$and.execs(BasicLogic.java:1289)
at com.laytonsmith.core.Script.eval(Script.java:254)
at com.laytonsmith.core.Script.seval(Script.java:197)
at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:373)
at com.laytonsmith.core.Script.eval(Script.java:254)
at com.laytonsmith.core.functions.DataHandling$foreach.execs(DataHandling.java:549)
at com.laytonsmith.core.Script.eval(Script.java:254)
at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:378)
at com.laytonsmith.core.Script.eval(Script.java:254)
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.CommandHelperServerListener.onServerCommand(CommandHelperServerListener.java:41)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.v1_5_R2.DedicatedServer.am(DedicatedServer.java:257)
at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:226)
at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)

commented

Comment by LadyCailin

Fixed in next build.