Fehlschlag
tests.wurstscript.tests.ModuleTests.initdestroy (from tests.wurstscript.tests.AllTests)
Stacktrace
test failed: fail, result = ABCABCcba at de.peeeq.wurstio.jassinterpreter.NativeFunctionsIO.testFail(NativeFunctionsIO.java:35) at de.peeeq.wurstio.jassinterpreter.NativeJassFunction.execute(ExecutableJassFunction.java:46) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeFunction(JassInterpreter.java:109) at de.peeeq.wurstio.jassinterpreter.JassInterpreter$1.case_JassStmtCall(JassInterpreter.java:227) at de.peeeq.wurstscript.jassAst.JassStmtCallImpl.match(JassStmtCallImpl.java:118) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatement(JassInterpreter.java:163) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatements(JassInterpreter.java:157) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.access$4(JassInterpreter.java:155) at de.peeeq.wurstio.jassinterpreter.JassInterpreter$1.case_JassStmtIf(JassInterpreter.java:205) at de.peeeq.wurstscript.jassAst.JassStmtIfImpl.match(JassStmtIfImpl.java:149) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatement(JassInterpreter.java:163) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatements(JassInterpreter.java:157) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeJassFunction(JassInterpreter.java:141) at de.peeeq.wurstio.jassinterpreter.UserDefinedJassFunction.execute(ExecutableJassFunction.java:28) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeFunction(JassInterpreter.java:109) at de.peeeq.wurstio.jassinterpreter.JassInterpreter$1.case_JassStmtCall(JassInterpreter.java:227) at de.peeeq.wurstscript.jassAst.JassStmtCallImpl.match(JassStmtCallImpl.java:118) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatement(JassInterpreter.java:163) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatements(JassInterpreter.java:157) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeJassFunction(JassInterpreter.java:141) at de.peeeq.wurstio.jassinterpreter.UserDefinedJassFunction.execute(ExecutableJassFunction.java:28) at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeFunction(JassInterpreter.java:109) at tests.wurstscript.tests.WurstScriptTest.executeJassProg(WurstScriptTest.java:363) at tests.wurstscript.tests.WurstScriptTest.translateAndTest(WurstScriptTest.java:304) at tests.wurstscript.tests.WurstScriptTest.testScript(WurstScriptTest.java:185) at tests.wurstscript.tests.WurstScriptTest.testAssertOkFile(WurstScriptTest.java:117) at tests.wurstscript.tests.ModuleTests.initdestroy(ModuleTests.java:50)
Standard Ausgabe (STDOUT)
Nullpointer exception when calling A.foo Called A.foo on invalid object. set x 2 get x 2 set x 3 get x 2 get x 3 set x 2 get x 2 get x 2 set x 3 get x 2 get x 3 set x 2 get x 2 set x 3 get x 2 get x 3 set x 2 get x 2 get x 2 set x 3 get x 2 get x 3 set x 2 get x 2 set x 3 get x 2 get x 3 set x 2 get x 2 set x 3 get x 2 get x 3 set x 2 get x 2 set x 3 get x 2 get x 3 set x 2 get x 2 set x 3 get x 2 get x 3
Standard Fehler (STDERR)
line 10:7 mismatched input '=' expecting {'and', 'or', 'castTo', 'div', 'mod', 'instanceof', '+', '-', '*', '/', '%', '.', '..', '==', '!=', '<', '<=', '>', '>=', NL} Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable C_alive is null. Variable A_typeId is null. Variable A_i is null. Variable A_i is null. Variable A_i is null. Variable A_i is null. Variable Iterator_t is null. Variable Iterator_t is null. Variable Iterator_t is null. line 3:9 token recognition error at: '"\ ' line 3:12 token recognition error at: '" \n' line 4:0 mismatched input 'endpackage' expecting {'and', 'or', 'castTo', 'div', 'mod', 'instanceof', '+', '-', '*', '/', '%', '.', '..', '==', '!=', '<', '<=', '>', '>=', NL} line 5:0 missing 'endpackage' at '<EOF>' line 3:16 no viable alternative at input 'print("hello"\n' line 3:16 no viable alternative at input 'print("hello"))' line 4:19 no viable alternative at input 'doAfter(0.1,()->begin\nnprint("hello"+if' line 4:8 extraneous input 'n' expecting {'return', 'if', 'while', 'for', 'break', 'new', 'null', 'function', 'thistype', 'and', 'or', 'not', 'this', 'destroy', 'castTo', 'div', 'mod', 'let', 'skip', 'true', 'false', 'var', 'instanceof', 'super', 'switch', 'begin', '+', '-', '*', '/', '%', '.', '..', '(', '==', '!=', '<', '<=', '>', '>=', ENDBLOCK, NL, ID, STRING, REAL, INT} line 4:21 extraneous input ')' expecting {'and', 'or', 'castTo', 'div', 'mod', 'instanceof', '+', '-', '*', '/', '%', '.', '..', '==', '!=', '<', '<=', '>', '>=', NL} line 5:2 extraneous input 'end' expecting {'class', 'function', 'public', 'publicread', 'private', 'protected', 'native', 'nativetype', 'interface', 'module', 'abstract', 'static', 'thistype', 'override', 'constant', 'init', 'tuple', 'let', 'var', 'enum', ENDBLOCK, ID, ANNOTATION, HOTDOC_COMMENT} line 6:10 extraneous input ')' expecting 'endpackage'