Regression
tests.wurstscript.tests.ModuleTests.testModuleMemberInit2
Fehlermeldung
java.lang.Error: java.lang.NullPointerException
Stacktrace
java.lang.Error: java.lang.NullPointerException at de.peeeq.wurstio.jassinterpreter.ReflectionNativeProvider.invoke(ReflectionNativeProvider.java:90) at de.peeeq.wurstscript.intermediatelang.interpreter.ILInterpreter.runBuiltinFunction(ILInterpreter.java:145) at de.peeeq.wurstscript.intermediatelang.interpreter.ILInterpreter.runFunc(ILInterpreter.java:78) at de.peeeq.wurstscript.intermediatelang.interpreter.EvaluateExpr.evaluateFunc(EvaluateExpr.java:41) at de.peeeq.wurstscript.intermediatelang.interpreter.EvaluateExpr.eval(EvaluateExpr.java:32) at de.peeeq.wurstscript.jassIm.ImFunctionCallImpl.evaluate(ImFunctionCallImpl.java:264) at de.peeeq.wurstscript.intermediatelang.interpreter.RunStatement.run(RunStatement.java:15) at de.peeeq.wurstscript.jassIm.ImFunctionCallImpl.runStatement(ImFunctionCallImpl.java:260) at de.peeeq.wurstscript.intermediatelang.interpreter.RunStatement.run(RunStatement.java:151) at de.peeeq.wurstscript.jassIm.ImStmtsImpl.runStatements(ImStmtsImpl.java:84) at de.peeeq.wurstscript.intermediatelang.interpreter.ILInterpreter.runFunc(ILInterpreter.java:91) at de.peeeq.wurstscript.intermediatelang.interpreter.EvaluateExpr.evaluateFunc(EvaluateExpr.java:41) at de.peeeq.wurstscript.intermediatelang.interpreter.EvaluateExpr.eval(EvaluateExpr.java:32) at de.peeeq.wurstscript.jassIm.ImFunctionCallImpl.evaluate(ImFunctionCallImpl.java:264) at de.peeeq.wurstscript.intermediatelang.interpreter.RunStatement.run(RunStatement.java:15) at de.peeeq.wurstscript.jassIm.ImFunctionCallImpl.runStatement(ImFunctionCallImpl.java:260) at de.peeeq.wurstscript.intermediatelang.interpreter.RunStatement.run(RunStatement.java:151) at de.peeeq.wurstscript.jassIm.ImStmtsImpl.runStatements(ImStmtsImpl.java:84) at de.peeeq.wurstscript.intermediatelang.interpreter.ILInterpreter.runFunc(ILInterpreter.java:91) at de.peeeq.wurstscript.intermediatelang.interpreter.ILInterpreter.runVoidFunc(ILInterpreter.java:193) at de.peeeq.wurstscript.intermediatelang.interpreter.ILInterpreter.runFuncRef(ILInterpreter.java:226) at de.peeeq.wurstio.jassinterpreter.mocks.TriggerMock.lambda$evaluate$118(TriggerMock.java:27) at java.util.ArrayList.forEach(ArrayList.java:1249) at de.peeeq.wurstio.jassinterpreter.mocks.TriggerMock.evaluate(TriggerMock.java:26) at de.peeeq.wurstio.jassinterpreter.providers.TriggerProvider.TriggerEvaluate(TriggerProvider.java:26) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at de.peeeq.wurstio.jassinterpreter.ReflectionNativeProvider.invoke(ReflectionNativeProvider.java:85) at de.peeeq.wurstscript.intermediatelang.interpreter.ILInterpreter.runBuiltinFunction(ILInterpreter.java:145) at de.peeeq.wurstscript.intermediatelang.interpreter.ILInterpreter.runFunc(ILInterpreter.java:78) at de.peeeq.wurstscript.intermediatelang.interpreter.EvaluateExpr.evaluateFunc(EvaluateExpr.java:41) at de.peeeq.wurstscript.intermediatelang.interpreter.EvaluateExpr.eval(EvaluateExpr.java:32) at de.peeeq.wurstscript.jassIm.ImFunctionCallImpl.evaluate(ImFunctionCallImpl.java:264) at de.peeeq.wurstscript.intermediatelang.interpreter.EvaluateExpr.eval(EvaluateExpr.java:59) at de.peeeq.wurstscript.jassIm.ImOperatorCallImpl.evaluate(ImOperatorCallImpl.java:227) at de.peeeq.wurstscript.intermediatelang.interpreter.RunStatement.run(RunStatement.java:26) at de.peeeq.wurstscript.jassIm.ImIfImpl.runStatement(ImIfImpl.java:198) at de.peeeq.wurstscript.intermediatelang.interpreter.RunStatement.run(RunStatement.java:151) at de.peeeq.wurstscript.jassIm.ImStmtsImpl.runStatements(ImStmtsImpl.java:84) at de.peeeq.wurstscript.intermediatelang.interpreter.ILInterpreter.runFunc(ILInterpreter.java:91) at de.peeeq.wurstscript.intermediatelang.interpreter.ILInterpreter.executeFunction(ILInterpreter.java:184) at tests.wurstscript.tests.WurstScriptTest.executeImProg(WurstScriptTest.java:456) at tests.wurstscript.tests.WurstScriptTest.translateAndTest(WurstScriptTest.java:382) at tests.wurstscript.tests.WurstScriptTest.testWithoutInliningAndOptimization(WurstScriptTest.java:294) at tests.wurstscript.tests.WurstScriptTest.testScript(WurstScriptTest.java:252) at tests.wurstscript.tests.WurstScriptTest$TestConfig.run(WurstScriptTest.java:117) at tests.wurstscript.tests.WurstScriptTest$TestConfig.lines(WurstScriptTest.java:104) at tests.wurstscript.tests.WurstScriptTest.testAssertOkLinesWithStdLib(WurstScriptTest.java:204) at tests.wurstscript.tests.ModuleTests.testModuleMemberInit2(ModuleTests.java:542) 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) Caused by: java.lang.NullPointerException at de.peeeq.wurstio.jassinterpreter.mocks.TimerMock.start(TimerMock.java:33) at de.peeeq.wurstio.jassinterpreter.providers.TimerProvider.TimerStart(TimerProvider.java:33) 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 de.peeeq.wurstio.jassinterpreter.ReflectionNativeProvider.invoke(ReflectionNativeProvider.java:85) ... 100 more
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