Regression

tests.wurstscript.tests.RealWorldExamples.test_stdlib (from tests.wurstscript.tests.AllTests)

Schlägt fehl seit 1 Build (Seit #122 )
Dauer: 3,7 Sekunden.

Fehlermeldung

Reference to function getTimer could not be resolved.

Stacktrace

Error in File InstanceBoard.wurst line 10:
 Reference to function getTimer could not be resolved.
	at de.peeeq.wurstscript.attributes.ErrorHandling.makeCompileError(ErrorHandling.java:36)
	at de.peeeq.wurstscript.attributes.ErrorHandling.addErrorOrWarning(ErrorHandling.java:26)
	at de.peeeq.wurstscript.attributes.ErrorHandling.addError(ErrorHandling.java:16)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.addError(ExprFunctionCallImpl.java:1189)
	at de.peeeq.wurstscript.attributes.PossibleFuncDefs.searchFunction(PossibleFuncDefs.java:114)
	at de.peeeq.wurstscript.attributes.PossibleFuncDefs.calculate(PossibleFuncDefs.java:75)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrPossibleFuncDefs(ExprFunctionCallImpl.java:1206)
	at de.peeeq.wurstscript.attributes.AttrPossibleFunctionSignatures.calculate(AttrPossibleFunctionSignatures.java:27)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrPossibleFunctionSignatures(ExprFunctionCallImpl.java:1114)
	at de.peeeq.wurstscript.attributes.AttrFunctionSignature.calculate(AttrFunctionSignature.java:23)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrFunctionSignature(ExprFunctionCallImpl.java:1128)
	at de.peeeq.wurstscript.attributes.AttrExprType.calculate(AttrExprType.java:469)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrTypRaw(ExprFunctionCallImpl.java:886)
	at de.peeeq.wurstscript.attributes.AttrExprType.normalizedType(AttrExprType.java:563)
	at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.attrTyp(ExprFunctionCallImpl.java:858)
	at de.peeeq.wurstscript.attributes.PossibleFuncDefs.calculate(PossibleFuncDefs.java:68)
	at de.peeeq.wurstscript.ast.ExprMemberMethodDotImpl.attrPossibleFuncDefs(ExprMemberMethodDotImpl.java:1356)
	at de.peeeq.wurstscript.attributes.AttrPossibleFunctionSignatures.calculate(AttrPossibleFunctionSignatures.java:27)
	at de.peeeq.wurstscript.ast.ExprMemberMethodDotImpl.attrPossibleFunctionSignatures(ExprMemberMethodDotImpl.java:1264)
	at de.peeeq.wurstscript.attributes.AttrFunctionSignature.calculate(AttrFunctionSignature.java:23)
	at de.peeeq.wurstscript.ast.ExprMemberMethodDotImpl.attrFunctionSignature(ExprMemberMethodDotImpl.java:1278)
	at de.peeeq.wurstscript.attributes.AttrExprType.calculate(AttrExprType.java:469)
	at de.peeeq.wurstscript.ast.ExprMemberMethodDotImpl.attrTypRaw(ExprMemberMethodDotImpl.java:1036)
	at de.peeeq.wurstscript.attributes.AttrExprType.normalizedType(AttrExprType.java:563)
	at de.peeeq.wurstscript.ast.ExprMemberMethodDotImpl.attrTyp(ExprMemberMethodDotImpl.java:1008)
	at de.peeeq.wurstscript.validation.WurstValidator.visit(WurstValidator.java:955)
	at de.peeeq.wurstscript.validation.WurstValidator.check(WurstValidator.java:209)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:184)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:187)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:187)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:187)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:187)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:187)
	at de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:187)
	at de.peeeq.wurstscript.validation.WurstValidator.validate(WurstValidator.java:84)
	at de.peeeq.wurstscript.WurstChecker.checkProg(WurstChecker.java:44)
	at de.peeeq.wurstio.WurstCompilerJassImpl.checkProg(WurstCompilerJassImpl.java:358)
	at de.peeeq.wurstio.WurstCompilerJassImpl.checkProg(WurstCompilerJassImpl.java:346)
	at tests.wurstscript.tests.WurstScriptTest.testScript(WurstScriptTest.java:173)
	at tests.wurstscript.tests.RealWorldExamples.test_stdlib(RealWorldExamples.java:132)

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
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
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.
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'