Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63697

ERROR: Asynchronous execution failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins 2.249.1
      Master - CentOS 7
      Slave - Windows Server 2016 Standard
      maven-3.5.2 (on the Slave)
      java 1.8.0_211 (on the Slave)
    • Similar Issues:

      Description

      I have a maven build job, which since recently started throwing the following error, after the build itself has been completed successfully:

      >>>Console output<<<

      INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:04 min
      [INFO] Finished at: 2020-09-15T15:46:27+03:00
      [INFO] Final Memory: 30M/392M
      [INFO] ------------------------------------------------------------------------
      Waiting for Jenkins to finish collecting data
      ERROR: Asynchronous execution failure
      java.util.concurrent.ExecutionException: java.lang.NullPointerException
      at hudson.remoting.Channel$2.adapt(Channel.java:994)
      at hudson.remoting.Channel$2.adapt(Channel.java:988)
      at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
      at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:146)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
      at hudson.remoting.UserRequest.perform(UserRequest.java:212)
      at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      at hudson.remoting.Request$2.run(Request.java:369)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      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:994)
      at hudson.remoting.Channel$2.adapt(Channel.java:988)
      at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
      at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:146)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
      at hudson.remoting.UserRequest.perform(UserRequest.java:212)
      at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      at hudson.remoting.Request$2.run(Request.java:369)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      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

      >>>Console output<<<

       

      In jenkins.log i don't find any issue around the time when the job was executed.

      The job itself executes on one of the Slaves.

      As far as i can see so far, that error doesn't seem to affect the job in any negative way, but it causes a confusion. Last time when i ran that job and i didn't see that error was 2-3 weeks ago.
      Since then i've reconfigured Jenkins to be accessible over HTTPS instead HTTP, but i doubt this has anything to do with the current issue.

      I see couple of similar issues (https://issues.jenkins-ci.org/browse/JENKINS-49588 & https://issues.jenkins-ci.org/browse/JENKINS-54547) reported in the past, but they are supposed to be fix in 2.163, moreover i don't find any fingerprint related exceptions. 

      Any help would be appreciated. Thanks in advance! 

        Attachments

          Activity

          Hide
          raihaan Raihaan Shouhell added a comment -

          Can you provide more of the stacktrace if there is any?

          Show
          raihaan Raihaan Shouhell added a comment - Can you provide more of the stacktrace if there is any?
          Hide
          thogr Thomas Gronwall added a comment -

          I think I have a similar error. I'm currently on Jenkins 2.263.1, but I got the error before I upgraded. All plugins also upgraded.

          It happens directly after maven finished and before archiving. Is it a problem with fingerprinting?

          Attached full stacktrace: jenkins-stack-trace.txt

          Snippet:
          ERROR: Asynchronous execution failure
          java.util.concurrent.ExecutionException: java.lang.NullPointerException
          at hudson.remoting.Channel$2.adapt(Channel.java:994)
          at hudson.remoting.Channel$2.adapt(Channel.java:988)
          at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
          at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
          at hudson.maven.Maven3Builder.call(Maven3Builder.java:144)
          at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
          ....

          Caused by: java.lang.NullPointerException
          at hudson.model.Fingerprint.initFacets(Fingerprint.java:1425)
          at hudson.model.Fingerprint.load(Fingerprint.java:1368)
          at hudson.model.FingerprintMap.load(FingerprintMap.java:97)
          at hudson.model.FingerprintMap.load(FingerprintMap.java:47)
          at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:161)
          at hudson.model.FingerprintMap.get(FingerprintMap.java:82)
          at hudson.model.FingerprintMap.get(FingerprintMap.java:47)
          at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:111)
          at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:68)
          at hudson.maven.reporters.MavenFingerprinter$PostBuildCallable.call(MavenFingerprinter.java:244)
          at hudson.maven.reporters.MavenFingerprinter$PostBuildCallable.call(MavenFingerprinter.java:233)
          ...
          Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to channel
          at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
          at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
          at hudson.remoting.Channel$2.adapt(Channel.java:992)
          at hudson.remoting.Channel$2.adapt(Channel.java:988)
          at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
          at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
          at hudson.maven.Maven3Builder.call(Maven3Builder.java:144)
          at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
          ...

          Show
          thogr Thomas Gronwall added a comment - I think I have a similar error. I'm currently on  Jenkins 2.263.1 , but I got the error before I upgraded. All plugins also upgraded. It happens directly after maven finished and before archiving. Is it a problem with fingerprinting? Attached full stacktrace:  jenkins-stack-trace.txt Snippet: ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.NullPointerException at hudson.remoting.Channel$2.adapt(Channel.java:994) at hudson.remoting.Channel$2.adapt(Channel.java:988) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:144) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) .... Caused by: java.lang.NullPointerException at hudson.model.Fingerprint.initFacets(Fingerprint.java:1425) at hudson.model.Fingerprint.load(Fingerprint.java:1368) at hudson.model.FingerprintMap.load(FingerprintMap.java:97) at hudson.model.FingerprintMap.load(FingerprintMap.java:47) at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:161) at hudson.model.FingerprintMap.get(FingerprintMap.java:82) at hudson.model.FingerprintMap.get(FingerprintMap.java:47) at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:111) at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:68) at hudson.maven.reporters.MavenFingerprinter$PostBuildCallable.call(MavenFingerprinter.java:244) at hudson.maven.reporters.MavenFingerprinter$PostBuildCallable.call(MavenFingerprinter.java:233) ... Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to channel at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel$2.adapt(Channel.java:992) at hudson.remoting.Channel$2.adapt(Channel.java:988) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:144) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) ...
          Hide
          raihaan Raihaan Shouhell added a comment -

          From reading the code it looks like one of the fingerprint files is corrupt

          Show
          raihaan Raihaan Shouhell added a comment - From reading the code it looks like one of the fingerprint files is corrupt

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dilyan_angelov Dilyan Angelov
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: