Regression

tests.wurstscript.tests.BugTests.ticket709

Schlägt fehl seit 1 Build (Seit #1193 )
Dauer: 2,9 Sekunden.

Fehlermeldung

java.lang.Error: this expr should have been flattened: {
    i_184;
    Player565(i_184);
    >>>  null}

initPlayerArray886

Stacktrace

java.lang.Error: this expr should have been flattened: {
    i_184;
    Player565(i_184);
    >>>  null}

initPlayerArray886
	at de.peeeq.wurstscript.translation.imtojass.ExprTranslation.translate(ExprTranslation.java:98)
	at de.peeeq.wurstscript.jassIm.ImStatementExprImpl.translate(ImStatementExprImpl.java:172)
	at de.peeeq.wurstscript.translation.imtojass.StatementTranslation.translate(StatementTranslation.java:61)
	at de.peeeq.wurstscript.jassIm.ImStatementExprImpl.translate(ImStatementExprImpl.java:168)
	at de.peeeq.wurstscript.translation.imtojass.StatementTranslation.translate(StatementTranslation.java:82)
	at de.peeeq.wurstscript.jassIm.ImStmtsImpl.translate(ImStmtsImpl.java:76)
	at de.peeeq.wurstscript.translation.imtojass.StatementTranslation.translate(StatementTranslation.java:30)
	at de.peeeq.wurstscript.jassIm.ImLoopImpl.translate(ImLoopImpl.java:143)
	at de.peeeq.wurstscript.translation.imtojass.StatementTranslation.translate(StatementTranslation.java:82)
	at de.peeeq.wurstscript.jassIm.ImStmtsImpl.translate(ImStmtsImpl.java:76)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translateFunction(ImToJassTranslator.java:171)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translateFunctionTransitive(ImToJassTranslator.java:123)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translateFunctionTransitive(ImToJassTranslator.java:120)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translateFunctionTransitive(ImToJassTranslator.java:120)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translateFunctionTransitive(ImToJassTranslator.java:120)
	at de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator.translate(ImToJassTranslator.java:57)
	at de.peeeq.wurstio.WurstCompilerJassImpl.transformProgToJass(WurstCompilerJassImpl.java:515)
	at tests.wurstscript.tests.WurstScriptTest.translateAndTest(WurstScriptTest.java:467)
	at tests.wurstscript.tests.WurstScriptTest.testWithoutInliningAndOptimization(WurstScriptTest.java:373)
	at tests.wurstscript.tests.WurstScriptTest.access$000(WurstScriptTest.java:39)
	at tests.wurstscript.tests.WurstScriptTest$TestConfig.testScript(WurstScriptTest.java:196)
	at tests.wurstscript.tests.WurstScriptTest$TestConfig.run(WurstScriptTest.java:126)
	at tests.wurstscript.tests.WurstScriptTest$TestConfig.lines(WurstScriptTest.java:116)
	at tests.wurstscript.tests.WurstScriptTest.testAssertOkLinesWithStdLib(WurstScriptTest.java:323)
	at tests.wurstscript.tests.BugTests.ticket709(BugTests.java:1072)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
	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:1208)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1204)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
	at org.testng.TestNG.runSuites(TestNG.java:1049)
	at org.testng.TestNG.run(TestNG.java:1017)
	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:140)
	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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	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:132)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	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:175)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:157)
	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.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
	at java.base/java.lang.Thread.run(Thread.java:834)

Standard Ausgabe (STDOUT)

Wrong version '1bfaf7ce82149bcce464263fa4db9b4265f67f11', executing git pull to get 'e1a61914adb9cdb2a631603ce8cab651043ad288'

Standard Fehler (STDERR)

... when calling bar(2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling foo(1, 2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling bar(2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling foo(1, 2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()



... when calling bar(2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling foo(1, 2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling bar(2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling foo(1, 2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()



... when calling bar(2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling foo(1, 2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling init_Test() in testStacktrace:5
... when calling main()



... when calling bar(2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling foo(1, 2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling init_Test() in testStacktrace:5
... when calling main()



... when calling bar(2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()

... when calling foo(1, 2) in testStacktrace:17
... when calling init_Test() in testStacktrace:5
... when calling main()


   when calling bar in testStacktrace, line 17
   when calling init_Test in testStacktrace, line 5

   when calling foo in testStacktrace, line 17
   when calling init_Test in testStacktrace, line 5

   when calling bar in testStacktrace, line 17
   when calling init_Test in testStacktrace, line 5

   when calling foo in testStacktrace, line 17
   when calling init_Test in testStacktrace, line 5