The job normally builds success, and then reports asynchronous execution failure, as shown below
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45.983 s
[INFO] Finished at: 2022-01-12T09:56:29+08:00
[INFO] ------------------------------------------------------------------------
ERROR: Asynchronous execution failure
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at hudson.remoting.Channel$2.adapt(Channel.java:1037)
at hudson.remoting.Channel$2.adapt(Channel.java:1031)
at hudson.remoting.FutureAdapter.get(FutureAdapter.java:60)
at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:144)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:376)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
ERROR: Asynchronous execution failure
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at hudson.remoting.Channel$2.adapt(Channel.java:1037)
at hudson.remoting.Channel$2.adapt(Channel.java:1031)
at hudson.remoting.FutureAdapter.get(FutureAdapter.java:60)
at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:144)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:376)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Solution: find the fingerprints folder in Jenkins’s home directory, delete the contents, and then build without reporting an error.
Read More:
- After asynchronous file import and springboot multipartfile upload, the @async asynchronous processing reports an error: nosuchfileexception
- Spring boot uses thread pool to realize asynchronous processing without return and asynchronous processing with return
- Asynchronous processing of HTTP request by Java_ Method 2: through deferredresult
- Asynchronous processing of HTTP request by Java_ Method 1: through callable
- [Solved] Jenkins Publish to rancher Error: ERROR: Build step failed with exception java.lang.ClassCastException: class com.
- Asynchronous callback case of Java callback function
- Three ways of thread sequence alternate execution in Java lock free programming
- Java uses single thread pool to realize multi thread sequential execution (non alternating, non synchronous)
- [Solved] Execution failed for task ‘:app:uploadCrashlyticsMappingFileRelease‘
- Error: DL failure on line 893 [How to Solve]
- [Solved] android Execution failed for task ‘:app:processDebugManifest‘
- Resources is configured in the build of Maven project to prevent the failure of resource export
- [Solved] Flyway Error: Detected applied migration not resolved locally:2 and the execution script error
- [Solved] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure error
- cuda_error_launch_failed: unspecified launch failure [How to Solve]
- [Solved] ERROR o.s.s.s.TaskUtils$LoggingErrorHandler – Unexpected error occurred in scheduled task.
- IDEA Maven Fail to Download Dependencies Error: ERROR – #org.jetbrains.idea.maven – Cannot reconnect.
- JAVA Error Illegal access: this web application instance has been stopped already. Could not load net.sf
- [Solved] Mapreducer Class Conversion error: java.lang.ClassCastException
- [Solved] Android project Compile error: error processing kotlin-stdlib-1.6.0.jar