Regression

tests.wurstscript.tests.ModuleTests.initdestroy

Schlägt fehl seit 1 Build (Seit #871 )
Dauer: 0,25 Sekunden.

Fehlermeldung

java.lang.ClassCastException: de.peeeq.wurstscript.intermediatelang.ILconstNull cannot be cast to de.peeeq.wurstscript.intermediatelang.ILconstAddable

Stacktrace

java.lang.ClassCastException: de.peeeq.wurstscript.intermediatelang.ILconstNull cannot be cast to de.peeeq.wurstscript.intermediatelang.ILconstAddable
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$2$2.getLeftAddable(JassInterpreter.java:284)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$2$2.case_JassOpPlus(JassInterpreter.java:355)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$2$2.case_JassOpPlus(JassInterpreter.java:273)
	at de.peeeq.wurstscript.jassAst.JassOpPlusImpl.match(JassOpPlusImpl.java:59)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$2.case_JassExprBinary(JassInterpreter.java:273)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$2.case_JassExprBinary(JassInterpreter.java:228)
	at de.peeeq.wurstscript.jassAst.JassExprBinaryImpl.match(JassExprBinaryImpl.java:107)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeExpr(JassInterpreter.java:228)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.access$000(JassInterpreter.java:21)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$1.case_JassStmtSet(JassInterpreter.java:133)
	at de.peeeq.wurstscript.jassAst.JassStmtSetImpl.match(JassStmtSetImpl.java:89)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatement(JassInterpreter.java:121)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatements(JassInterpreter.java:115)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeJassFunction(JassInterpreter.java:99)
	at de.peeeq.wurstio.jassinterpreter.UserDefinedJassFunction.execute(ExecutableJassFunction.java:27)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeFunction(JassInterpreter.java:67)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$1.case_JassStmtCall(JassInterpreter.java:185)
	at de.peeeq.wurstscript.jassAst.JassStmtCallImpl.match(JassStmtCallImpl.java:90)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatement(JassInterpreter.java:121)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatements(JassInterpreter.java:115)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeJassFunction(JassInterpreter.java:99)
	at de.peeeq.wurstio.jassinterpreter.UserDefinedJassFunction.execute(ExecutableJassFunction.java:27)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeFunction(JassInterpreter.java:67)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$1.case_JassStmtCall(JassInterpreter.java:185)
	at de.peeeq.wurstscript.jassAst.JassStmtCallImpl.match(JassStmtCallImpl.java:90)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatement(JassInterpreter.java:121)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatements(JassInterpreter.java:115)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeJassFunction(JassInterpreter.java:99)
	at de.peeeq.wurstio.jassinterpreter.UserDefinedJassFunction.execute(ExecutableJassFunction.java:27)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeFunction(JassInterpreter.java:67)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$1.case_JassStmtCall(JassInterpreter.java:185)
	at de.peeeq.wurstscript.jassAst.JassStmtCallImpl.match(JassStmtCallImpl.java:90)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatement(JassInterpreter.java:121)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatements(JassInterpreter.java:115)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeJassFunction(JassInterpreter.java:99)
	at de.peeeq.wurstio.jassinterpreter.UserDefinedJassFunction.execute(ExecutableJassFunction.java:27)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeFunction(JassInterpreter.java:67)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$2.case_JassExprFunctionCall(JassInterpreter.java:398)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$2.case_JassExprFunctionCall(JassInterpreter.java:228)
	at de.peeeq.wurstscript.jassAst.JassExprFunctionCallImpl.match(JassExprFunctionCallImpl.java:87)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeExpr(JassInterpreter.java:228)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.access$000(JassInterpreter.java:21)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$1.case_JassStmtCall(JassInterpreter.java:182)
	at de.peeeq.wurstscript.jassAst.JassStmtCallImpl.match(JassStmtCallImpl.java:90)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatement(JassInterpreter.java:121)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatements(JassInterpreter.java:115)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeJassFunction(JassInterpreter.java:99)
	at de.peeeq.wurstio.jassinterpreter.UserDefinedJassFunction.execute(ExecutableJassFunction.java:27)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeFunction(JassInterpreter.java:67)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter$1.case_JassStmtCall(JassInterpreter.java:185)
	at de.peeeq.wurstscript.jassAst.JassStmtCallImpl.match(JassStmtCallImpl.java:90)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatement(JassInterpreter.java:121)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeStatements(JassInterpreter.java:115)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeJassFunction(JassInterpreter.java:99)
	at de.peeeq.wurstio.jassinterpreter.UserDefinedJassFunction.execute(ExecutableJassFunction.java:27)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.executeFunction(JassInterpreter.java:67)
	at de.peeeq.wurstio.jassinterpreter.JassInterpreter.runProgram(JassInterpreter.java:491)
	at tests.wurstscript.tests.WurstScriptTest.executeJassProg(WurstScriptTest.java:474)
	at tests.wurstscript.tests.WurstScriptTest.translateAndTest(WurstScriptTest.java:415)
	at tests.wurstscript.tests.WurstScriptTest.testWithLocalOptimizations(WurstScriptTest.java:291)
	at tests.wurstscript.tests.WurstScriptTest.testScript(WurstScriptTest.java:258)
	at tests.wurstscript.tests.WurstScriptTest$TestConfig.run(WurstScriptTest.java:119)
	at tests.wurstscript.tests.WurstScriptTest$TestConfig.file(WurstScriptTest.java:139)
	at tests.wurstscript.tests.WurstScriptTest.testAssertOkFile(WurstScriptTest.java:199)
	at tests.wurstscript.tests.ModuleTests.initdestroy(ModuleTests.java:50)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:571)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:707)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:979)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:648)
	at org.testng.TestRunner.run(TestRunner.java:505)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1183)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1116)
	at org.testng.TestNG.runSuites(TestNG.java:1028)
	at org.testng.TestNG.run(TestNG.java:996)
	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:139)
	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
	at com.sun.proxy.$Proxy2.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.stop(TestWorker.java:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137)
	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
	at java.lang.Thread.run(Thread.java:745)

Standard Fehler (STDERR)

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
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
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test:1
size test2:1
size test3:1
constructed
size test2:1
constructed
size test2:1
constructed
size test2:1
constructed
size test2:1
constructed
size test2:1
constructed
size test2:1
constructed
size test2:1
constructed
size test2:1
constructed
size test2:1
constructed
size test2:1
constructed
size test2:1
constructed
size test2:1