sconcat stacktrace
LadyCailinBot opened this issue ยท 2 comments
CMDHELPER-2708 - Reported by opoq
11:44:13 [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:
@checklist = {text: Testing: goo.gl/fbsS (Please do not say URLs into chat right now.), todo: {d41d8cd98f00b204e9800998ecf8427e: www.google.com}}
sconcat(, @checklist, java-null, ' ', , )
on or around Unknown File:0.
Please report this error to the developers, and be sure to include the version numbers: Server version: 1.5.2-R0.2-SNAPSHOT; CommandHelper version: 1526-95fd0e3. Here's the stacktrace:
java.lang.NullPointerException
at com.laytonsmith.core.functions.StringHandling$sconcat.exec(StringHandling.java:196)
at com.laytonsmith.core.Script.eval(Script.java:314)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1489)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1454)
at com.laytonsmith.core.constructs.CClosure.execute(CClosure.java:136)
at com.laytonsmith.core.functions.Web$http_request.executeFinish(Web.java:372)
at com.laytonsmith.core.functions.Web$http_request.access$300(Web.java:140)
at com.laytonsmith.core.functions.Web$http_request$2$1.run(Web.java:344)
at com.laytonsmith.abstraction.bukkit.BukkitConvertor$1.call(BukkitConvertor.java:346)
at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftFuture.run(CraftFuture.java:89)
at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:509)
at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227)
at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Comment by Tom.Gebbett
not sure if it's necessary to fix the problem, but can you show us the code it's referencing? The sconcat() seen there is a form that has been modified by the compilation system. When i've seen this kind of thing, it's been because of an improperly formatted use of operators, such as "@ivar = " with no value to set it to, something similar may be your problem. An extra concatenation dot at the end of a string?