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

java.lang.ClassCastException/NPE in Remoting while executing Maven Builder

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not A Defect
    • core, maven-plugin, remoting
    • Jenkins Build slave in linux RHEL os, Jenkins 1.518, JDK 7, Maven 3.0.3 etc.

    Description

      We are getting below exception in case of all the builds on JDK 7, Maven 3.0.3 even in case of successful build scenarion.

      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 45:36.641s
      [INFO] Finished at: Wed Dec 31 15:26:27 IST 2014
      [INFO] Final Memory: 226M/605M
      [INFO] ------------------------------------------------------------------------
      ERROR: Asynchronous execution failure
      java.util.concurrent.ExecutionException: java.lang.ClassCastException
      at hudson.remoting.Channel$3.adapt(Channel.java:784)
      at hudson.remoting.Channel$3.adapt(Channel.java:779)
      at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
      at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
      at hudson.remoting.UserRequest.perform(UserRequest.java:121)
      at hudson.remoting.UserRequest.perform(UserRequest.java:49)
      at hudson.remoting.Request$2.run(Request.java:324)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.ClassCastException
      ERROR: Asynchronous execution failure
      java.util.concurrent.ExecutionException: java.lang.ClassCastException
      at hudson.remoting.Channel$3.adapt(Channel.java:784)
      at hudson.remoting.Channel$3.adapt(Channel.java:779)
      at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
      at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
      at hudson.remoting.UserRequest.perform(UserRequest.java:121)
      at hudson.remoting.UserRequest.perform(UserRequest.java:49)
      at hudson.remoting.Request$2.run(Request.java:324)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.ClassCastException
      ERROR: Asynchronous execution failure

      Need help to know the fix of the same problem.

      Attachments

        Issue Links

          Activity

            jenkinsswapnil swapnil soor added a comment -

            ANY UPDATE ON THIS, THIS IS CAUSING RELEASE BUILD ERRORS......PLEASE PROVIDE THE SOLUTION. THANKS!

            jenkinsswapnil swapnil soor added a comment - ANY UPDATE ON THIS, THIS IS CAUSING RELEASE BUILD ERRORS......PLEASE PROVIDE THE SOLUTION. THANKS!
            danielbeck Daniel Beck added a comment -

            First off, ALL CAPS TEXT IS CONSIDERED YELLING so stop that. Besides, it's both more difficult to read and unprofessional, making you look like a 12 year old.

            Second, you should read and follow the advice of https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue because this report doesn't contain nearly enough information to investigate further. In fact, the little information it contains is partially wrong (Flowdock Plugin and Plugin Usage Plugin have absolutely nothing to do with your problem), which means it's your own fault nobody cares. You addressed the report to completely wrong components.

            Third, everyone handling these reports is an unpaid volunteer working in their spare time and under no obligation to do anything. This, combined with the previous two points means that it's unlikely you'll get help here.

            There are companies providing paid support for Jenkins (e.g. CloudBees when buying a Jenkins Enterprise subscription). Consider going that route to get guaranteed response times.

            danielbeck Daniel Beck added a comment - First off, ALL CAPS TEXT IS CONSIDERED YELLING so stop that. Besides, it's both more difficult to read and unprofessional, making you look like a 12 year old. Second, you should read and follow the advice of https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue because this report doesn't contain nearly enough information to investigate further. In fact, the little information it contains is partially wrong (Flowdock Plugin and Plugin Usage Plugin have absolutely nothing to do with your problem), which means it's your own fault nobody cares. You addressed the report to completely wrong components. Third, everyone handling these reports is an unpaid volunteer working in their spare time and under no obligation to do anything. This, combined with the previous two points means that it's unlikely you'll get help here. There are companies providing paid support for Jenkins (e.g. CloudBees when buying a Jenkins Enterprise subscription). Consider going that route to get guaranteed response times.
            oleg_nenashev Oleg Nenashev added a comment -

            +1 regarding Daniel's comments

            Regarding the issue...
            Probably, it's a bug in remoting layer. Seems the provided stacktrace is incomplete, so it's impossible to find the real cause.

            The core is quite old (1.518), so as a first step I would recommend updating to the latest or latest LTS version.

            oleg_nenashev Oleg Nenashev added a comment - +1 regarding Daniel's comments Regarding the issue... Probably, it's a bug in remoting layer. Seems the provided stacktrace is incomplete, so it's impossible to find the real cause. The core is quite old (1.518), so as a first step I would recommend updating to the latest or latest LTS version.
            jenkinsswapnil swapnil soor added a comment -

            Sorry for irritation caused due to cap letter , I had no intentions to do so. I do understand being this a free service nobody is obliged to provide guaranteed response. But most of the time I found good solutions by the experts here only.

            Anyways thanks for the response Daniel. I will change the component to core, thanks!

            @Oleg, Sorry the Jenkins Version Used is: 1.588, we had upgraded this recently. I have provided only the error snippet, may be I might have missed in our setup which is leading to this error, any clue/pointer in debuging would be helpful.

            Since it was throwing the exception in hudson packages, I thought its a coding bug. On jenkins console I am getting below exception though the build is successful, right after Maven Build Success message.
            Error is repetitive hence didn't posted the whole thread:

            [INFO] Final Memory: 245M/562M
            [INFO] ------------------------------------------------------------------------
            ERROR: Asynchronous execution failure
            java.util.concurrent.ExecutionException: java.lang.ClassCastException
            at hudson.remoting.Channel$3.adapt(Channel.java:784)
            at hudson.remoting.Channel$3.adapt(Channel.java:779)
            at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
            at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
            at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
            at hudson.remoting.UserRequest.perform(UserRequest.java:121)
            at hudson.remoting.UserRequest.perform(UserRequest.java:49)
            at hudson.remoting.Request$2.run(Request.java:324)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
            at java.util.concurrent.FutureTask.run(FutureTask.java:166)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
            at java.lang.Thread.run(Thread.java:701)
            Caused by: java.lang.ClassCastException
            line no..21
            ..
            ..
            line no..2020
            ERROR: Asynchronous execution failure
            java.util.concurrent.ExecutionException: java.lang.ClassCastException
            at hudson.remoting.Channel$3.adapt(Channel.java:784)
            at hudson.remoting.Channel$3.adapt(Channel.java:779)
            at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
            at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
            at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
            at hudson.remoting.UserRequest.perform(UserRequest.java:121)
            at hudson.remoting.UserRequest.perform(UserRequest.java:49)
            at hudson.remoting.Request$2.run(Request.java:324)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
            at java.util.concurrent.FutureTask.run(FutureTask.java:166)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
            at java.lang.Thread.run(Thread.java:701)
            Caused by: java.lang.ClassCastException
            at .(Unknown Source)
            at ......remote call to channel(Native Method)
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
            at hudson.remoting.Channel$3.adapt(Channel.java:782)
            ... 14 more
            ERROR: Asynchronous execution failure
            java.util.concurrent.ExecutionException: java.lang.ClassCastException
            at hudson.remoting.Channel$3.adapt(Channel.java:784)
            at hudson.remoting.Channel$3.adapt(Channel.java:779)
            at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
            at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
            at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
            at hudson.remoting.UserRequest.perform(UserRequest.java:121)
            at hudson.remoting.UserRequest.perform(UserRequest.java:49)
            at hudson.remoting.Request$2.run(Request.java:324)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
            at java.util.concurrent.FutureTask.run(FutureTask.java:166)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
            at java.lang.Thread.run(Thread.java:701)
            Caused by: java.lang.ClassCastException
            at .(Unknown Source)
            at ......remote call to channel(Native Method)
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
            at hudson.remoting.Channel$3.adapt(Channel.java:782)
            ... 14 more
            [JENKINS] Archiving /home/build/slave/workspace/

            Please any step I need to do, to find out the issue. Thanks in advance!

            Regards,
            Swapnil

            jenkinsswapnil swapnil soor added a comment - Sorry for irritation caused due to cap letter , I had no intentions to do so. I do understand being this a free service nobody is obliged to provide guaranteed response. But most of the time I found good solutions by the experts here only. Anyways thanks for the response Daniel. I will change the component to core, thanks! @Oleg, Sorry the Jenkins Version Used is: 1.588, we had upgraded this recently. I have provided only the error snippet, may be I might have missed in our setup which is leading to this error, any clue/pointer in debuging would be helpful. Since it was throwing the exception in hudson packages, I thought its a coding bug. On jenkins console I am getting below exception though the build is successful, right after Maven Build Success message. Error is repetitive hence didn't posted the whole thread: [INFO] Final Memory: 245M/562M [INFO] ------------------------------------------------------------------------ ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: java.lang.ClassCastException line no..21 .. .. line no..2020 ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: java.lang.ClassCastException at .(Unknown Source) at ......remote call to channel(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel$3.adapt(Channel.java:782) ... 14 more ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: java.lang.ClassCastException at .(Unknown Source) at ......remote call to channel(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel$3.adapt(Channel.java:782) ... 14 more [JENKINS] Archiving /home/build/slave/workspace/ Please any step I need to do, to find out the issue. Thanks in advance! Regards, Swapnil
            danielbeck Daniel Beck added a comment -

            Make sure the slave.jar on the slaves is up to date. VersionColumn Plugin can help you with that. SSH Slaves take care of this automatically, but if you're launching using a different mechanism, that may be a problem.

            danielbeck Daniel Beck added a comment - Make sure the slave.jar on the slaves is up to date. VersionColumn Plugin can help you with that. SSH Slaves take care of this automatically, but if you're launching using a different mechanism, that may be a problem.
            jenkinsswapnil swapnil soor added a comment -

            Hi Daniel,

            Thanks for the pointer, I have installed the VersionColumn Plugin, and its not complaining for any of the slave jars, so I believe that's not the issue. Moreover, when I am trying a release build, I am executing it on master server only where Jenkins is installed and not using any slave.

            When I did further analysis between various build jobs I have, found a pattern that its causing this exception only for the job which is having a heavy maven build in terms of modules, which takes almost an hour for us to get all the modules built, may be it has some relation with timing or some threading issue in the core part of code which is leading to this error. Just wanted to share my analysis, might give you some clue to diagnose the problem. Thanks!

            Regards,
            Swapnil

            jenkinsswapnil swapnil soor added a comment - Hi Daniel, Thanks for the pointer, I have installed the VersionColumn Plugin, and its not complaining for any of the slave jars, so I believe that's not the issue. Moreover, when I am trying a release build, I am executing it on master server only where Jenkins is installed and not using any slave. When I did further analysis between various build jobs I have, found a pattern that its causing this exception only for the job which is having a heavy maven build in terms of modules, which takes almost an hour for us to get all the modules built, may be it has some relation with timing or some threading issue in the core part of code which is leading to this error. Just wanted to share my analysis, might give you some clue to diagnose the problem. Thanks! Regards, Swapnil
            madhumalempati Madhu Chandar Malempati added a comment - - edited

            Hi Swapnil,

            I am now facing the same exception and couldn't able to find out the root cause. I can see that it's a long time back you faced this exeception. But can you please help me resolve this issue if you have any track of it.
            Slave.jar as mentioned by daniel seems to be fine in my case

            madhumalempati Madhu Chandar Malempati added a comment - - edited Hi Swapnil, I am now facing the same exception and couldn't able to find out the root cause. I can see that it's a long time back you faced this exeception. But can you please help me resolve this issue if you have any track of it. Slave.jar as mentioned by daniel seems to be fine in my case
            oleg_nenashev Oleg Nenashev added a comment -

            ClassCastException is being suppressed in the logs.
            It would be great if somebody adds "-XX:-OmitStackTraceInFastThrow" flag to the JVM instance and reproduces the issue. In such case we would have a log entry with more info.

            oleg_nenashev Oleg Nenashev added a comment - ClassCastException is being suppressed in the logs. It would be great if somebody adds "-XX:-OmitStackTraceInFastThrow" flag to the JVM instance and reproduces the issue. In such case we would have a log entry with more info.
            jmmckinnon jmmckinnon added a comment - - edited

            We are seeing this issue as well. Jenkins 1.596-1 (LTS), Maven 3.2.2. Windows 7 Jenkins master, Windows (Webstart) slaves. I am not sure how long it's been going on but someone reported it to me last week, and I found this and enabled -XX:-OmitStackTraceInFastThrow and here's what our stack trace looks like:

            Important part seems to be:

            java.util.concurrent.ExecutionException: java.lang.ClassCastException: hudson.model.Fingerprint$RangeSet cannot be cast to hudson.model.Fingerprint
            

            It prints I'm guessing one or more times per artifact in the build. Here's one complete stacktrace which is the first following build success (there are probably 40-50 in our build, pages and pages, before it logs the artifact archiving)

            [INFO] BUILD SUCCESS
            [INFO] ------------------------------------------------------------------------
            [INFO] Total time: 28:15 min
            [INFO] Finished at: 2015-09-25T12:31:20-04:00
            [INFO] Final Memory: 156M/1139M
            [INFO] ------------------------------------------------------------------------
            ERROR: Asynchronous execution failure
            java.util.concurrent.ExecutionException: java.lang.ClassCastException: hudson.model.Fingerprint$RangeSet cannot be cast to hudson.model.Fingerprint
            	at hudson.remoting.Channel$3.adapt(Channel.java:784)
            	at hudson.remoting.Channel$3.adapt(Channel.java:779)
            	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            	at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
            	at hudson.remoting.Request$2.run(Request.java:324)
            	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            	at java.lang.Thread.run(Thread.java:745)
            Caused by: java.lang.ClassCastException: hudson.model.Fingerprint$RangeSet cannot be cast to hudson.model.Fingerprint
            	at hudson.model.Fingerprint.load(Fingerprint.java:1250)
            	at hudson.model.Fingerprint.load(Fingerprint.java:1238)
            	at hudson.model.FingerprintMap.load(FingerprintMap.java:94)
            	at hudson.model.FingerprintMap.load(FingerprintMap.java:45)
            	at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:154)
            	at hudson.model.FingerprintMap.get(FingerprintMap.java:79)
            	at hudson.model.FingerprintMap.get(FingerprintMap.java:45)
            	at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:108)
            	at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:65)
            	at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:125)
            	at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:112)
            	at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:423)
            	at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:551)
            	at sun.reflect.GeneratedMethodAccessor358.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            	at java.lang.reflect.Method.invoke(Method.java:601)
            	at hudson.model.Executor$1.call(Executor.java:579)
            	at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
            	at $Proxy54.execute(Unknown Source)
            	at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:294)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
            	at hudson.remoting.Request$2.run(Request.java:324)
            	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            	at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18)
            	at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
            	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
            	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
            	at java.lang.Thread.run(Thread.java:722)
            	at ......remote call to channel(Native Method)
            	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
            	at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
            	at hudson.remoting.Channel$3.adapt(Channel.java:782)
            	... 13 more
            ERROR: Asynchronous execution failure
            

            It is also worth noting I installed the Version Column plugin and verified our build slaves are the same version as the Jenkins master.

            jmmckinnon jmmckinnon added a comment - - edited We are seeing this issue as well. Jenkins 1.596-1 (LTS), Maven 3.2.2. Windows 7 Jenkins master, Windows (Webstart) slaves. I am not sure how long it's been going on but someone reported it to me last week, and I found this and enabled -XX:-OmitStackTraceInFastThrow and here's what our stack trace looks like: Important part seems to be: java.util.concurrent.ExecutionException: java.lang.ClassCastException: hudson.model.Fingerprint$RangeSet cannot be cast to hudson.model.Fingerprint It prints I'm guessing one or more times per artifact in the build. Here's one complete stacktrace which is the first following build success (there are probably 40-50 in our build, pages and pages, before it logs the artifact archiving) [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 28:15 min [INFO] Finished at: 2015-09-25T12:31:20-04:00 [INFO] Final Memory: 156M/1139M [INFO] ------------------------------------------------------------------------ ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException: hudson.model.Fingerprint$RangeSet cannot be cast to hudson.model.Fingerprint at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassCastException: hudson.model.Fingerprint$RangeSet cannot be cast to hudson.model.Fingerprint at hudson.model.Fingerprint.load(Fingerprint.java:1250) at hudson.model.Fingerprint.load(Fingerprint.java:1238) at hudson.model.FingerprintMap.load(FingerprintMap.java:94) at hudson.model.FingerprintMap.load(FingerprintMap.java:45) at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:154) at hudson.model.FingerprintMap.get(FingerprintMap.java:79) at hudson.model.FingerprintMap.get(FingerprintMap.java:45) at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:108) at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:65) at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:125) at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:112) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:423) at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:551) at sun.reflect.GeneratedMethodAccessor358.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at hudson.model.Executor$1.call(Executor.java:579) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at $Proxy54.execute(Unknown Source) at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:294) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18) at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) at ......remote call to channel(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel$3.adapt(Channel.java:782) ... 13 more ERROR: Asynchronous execution failure It is also worth noting I installed the Version Column plugin and verified our build slaves are the same version as the Jenkins master.
            jenkinsswapnil swapnil soor added a comment -

            Hi Madhu,

            I am sorry, we are still having that issue. We haven't yet got any solution on this. Will try out this parameter value -XX:-OmitStackTraceInFastThrow.

            Keep you posted in case If I get any solution, Thanks!

            Regards,
            Swapnil

            jenkinsswapnil swapnil soor added a comment - Hi Madhu, I am sorry, we are still having that issue. We haven't yet got any solution on this. Will try out this parameter value -XX:-OmitStackTraceInFastThrow. Keep you posted in case If I get any solution, Thanks! Regards, Swapnil
            jenkinsswapnil swapnil soor added a comment -

            Any update on this.....

            jenkinsswapnil swapnil soor added a comment - Any update on this.....

            Same issue. This one is extremely devilish, because the build is reported as 'Succesful' but OOMs somewhere in the middle of nowhere.

            jot1109 Jochen Hinrichsen added a comment - Same issue. This one is extremely devilish, because the build is reported as 'Succesful' but OOMs somewhere in the middle of nowhere.
            katt0050 praveen reddy katta added a comment - - edited

            Hello,

            I am seeing the similar issue when I try to build my project using java8. when I looked at the build status of modules, it shows the status as successful but in the build history, it shows the build is unstable.

            [INFO] ------------------------------------------------------------------------
            [INFO] BUILD SUCCESS
            [INFO] ------------------------------------------------------------------------
            [INFO] Total time: 2:34:05.704s
            [INFO] Finished at: Fri Mar 18 17:43:44 CDT 2016
            [INFO] Final Memory: 251M/1682M
            [INFO] ------------------------------------------------------------------------
            ERROR: Asynchronous execution failure
            java.util.concurrent.ExecutionException: java.lang.ClassCastException
            	at hudson.remoting.Channel$3.adapt(Channel.java:784)
            	at hudson.remoting.Channel$3.adapt(Channel.java:779)
            	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            	at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
            	at hudson.remoting.Request$2.run(Request.java:324)
            	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            	at java.lang.Thread.run(Thread.java:745)
            Caused by: java.lang.ClassCastException
            ERROR: Asynchronous execution failure
            java.util.concurrent.ExecutionException: java.lang.ClassCastException
            	at hudson.remoting.Channel$3.adapt(Channel.java:784)
            	at hudson.remoting.Channel$3.adapt(Channel.java:779)
            	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            	at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
            	at hudson.remoting.Request$2.run(Request.java:324)
            	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            	at java.lang.Thread.run(Thread.java:745)
            Caused by: java.lang.ClassCastException
            ERROR: Asynchronous execution failure
            java.util.concurrent.ExecutionException: java.lang.ClassCastException
            	at hudson.remoting.Channel$3.adapt(Channel.java:784)
            	at hudson.remoting.Channel$3.adapt(Channel.java:779)
            	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            	at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
            	at hudson.remoting.Request$2.run(Request.java:324)
            	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            	at java.lang.Thread.run(Thread.java:745)
            Caused by: java.lang.ClassCastException
            ERROR: Asynchronous execution failure
            java.util.concurrent.ExecutionException: java.lang.ClassCastException
            	at hudson.remoting.Channel$3.adapt(Channel.java:784)
            	at hudson.remoting.Channel$3.adapt(Channel.java:779)
            	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            	at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
            	at hudson.remoting.Request$2.run(Request.java:324)
            	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            	at java.lang.Thread.run(Thread.java:745)
            Caused by: java.lang.ClassCastException
            ERROR: Asynchronous execution failure
            

            Other than the stacktrace, I don't see any exception. Any suggestions on how to narrow down the issue?. please help!

            katt0050 praveen reddy katta added a comment - - edited Hello, I am seeing the similar issue when I try to build my project using java8. when I looked at the build status of modules, it shows the status as successful but in the build history, it shows the build is unstable . [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2:34:05.704s [INFO] Finished at: Fri Mar 18 17:43:44 CDT 2016 [INFO] Final Memory: 251M/1682M [INFO] ------------------------------------------------------------------------ ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang. Thread .run( Thread .java:745) Caused by: java.lang.ClassCastException ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang. Thread .run( Thread .java:745) Caused by: java.lang.ClassCastException ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang. Thread .run( Thread .java:745) Caused by: java.lang.ClassCastException ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang. Thread .run( Thread .java:745) Caused by: java.lang.ClassCastException ERROR: Asynchronous execution failure Other than the stacktrace, I don't see any exception. Any suggestions on how to narrow down the issue?. please help!
            jreed_asym Jason Reed added a comment - - edited

            After upgrading the Maven Plugin we started getting a little more clearer exception

                 ERROR: Asynchronous execution failure
                 java.util.concurrent.ExecutionException: java.lang.ClassCastException: hudson.model.Fingerprint$RangeSet cannot be cast to hudson.model.Fingerprint
                      at hudson.remoting.Channel$2.adapt(Channel.java:813)
                      at hudson.remoting.Channel$2.adapt(Channel.java:808)
                      at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
                      at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
                      at hudson.maven.Maven3Builder.call(Maven3Builder.java:143)
                      at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
                      at hudson.remoting.UserRequest.perform(UserRequest.java:120)
                      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
                      at hudson.remoting.Request$2.run(Request.java:326)
                      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
                      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
                      at java.lang.Thread.run(Thread.java:745)
                 Caused by: java.lang.ClassCastException: hudson.model.Fingerprint$RangeSet cannot be cast to hudson.model.Fingerprint
                      at hudson.model.Fingerprint.load(Fingerprint.java:1318)
            

            Could this be caused by the Fingerprints themselves?

            jreed_asym Jason Reed added a comment - - edited After upgrading the Maven Plugin we started getting a little more clearer exception ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException: hudson.model.Fingerprint$RangeSet cannot be cast to hudson.model.Fingerprint at hudson.remoting.Channel$2.adapt(Channel.java:813) at hudson.remoting.Channel$2.adapt(Channel.java:808) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:120) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang. Thread .run( Thread .java:745) Caused by: java.lang.ClassCastException: hudson.model.Fingerprint$RangeSet cannot be cast to hudson.model.Fingerprint at hudson.model.Fingerprint.load(Fingerprint.java:1318) Could this be caused by the Fingerprints themselves?

            Did anyone find the solution for this issue?

             

            ysk2005 syam yalamanchili added a comment - Did anyone find the solution for this issue?  
            oleg_nenashev Oleg Nenashev added a comment -

            ysk2005 If you see it, could you please provide a stacktrace for a new Remoting version?

            oleg_nenashev Oleg Nenashev added a comment - ysk2005 If you see it, could you please provide a stacktrace for a new Remoting version?
            emdepl Maciej De added a comment -

            Jenkins 2.121

            Maven Integration Plugin 3.1.2

            00:08:14.124 ERROR: Asynchronous execution failure
            00:08:14.126 java.util.concurrent.ExecutionException: java.lang.NullPointerException
            00:08:14.127 	at hudson.remoting.Channel$2.adapt(Channel.java:992)
            00:08:14.127 	at hudson.remoting.Channel$2.adapt(Channel.java:986)
            00:08:14.127 	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            00:08:14.127 	at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186)
            00:08:14.128 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:146)
            00:08:14.128 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
            00:08:14.128 	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
            00:08:14.129 	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
            00:08:14.129 	at hudson.remoting.Request$2.run(Request.java:369)
            00:08:14.129 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
            00:08:14.129 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            00:08:14.130 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            00:08:14.130 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            00:08:14.130 	at java.lang.Thread.run(Thread.java:745)
            00:08:14.130 Caused by: java.lang.NullPointerException
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded
            00:08:14.156 $ ssh-agent -k
            00:08:14.158 channel stopped
            00:08:14.161 unset SSH_AUTH_SOCK;
            00:08:14.161 unset SSH_AGENT_PID;
            00:08:14.161 echo Agent pid 5884 killed;
            00:08:14.165 [ssh-agent] Stopped.
            00:08:14.558 Archiving artifacts
            00:08:49.342 Notifying Stash at "http://************************/"
            00:08:49.419 Notified Stash for commit with id babe8fa5c85997118beda84e8abf3deccd8005ac
            00:08:49.463 [WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done
            00:08:49.486 Finished: SUCCESS
            emdepl Maciej De added a comment - Jenkins 2.121 Maven Integration Plugin 3.1.2 00:08:14.124 ERROR: Asynchronous execution failure 00:08:14.126 java.util.concurrent.ExecutionException: java.lang.NullPointerException 00:08:14.127 at hudson.remoting.Channel$2.adapt(Channel.java:992) 00:08:14.127 at hudson.remoting.Channel$2.adapt(Channel.java:986) 00:08:14.127 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 00:08:14.127 at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) 00:08:14.128 at hudson.maven.Maven3Builder.call(Maven3Builder.java:146) 00:08:14.128 at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) 00:08:14.128 at hudson.remoting.UserRequest.perform(UserRequest.java:212) 00:08:14.129 at hudson.remoting.UserRequest.perform(UserRequest.java:54) 00:08:14.129 at hudson.remoting.Request$2.run(Request.java:369) 00:08:14.129 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 00:08:14.129 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 00:08:14.130 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 00:08:14.130 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 00:08:14.130 at java.lang. Thread .run( Thread .java:745) 00:08:14.130 Caused by: java.lang.NullPointerException 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.153 [CHECKSTYLE] Plug-in Result: Success - no threshold has been exceeded 00:08:14.156 $ ssh-agent -k 00:08:14.158 channel stopped 00:08:14.161 unset SSH_AUTH_SOCK; 00:08:14.161 unset SSH_AGENT_PID; 00:08:14.161 echo Agent pid 5884 killed; 00:08:14.165 [ssh-agent] Stopped. 00:08:14.558 Archiving artifacts 00:08:49.342 Notifying Stash at "http: / /************************/ " 00:08:49.419 Notified Stash for commit with id babe8fa5c85997118beda84e8abf3deccd8005ac 00:08:49.463 [WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done 00:08:49.486 Finished: SUCCESS
            oleg_nenashev Oleg Nenashev added a comment -

            emdepl Thanks! It looks like the same issue though the behavior changed a bit (now it is NPE).
            Will assign to the Remoting queue

            oleg_nenashev Oleg Nenashev added a comment - emdepl Thanks! It looks like the same issue though the behavior changed a bit (now it is NPE). Will assign to the Remoting queue
            ptaucher Peter Taucher added a comment - - edited

            Jenkins version: 2.121.1

            Maven Integration Plugin: 3.1.2

             

            After successful maven build issue is present:

            [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            [INFO] ------------------------------------------------------------------------
            [INFO] BUILD SUCCESS
            [INFO] ------------------------------------------------------------------------
            [INFO] Total time: 4.212 s
            [INFO] Finished at: 2018-07-03T08:25:47Z
            [INFO] ------------------------------------------------------------------------
            ERROR: Asynchronous execution failure
            java.util.concurrent.ExecutionException: java.lang.NullPointerException
            	at hudson.remoting.Channel$2.adapt(Channel.java:992)
            	at hudson.remoting.Channel$2.adapt(Channel.java:986)
            	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
            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:992)
            	at hudson.remoting.Channel$2.adapt(Channel.java:986)
            	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 

             

            We noticed following 'type' of errors in the system log too:

             Failed to load /home/jenkins/jenkinsdata/fingerprints/8a/81/813a03e2899ccd31f0e92f6cc691.xml
            com.thoughtworks.xstream.mapper.CannotResolveClassException: timestamp
            	at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:376)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:43)
            	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
            	at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:48)
            	at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
            	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133)
            	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
            	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
            	at hudson.util.XStream2.unmarshal(XStream2.java:160)
            	at hudson.util.XStream2.unmarshal(XStream2.java:131)
            	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
            	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1053)
            	at hudson.XmlFile.read(XmlFile.java:147)
            Caused: java.io.IOException: Unable to read /home/jenkins/jenkinsdata/fingerprints/8a/81/813a03e2899ccd31f0e92f6cc691.xml
            	at hudson.XmlFile.read(XmlFile.java:149)
            	at hudson.model.Fingerprint.load(Fingerprint.java:1369)
            	at hudson.model.Fingerprint.load(Fingerprint.java:1357)
            	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$1.call(MavenFingerprinter.java:125)
            	at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:112)
            	at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:452)
            	at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:584)
            	at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            	at java.lang.reflect.Method.invoke(Method.java:498)
            	at hudson.model.Executor$2.call(Executor.java:911)
            	at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
            	at com.sun.proxy.$Proxy75.execute(Unknown Source)
            	at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:294)
            	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 org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:19)
            	at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
            	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
            	at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)
            	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)

             

            And discarding old data seems to run into NPE as well:

            Error while serving http://jenkinsserver/administrativeMonitor/OldData/discard
            java.lang.NullPointerException
            	at java.util.TreeMap.putAll(TreeMap.java:313)
            	at java.util.TreeMap.<init>(TreeMap.java:185)
            	at hudson.model.Fingerprint.toString(Fingerprint.java:1412)
            	at java.lang.String.valueOf(String.java:2994)
            	at java.lang.StringBuilder.append(StringBuilder.java:131)
            	at hudson.diagnosis.OldDataMonitor.saveAndRemoveEntries(OldDataMonitor.java:365)
            	at hudson.diagnosis.OldDataMonitor.doDiscard(OldDataMonitor.java:335)
            	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
            	at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
            Caused: java.lang.reflect.InvocationTargetException
            	at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:347)
            	at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77)
            	at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
            	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
            	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
            	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
            	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
            	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
            	at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248)
            	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
            	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
            	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
            	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:860)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
            	at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
            	at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
            	at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
            	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
            	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:99)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
            	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
            	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
            	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
            	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
            	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
            	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
            	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
            	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
            	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
            	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
            	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
            	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
            	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
            	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
            	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
            	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
            	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
            	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
            	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
            	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
            	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
            	at org.eclipse.jetty.server.Server.handle(Server.java:530)
            	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)
            	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256)
            	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
            	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
            	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
            	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
            	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
            	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
            	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:382)
            	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
            	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) 

             

            Seems this can be solved by stopping jenkins, removing all fingerprints and restarting jenkins. NPE does not appear afterwards anymore (for the time being).

            ptaucher Peter Taucher added a comment - - edited Jenkins version: 2.121.1 Maven Integration Plugin: 3.1.2   After successful maven build issue is present: [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https: //jenkins.io/redirect/serialization-of-anonymous-classes/ [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https: //jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.212 s [INFO] Finished at: 2018-07-03T08:25:47Z [INFO] ------------------------------------------------------------------------ ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.NullPointerException at hudson.remoting.Channel$2.adapt(Channel.java:992) at hudson.remoting.Channel$2.adapt(Channel.java:986) 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 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:992) at hudson.remoting.Channel$2.adapt(Channel.java:986) 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   We noticed following 'type' of errors in the system log too: Failed to load /home/jenkins/jenkinsdata/fingerprints/8a/81/813a03e2899ccd31f0e92f6cc691.xml com.thoughtworks.xstream.mapper.CannotResolveClassException: timestamp at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:376) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:43) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:48) at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189) at hudson.util.XStream2.unmarshal(XStream2.java:160) at hudson.util.XStream2.unmarshal(XStream2.java:131) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1053) at hudson.XmlFile.read(XmlFile.java:147) Caused: java.io.IOException: Unable to read /home/jenkins/jenkinsdata/fingerprints/8a/81/813a03e2899ccd31f0e92f6cc691.xml at hudson.XmlFile.read(XmlFile.java:149) at hudson.model.Fingerprint.load(Fingerprint.java:1369) at hudson.model.Fingerprint.load(Fingerprint.java:1357) 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$1.call(MavenFingerprinter.java:125) at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:112) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:452) at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:584) at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at hudson.model.Executor$2.call(Executor.java:911) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy75.execute(Unknown Source) at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:294) 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 org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:19) at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71) 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)   And discarding old data seems to run into NPE as well: Error while serving http: //jenkinsserver/administrativeMonitor/OldData/discard java.lang.NullPointerException at java.util.TreeMap.putAll(TreeMap.java:313) at java.util.TreeMap.<init>(TreeMap.java:185) at hudson.model.Fingerprint.toString(Fingerprint.java:1412) at java.lang. String .valueOf( String .java:2994) at java.lang.StringBuilder.append(StringBuilder.java:131) at hudson.diagnosis.OldDataMonitor.saveAndRemoveEntries(OldDataMonitor.java:365) at hudson.diagnosis.OldDataMonitor.doDiscard(OldDataMonitor.java:335) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) Caused: java.lang.reflect.InvocationTargetException at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:347) at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77) at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:860) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:99) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:530) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:382) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) 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)   Seems this can be solved by stopping jenkins, removing all fingerprints and restarting jenkins. NPE does not appear afterwards anymore (for the time being).
            jthompson Jeff Thompson added a comment -

            This issue doesn't seem to occur consistently or repeatedly in all Maven projects. There seem to be some conditions that cause it in some presumably small subset of situations.

            Further, we have at least one report, from Peter Taucher, of the issue being resolved by cleaning up fingerprints. The connection to fingerprints is not obvious. Even with that case, it is hard to know if that is a repeatable resolution.

            If anyone who sees this can provide more information, particularly about how it can be isolated and reproduced, I'll see if I can get a chance to look into it further. Do you see it consistently? For all jobs / builds / agents / configurations? Besides Peter's observations regarding fingerprints, have you observed any candidate causes? Has anyone else tried pursuing that path of removing fingerprints?

            jthompson Jeff Thompson added a comment - This issue doesn't seem to occur consistently or repeatedly in all Maven projects. There seem to be some conditions that cause it in some presumably small subset of situations. Further, we have at least one report, from Peter Taucher, of the issue being resolved by cleaning up fingerprints. The connection to fingerprints is not obvious. Even with that case, it is hard to know if that is a repeatable resolution. If anyone who sees this can provide more information, particularly about how it can be isolated and reproduced, I'll see if I can get a chance to look into it further. Do you see it consistently? For all jobs / builds / agents / configurations? Besides Peter's observations regarding fingerprints, have you observed any candidate causes? Has anyone else tried pursuing that path of removing fingerprints?

            I had same issue, it disappeared after removing fingerprints.

            kshchepanovskyi Kostiantyn Shchepanovskyi added a comment - I had same issue, it disappeared after removing fingerprints.
            jthompson Jeff Thompson added a comment -

            Thanks for the report, kshchepanovskyi. I have no idea how removing fingerprints would clean up this error. We have two reports of that action eliminating the problem and no further details to diagnose or reproduce the cause. If we don't get more information on how to proceed, I'll plan on closing this issue in a few days.

            jthompson Jeff Thompson added a comment - Thanks for the report, kshchepanovskyi . I have no idea how removing fingerprints would clean up this error. We have two reports of that action eliminating the problem and no further details to diagnose or reproduce the cause. If we don't get more information on how to proceed, I'll plan on closing this issue in a few days.
            wamorgan Warren Morgan added a comment -

            I had the same issue. I believe that it comes from having the "Disable automatic archiving" box checked in the Advanced tab of the Build menu in a Maven Project but not checking the "Disable automatic fingerprinting of consumed and produced artifacts" box. I assume that
            leads to an attempt to fingerprint archives that were not created and results in a null pointer.

            wamorgan Warren Morgan added a comment - I had the same issue. I believe that it comes from having the "Disable automatic archiving" box checked in the Advanced tab of the Build menu in a Maven Project but not checking the "Disable automatic fingerprinting of consumed and produced artifacts" box. I assume that leads to an attempt to fingerprint archives that were not created and results in a null pointer.
            jthompson Jeff Thompson added a comment -

            wamorgan, thanks for providing that additional information. That makes a lot of sense. The more recent comments on this issue seem to all revolve around fingerprinting so at least at this time, it seems like this is a workaround that resolves the issue.

            This doesn't seem to be a Remoting issue anymore. There might be some other component that could be improved to better handle this situation.

            jthompson Jeff Thompson added a comment - wamorgan , thanks for providing that additional information. That makes a lot of sense. The more recent comments on this issue seem to all revolve around fingerprinting so at least at this time, it seems like this is a workaround that resolves the issue. This doesn't seem to be a Remoting issue anymore. There might be some other component that could be improved to better handle this situation.
            jthompson Jeff Thompson added a comment -

            It looks like this has been identified according to several people as a configuration issue regarding fingerprinting. No one else has provided different situations. If someone would like to submit an enhancement request with clear information on how the configuration could be improved to avoid this that would be useful.

            jthompson Jeff Thompson added a comment - It looks like this has been identified according to several people as a configuration issue regarding fingerprinting. No one else has provided different situations. If someone would like to submit an enhancement request with clear information on how the configuration could be improved to avoid this that would be useful.
            moshe_zvi Moshe Zvi added a comment -

            wamorgan: Thanks for the tip. In my case the Disable automatic artifact archiving  was not set, and I still got the error.

            However, selecting Disable automatic fingerprinting ... seems to have done the trick. So it's definitely a fingerprint issue, and I agree that it's unrelated to remote execution.

            For anyone looking this up:

            • In the maven section (Build), expand the Advanced section, and look for these properties.
            moshe_zvi Moshe Zvi added a comment - wamorgan : Thanks for the tip. In my case the  Disable automatic artifact archiving   was not set, and I still got the error. However, selecting Disable automatic fingerprinting ...  seems to have done the trick. So it's definitely a fingerprint issue, and I agree that it's unrelated to remote execution. For anyone looking this up: In the maven section (Build), expand the Advanced section, and look for these properties.
            tiendungitd Dennis Tran added a comment -

            I got the same issue in Jenkins 2.150.1.

            Disabling the automatic fingerprinting removes the exception in the log. But what is the side effect of disabling fingerprinting? (and why did it work previsously). Will disabling fingerprinting not break dependency management between projects?

             

            tiendungitd Dennis Tran added a comment - I got the same issue in Jenkins 2.150.1. Disabling the automatic fingerprinting removes the exception in the log. But what is the side effect of disabling fingerprinting? (and why did it work previsously). Will disabling fingerprinting not break dependency management between projects?  

            People

              jthompson Jeff Thompson
              jenkinsswapnil swapnil soor
              Votes:
              9 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: