Regression
tests.wurstscript.tests.RealWorldExamples.setFrottyBugEscaperData
Fehlermeldung
java.lang.Error: this expr should have been flattened: { i_181; Player587(i_181); >>> null} initPlayerArray203
Stacktrace
java.lang.Error: this expr should have been flattened: { i_181; Player587(i_181); >>> null} initPlayerArray203 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.file(WurstScriptTest.java:219) at tests.wurstscript.tests.WurstScriptTest.testAssertOkFileWithStdLib(WurstScriptTest.java:319) at tests.wurstscript.tests.RealWorldExamples.setFrottyBugEscaperData(RealWorldExamples.java:94) 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.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 Fehler (STDERR)
Running <Angle:78 - testAngle>.. OK! Running <BitSet:31 - testContains>.. OK! Running <BitSet:45 - testAdd>.. OK! Running <BitSet:48 - testRemove>.. OK! Running <BitwiseTests:5 - byteTestsNegative>.. OK! Running <BitwiseTests:14 - byteTestsPositive>.. OK! Running <BitwiseTests:23 - bitStringTests>.. OK! Running <BitwiseTests:33 - shiftTests>.. OK! Running <BitwiseTests:47 - tests32>.. OK! Running <BufferTests:52 - stringBufferEmptyStringTest>.. OK! Running <BufferTests:66 - stringBufferShortSerializationTest>.. OK! Running <BufferTests:88 - stringBufferLongSerializationTest>.. OK! Running <BufferTests:106 - stringBufferSerializableTest>.. OK! Running <BufferTests:130 - hashBufferTestSerialization>.. OK! Running <ClosureEventsTests:4 - testEvents>.. OK! Running <ClosureTimers:180 - testDoAfter>.. OK! Running <Colors:212 - testColors>.. OK! Running <Colors:223 - testColorNames>.. OK! Running <Colors:231 - testPlayerColorConversion>.. OK! Running <Colors:238 - testPlayerFromColorName>.. OK! Running <Destructable:72 - testDestructables>.. OK! Running <Dialog:46 - testDialog>.. OK! Running <Effect:210 - testEffect>.. OK! Running <ForceTests:8 - testForce>.. OK! Running <ForceTests:20 - testForForce>.. OK! Running <GameCacheTests:8 - testGameCache>.. OK! Running <GroupTests:4 - testGroupBasic>.. OK! Running <GroupTests:23 - testGroupForLoops>.. OK! Running <GroupTests:41 - testRandom>.. OK! Running <GroupTests:61 - testHandleId>.. OK! Running <GroupTests:71 - testVararg>.. OK! Running <HashListTests:5 - testAdd>.. OK! Running <HashListTests:11 - testSet>.. OK! Running <HashListTests:19 - testAddAll>.. OK! Running <HashListTests:36 - testClear>.. OK! Running <HashListTests:44 - testRemoveAll>.. OK! Running <HashListTests:52 - testRemoveAt>.. OK! Running <HashListTests:61 - testRemove>.. OK! Running <HashListTests:70 - testSize>.. OK! Running <HashListTests:78 - testIsEmpty>.. OK! Running <HashListTests:85 - testGet>.. OK! Running <HashListTests:92 - testHas>.. OK! Running <HashListTests:105 - testIterator>.. OK! Running <HashListTests:118 - testCopy>.. OK! Running <HashListTests:130 - testCopyConstructor>.. OK! Running <HashListTests:142 - testHasAt>.. OK! Running <HashMapTests:5 - testHas>.. OK! Running <HashMapTests:12 - testPutGet>.. OK! Running <HashMapTests:21 - testRemove>.. OK! Running <HashMapTests:30 - testBooleanHashmap>.. OK! Running <HashMapTests:37 - testSize>.. OK! Running <HashMapTests:62 - testIterableMap>.. OK! Running <HashMapTests:84 - testIMIterator>.. OK! Running <HashMapTests:97 - testIMGetPut>.. OK! Running <HashMapTests:110 - testIMHasKeyRemove>.. OK! Running <HashMapTests:122 - testIMRemoveValue>.. OK! Running <HashMapTests:137 - testIMAddAll>.. OK! Running <HashMapTests:156 - testIMCopy>.. OK! Running <HashMapTests:168 - testIMCopyConstructor>.. OK! Running <HashMapTests:180 - testIMFlush>.. OK! Running <HashSetTests:5 - testHashSet>.. OK! Running <HashSetTests:29 - testFenixOrder>.. OK! Running <HashSetTests:35 - testRemoval>.. OK! Running <HashtableTests:4 - testBasicDatatypes>.. OK! Running <HashtableTests:22 - testFlushing>.. OK! Running <HashtableTests:36 - testOverwrite>.. OK! Running <HashtableTests:45 - testRemove>.. OK! Running <Interpolation:124 - linearVecTest>.. OK! Running <Interpolation:129 - testVec2Bezier3>.. OK! Running <Interpolation:139 - testVec2DerivBezier3>.. OK! Running <Interpolation:147 - testVec2Bezier4>.. OK! Running <Interpolation:158 - testVec2DerivBezier4>.. OK! Running <Interpolation:167 - testVec3Bezier3>.. OK! Running <Interpolation:177 - testVec3DerivBezier3>.. OK! Running <Interpolation:185 - testVec3Bezier4>.. OK! Running <Interpolation:196 - testVec3DerivBezier4>.. OK! Running <LinkedListModuleTests:18 - test>.. OK! Running <LinkedListModuleTests:35 - testDestroy>.. OK! Running <LinkedListTests:5 - testAddRemove>.. OK! Running <LinkedListTests:20 - testForLoop>.. OK! Running <LinkedListTests:33 - testBackIter>.. OK! Running <LinkedListTests:45 - testAddAll>.. OK! Running <LinkedListTests:61 - testAddVararg>.. OK! Running <LinkedListTests:78 - testClosures>.. OK! Running <LinkedListTests:92 - testGenerics>.. OK! Running <LinkedListTests:104 - testSort>.. OK! Running <LinkedListTests:129 - testAddAt>.. OK! Running <LinkedListTests:139 - testRemoveWhen>.. OK! Running <LinkedListTests:147 - testFilter>.. OK! Running <LinkedListTests:155 - testFoldl>.. OK! Running <LinkedListTests:162 - testToString>.. OK! Running <LinkedListTests:169 - testSortReal>.. OK! Running <LinkedListTests:177 - testAsList>.. OK! Running <LinkedListTests:182 - testStringHashCollission>.. OK! Running <MapBounds:63 - testMapBounds>.. OK! Running <Maths:71 - minmax>.. OK! Running <Maths:79 - test_hypot>.. OK! Running <MatricesTests:8 - test22PlusMat>.. OK! Running <MatricesTests:13 - test22PlusScalar>.. OK! Running <MatricesTests:16 - test22MinusMat>.. OK! Running <MatricesTests:21 - test22MinusScalar>.. OK! Running <MatricesTests:24 - test22MultMat>.. OK! Running <MatricesTests:29 - test22MultVec>.. OK! Running <MatricesTests:34 - test22MultScalar>.. OK! Running <MatricesTests:39 - test22Col>.. OK! Running <MatricesTests:44 - test22Row>.. OK! Running <MatricesTests:49 - test22Transpose>.. OK! Running <MatricesTests:56 - test22Determinant>.. OK! Running <MatricesTests:61 - test22Inverse>.. OK! Running <MatricesTests:75 - test22Angle2Mat>.. OK! Running <MatricesTests:80 - test22Scaling>.. OK! Running <MatricesTests:87 - test33PlusMat>.. OK! Running <MatricesTests:99 - test33PlusScalar>.. OK! Running <MatricesTests:102 - test33MinusMat>.. OK! Running <MatricesTests:114 - test33MinusScalar>.. OK! Running <MatricesTests:117 - test33MultMat>.. OK! Running <MatricesTests:133 - test33MultVec>.. OK! Running <MatricesTests:140 - test33MultScalar>.. OK! Running <MatricesTests:145 - test33Col>.. OK! Running <MatricesTests:151 - test33Row>.. OK! Running <MatricesTests:157 - test33Transpose>.. OK! Running <MatricesTests:166 - test33Trace>.. OK! Running <MatricesTests:169 - test33Determinant>.. OK! Running <MatricesTests:173 - test33Inverse>.. OK! Running <MatricesTests:187 - test33Axis2Mat>.. OK! Running <MatricesTests:197 - test33Angle2Mat>.. OK! Running <MatricesTests:207 - test33Scaling>.. OK! Running <MatricesTests:218 - test33Mat2Euler>.. OK! Running <MatricesTests:233 - test33rotationsXYZ>.. OK! Running <MatricesTests:243 - testMat3Translation>.. OK! Running <MatricesTests:248 - testInverse22>.. OK! Running <MatricesTests:253 - testInverse33>.. OK! Running <ObjectIds:69 - asListIntTest>.. OK! Running <ObjectIds:76 - asListStringTest>.. OK! Running <ObjectIds:82 - test_idString2IdInteger>.. OK! Running <ObjectIds:87 - test_idInteger2IdString>.. OK! Running <Player:155 - testPlayer>.. OK! Running <Playercolor:75 - testToInt>.. OK! Running <Playercolor:79 - testToPlayerColor>.. OK! Running <Playercolor:83 - testGetPlayer>.. OK! Running <Playercolor:87 - testGetPlayers>.. OK! Running <PrimitivesTests:4 - testClamp>.. OK! Running <PrimitivesTests:13 - testR2SW>.. OK! Running <PrimitivesTests:18 - testArithmetics>.. OK! Running <PrimitivesTests:29 - testBoolean>.. OK! Running <QuaternionTests:7 - testPlusQuat>.. OK! Running <QuaternionTests:11 - testPlusScalar>.. OK! Running <QuaternionTests:15 - testMinusQuat>.. OK! Running <QuaternionTests:19 - testMinusScalar>.. OK! Running <QuaternionTests:22 - testMultScalar>.. OK! Running <QuaternionTests:26 - testConjugate>.. OK! Running <QuaternionTests:29 - testCross>.. OK! Running <QuaternionTests:32 - testDot>.. OK! Running <QuaternionTests:35 - testNorm>.. OK! Running <QuaternionTests:40 - testLength>.. OK! Running <QuaternionTests:45 - testQuat2Mat>.. OK! Running <QuaternionTests:52 - testAxisExtracting>.. OK! Running <QuaternionTests:62 - testVec2Quat>.. OK! Running <QuaternionTests:68 - testAngle2Quat>.. OK! Running <QuaternionTests:74 - testQuat2Euler>.. OK! Running <QuaternionTests:87 - testVec3Rotate>.. OK! Running <QuaternionTests:91 - test33Mat2Quat>.. OK! Running <QuaternionTests:98 - testLerp>.. OK! Running <QuaternionTests:112 - testNlerp>.. OK! Running <QuaternionTests:121 - testSlerp>.. OK! Running <QuaternionTests:130 - testGetGimbalPole>.. OK! Running <QuaternionTests:138 - testExp>.. OK! Running <Raycast:305 - testProjection2d>.. OK! Running <Raycast:318 - testLine>.. OK! Running <Raycast:332 - testRay>.. OK! Running <Raycast:344 - testSegment>.. OK! Running <Raycast:359 - testCircle>.. OK! Running <Raycast:395 - testProjection3d>.. OK! Running <Raycast:408 - testPlane>.. OK! Running <Raycast:426 - testDisk>.. OK! Running <Raycast:436 - testSphere>.. OK! Running <Raycast:471 - testTriangle>.. OK! Running <StringTests:3 - testToCharsetInt>.. OK! Running <StringTests:9 - testSubstring>.. OK! Running <StringTests:13 - testLength>.. OK! Running <StringTests:16 - testCharAt>.. OK! Running <StringTests:21 - testEndsWith>.. OK! Running <StringTests:27 - testStartsWith>.. OK! Running <StringTests:33 - testToLowerCase>.. OK! Running <StringTests:36 - testToUpperCase>.. OK! Running <StringTests:39 - testIsUpper>.. OK! Running <StringTests:43 - testTrim>.. OK! Running <StringTests:76 - testIndexOf>.. OK! Running <StringTests:82 - testLastIndexOf>.. OK! Running <StringTests:87 - testCountOccurences>.. OK! Running <StringTests:92 - testContains>.. OK! Running <StringTests:96 - testIsWhitespace>.. OK! Running <StringTests:103 - testFirstUpper>.. OK! Running <StringTests:107 - testReplace>.. OK! Running <StringTests:112 - testGetHash>.. OK! Running <StringTests:115 - testFormat>.. OK! Running <StringTests:121 - testIterator>.. OK! Running <StringTests:127 - testConversion>.. OK! Running <StringUtilsTests:6 - testSplit>.. OK! Running <StringUtilsTests:25 - testJoin>.. OK! Running <StringUtilsTests:34 - testReduce>.. OK! Running <StringUtilsTests:38 - testChar>.. OK! Running <TerrainUtils:154 - testMapCorners>.. OK! Running <TerrainUtils:160 - testUpperBound>.. OK! Running <TerrainUtils:169 - testLowerBound>.. OK! Running <Vectors:470 - vectorTests>.. OK! Running <Vectors:480 - testIsInTriangle>.. OK! Running <Vectors:490 - testIsInPolygon>.. OK! Tests succeeded: 208/208 >> All tests have passed successfully!