CommandHelper

CommandHelper

46.5k Downloads

JLine error with commandline tools

LadyCailinBot opened this issue ยท 0 comments

commented

CMDHELPER-3053 - Reported by Nessiesson

Throws an exception and exits mscript every time a command containing "!" in it is executed. Relevant code:


Exception in thread "main" java.lang.IllegalArgumentException: !== typeof(array()): event not found
        at com.laytonsmith.libs.jline.console.ConsoleReader.expandEvents(ConsoleReader.java:734)
        at com.laytonsmith.libs.jline.console.ConsoleReader.finishBuffer(ConsoleReader.java:604)
        at com.laytonsmith.libs.jline.console.ConsoleReader.accept(ConsoleReader.java:1912)
        at com.laytonsmith.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2537)
        at com.laytonsmith.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2162)
        at com.laytonsmith.tools.Interpreter.<init>(Interpreter.java:248)
        at com.laytonsmith.tools.Interpreter.<init>(Interpreter.java:172)
        at com.laytonsmith.core.Main.main(Main.java:285)```