Loading master/steamwarci.yml Statusupdate pending Building project Cloning into 'commoncore'... done. Note: switching to '0674c951aa70482bfb9238a5b87fc5ce9b2ca078'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 0674c95 Fix SWCommandUtils Add SWTypeMapperCreator Build: Executing ln -s /home/gitea/lib Build: Executing cp ~/gradle.properties . Build: Executing chmod u+x build.gradle Build: Executing ./gradlew buildProject To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.3.1/userguide/gradle_daemon.html#sec:disabling_the_daemon. Daemon will be stopped at the end of the build > Task :compileJava Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :processResources NO-SOURCE > Task :classes > Task :jar > Task :assemble > Task :compileTestJava Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :processTestResources NO-SOURCE > Task :testClasses > Task :test FAILED de.steamwar.command.ArgumentCommandTest > testTabComplete FAILED java.lang.AssertionError at ArgumentCommandTest.java:106 de.steamwar.command.ArgumentCommandTest > testPartialTabComplete FAILED java.lang.AssertionError at ArgumentCommandTest.java:113 de.steamwar.command.TypeMapperCommandTest > testTabComplete FAILED java.lang.SecurityException at TypeMapperCommandTest.java:33 Caused by: java.lang.reflect.InvocationTargetException at TypeMapperCommandTest.java:33 Caused by: java.lang.NullPointerException at TypeMapperCommandTest.java:33 17 tests completed, 3 failed > Task :testOutput Content /home/gitea/ci/commoncore/build/test-results/test/TEST-de.steamwar.command.TypeMapperCommandTest.xml: : : : : : java.lang.SecurityException : at de.steamwar.command.AbstractSWCommand.lambda$addMapper$28(AbstractSWCommand.java:215) : at de.steamwar.command.AbstractSWCommand$$Lambda$67/0x000000006742b698.accept(Unknown Source) : at de.steamwar.command.AbstractSWCommand.lambda$add$27(AbstractSWCommand.java:206) : at de.steamwar.command.AbstractSWCommand$$Lambda$77/0x0000000067431830.accept(Unknown Source) : at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) : at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) : at de.steamwar.command.AbstractSWCommand.add(AbstractSWCommand.java:206) : at de.steamwar.command.AbstractSWCommand.addMapper(AbstractSWCommand.java:210) : at de.steamwar.command.AbstractSWCommand.createMapping(AbstractSWCommand.java:109) : at de.steamwar.command.AbstractSWCommand.initialize(AbstractSWCommand.java:96) : at de.steamwar.command.AbstractSWCommand.tabComplete(AbstractSWCommand.java:82) : at de.steamwar.command.TypeMapperCommandTest.testTabComplete(TypeMapperCommandTest.java:33) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) : at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) : at java.base/java.lang.reflect.Method.invoke(Method.java:568) : at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) : at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) : at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) : at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) : at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) : at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) : at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) : at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) : at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) : at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) : at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) : at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) : at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) : at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) : at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) : at org.junit.runners.ParentRunner.run(ParentRunner.java:413) : at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110) : at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) : at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) : at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62) : at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) : at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) : at java.base/java.lang.reflect.Method.invoke(Method.java:568) : at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) : at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) : at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) : at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) : at jdk.proxy1/jdk.proxy1.$Proxy2.processTestClass(Unknown Source) : at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176) : at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) : at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) : at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) : at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) : at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133) : at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71) : at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) : at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) : Caused by: java.lang.reflect.InvocationTargetException : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) : at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) : at java.base/java.lang.reflect.Method.invoke(Method.java:568) : at de.steamwar.command.AbstractSWCommand.lambda$addMapper$28(AbstractSWCommand.java:213) : ... 54 more : Caused by: java.lang.NullPointerException: Cannot invoke "de.steamwar.command.SWTypeMapperCreator.createTypeMapper(java.util.function.Function, java.util.function.BiFunction)" because "de.steamwar.command.SWCommandUtils.swTypeMapperCreator" is null : at de.steamwar.command.SWCommandUtils.createMapper(SWCommandUtils.java:209) : at de.steamwar.command.SWCommandUtils.createMapper(SWCommandUtils.java:205) : at de.steamwar.command.SWCommandUtils.createMapper(SWCommandUtils.java:201) : at de.steamwar.command.TypeMapperCommand.getTypeMapper(TypeMapperCommand.java:38) : ... 59 more : : : : : Content /home/gitea/ci/commoncore/build/test-results/test/TEST-de.steamwar.command.ArgumentCommandTest.xml: : : : : : java.lang.AssertionError: : Expected: is <2> : but: was <0> : at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) : at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6) : at de.steamwar.AssertionUtils.assertTabCompletes(AssertionUtils.java:40) : at de.steamwar.command.ArgumentCommandTest.testTabComplete(ArgumentCommandTest.java:106) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) : at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) : at java.base/java.lang.reflect.Method.invoke(Method.java:568) : at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) : at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) : at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) : at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) : at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) : at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) : at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) : at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) : at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) : at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) : at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) : at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) : at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) : at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) : at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) : at org.junit.runners.ParentRunner.run(ParentRunner.java:413) : at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110) : at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) : at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) : at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62) : at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) : at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) : at java.base/java.lang.reflect.Method.invoke(Method.java:568) : at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) : at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) : at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) : at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) : at jdk.proxy1/jdk.proxy1.$Proxy2.processTestClass(Unknown Source) : at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176) : at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) : at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) : at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) : at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) : at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133) : at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71) : at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) : at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) : : : : java.lang.AssertionError: : Expected: is <2> : but: was <0> : at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) : at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6) : at de.steamwar.AssertionUtils.assertTabCompletes(AssertionUtils.java:40) : at de.steamwar.command.ArgumentCommandTest.testPartialTabComplete(ArgumentCommandTest.java:113) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) : at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) : at java.base/java.lang.reflect.Method.invoke(Method.java:568) : at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) : at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) : at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) : at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) : at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) : at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) : at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) : at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) : at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) : at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) : at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) : at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) : at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) : at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) : at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) : at org.junit.runners.ParentRunner.run(ParentRunner.java:413) : at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110) : at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) : at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) : at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62) : at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) : at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) : at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) : at java.base/java.lang.reflect.Method.invoke(Method.java:568) : at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) : at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) : at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) : at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) : at jdk.proxy1/jdk.proxy1.$Proxy2.processTestClass(Unknown Source) : at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176) : at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) : at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) : at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) : at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) : at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133) : at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71) : at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) : at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) : : : : : : : : : : : : FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':test'. > There were failing tests. See the report at: file:///home/gitea/ci/commoncore/build/reports/tests/test/index.html * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 9s 5 actionable tasks: 5 executed Traceback (most recent call last): File "/home/gitea/gitea-repositories/steamwar/commoncore.git/./hooks/update.d/steamwarci.py", line 108, in raise Exception("Could not run build command") Exception: Could not run build command Statusupdate failure Build failed