Stacktrace with set_leashholder()
LadyCailinBot opened this issue ยท 4 comments
CMDHELPER-2778 - Reported by Hekta
eval(set_leashholder(5080, 399))
on or around E:\Documents\Desktop\afaire\serv\bukkit\RequiCraft\plugins\CommandHelper\LocalPackages\RequiCraft\extensions\Dev\aliases.msa:5.
Please report this error to the developers, and be sure to include the version numbers: Server version: 1.6.2-R0.2-SNAPSHOT; CommandHelper version: 3.3.1-SNAPSHOT:2346-92111b3,master. Here's the stacktrace:
java.lang.NullPointerException
at com.laytonsmith.core.constructs.IVariable.ival(IVariable.java:31)
at com.laytonsmith.core.Script.seval(Script.java:214)
at com.laytonsmith.core.functions.Meta$eval.execs(Meta.java:411)
at com.laytonsmith.core.Script.eval(Script.java:257)
at com.laytonsmith.core.Script.eval(Script.java:265)
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:165)
at com.laytonsmith.core.AliasCore.alias(AliasCore.java:140)
at com.laytonsmith.commandhelper.CommandHelperListener.runAlias(CommandHelperListener.java:86)
at com.laytonsmith.commandhelper.CommandHelperListener.onPlayerCommandPreprocess(CommandHelperListener.java:131)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:946)
at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:872)
at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:829)
at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49)
at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296)
at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116)
at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
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)```
Comment by LadyCailin
Actually, this looks like a problem with eval, not set_leashholder. Presumably this would happen if you send void to eval.
Comment by LadyCailin
Hmm, ok, I can't see how the code in the error message could cause this problem. Can you post the line of code that it's complaining about?
Comment by jb_aero
It was something we both missed when set_leashholder was committed. In this case, even testing that it worked wasn't enough apparently. Thanks for pointing this out!