Fehlschlag
tests.wurstscript.tests.GenericsTests.nullWithGeneric
Fehlermeldung
Error in File nullWithGeneric line 7: Could not find function stringFromIndex
Stacktrace
Error in File nullWithGeneric line 7: Could not find function stringFromIndex at de.peeeq.wurstscript.attributes.ErrorHandling.makeCompileError(ErrorHandling.java:35) at de.peeeq.wurstscript.attributes.ErrorHandling.addErrorOrWarning(ErrorHandling.java:25) at de.peeeq.wurstscript.attributes.ErrorHandling.addError(ErrorHandling.java:15) at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.addError(ExprFunctionCallImpl.java:566) at de.peeeq.wurstscript.attributes.ImplicitFuncs.findFromIndexFunc(ImplicitFuncs.java:31) at de.peeeq.wurstscript.types.WurstTypeBoundTypeParam.initIndex(WurstTypeBoundTypeParam.java:127) at de.peeeq.wurstscript.types.WurstTypeBoundTypeParam.getToIndex(WurstTypeBoundTypeParam.java:117) at de.peeeq.wurstscript.translation.imtranslation.ExprTranslation.wrapTranslation(ExprTranslation.java:107) at de.peeeq.wurstscript.translation.imtranslation.ExprTranslation.wrapTranslation(ExprTranslation.java:92) at de.peeeq.wurstscript.translation.imtranslation.ExprTranslation.translate(ExprTranslation.java:54) at de.peeeq.wurstscript.ast.ExprStringValImpl.imTranslateExpr(ExprStringValImpl.java:330) at de.peeeq.wurstscript.translation.imtranslation.ExprTranslation.translateExprs(ExprTranslation.java:528) at de.peeeq.wurstscript.translation.imtranslation.ExprTranslation.translateFunctionCall(ExprTranslation.java:475) at de.peeeq.wurstscript.translation.imtranslation.ExprTranslation.translateIntern(ExprTranslation.java:399) at de.peeeq.wurstscript.translation.imtranslation.ExprTranslation.translate(ExprTranslation.java:74) at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.imTranslateExpr(ExprFunctionCallImpl.java:554) at de.peeeq.wurstscript.translation.imtranslation.StmtTranslation.translate(StmtTranslation.java:31) at de.peeeq.wurstscript.ast.ExprFunctionCallImpl.imTranslateStmt(ExprFunctionCallImpl.java:562) at de.peeeq.wurstscript.translation.imtranslation.ImTranslator.translateStatements(ImTranslator.java:808) at de.peeeq.wurstscript.translation.imtranslation.TLDTranslation.translate(TLDTranslation.java:109) at de.peeeq.wurstscript.ast.InitBlockImpl.imTranslateEntity(InitBlockImpl.java:276) at de.peeeq.wurstscript.translation.imtranslation.TLDTranslation.translate(TLDTranslation.java:61) at de.peeeq.wurstscript.ast.WPackageImpl.imTranslateTLD(WPackageImpl.java:427) at de.peeeq.wurstscript.translation.imtranslation.ImTranslator.translateCompilationUnit(ImTranslator.java:311) at de.peeeq.wurstscript.translation.imtranslation.ImTranslator.translateProg(ImTranslator.java:120) at de.peeeq.wurstio.WurstCompilerJassImpl.translateProgToIm(WurstCompilerJassImpl.java:524) at tests.wurstscript.tests.WurstScriptTest.translateAndTest(WurstScriptTest.java:440) at tests.wurstscript.tests.WurstScriptTest.testWithoutInliningAndOptimization(WurstScriptTest.java:367) 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.testAssertOkLines(WurstScriptTest.java:296) at tests.wurstscript.tests.GenericsTests.nullWithGeneric(GenericsTests.java:1074) 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: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: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)