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

NPE at the end of a build after restart

    XMLWordPrintable

Details

    Description

      Hit the following NPE after an instance restart. According to the logs, the build completed its current step, then failed.

       java.lang.NullPointerException
       	at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution$TailCall.onSuccess(GeneralNonBlockingStepExecution.java:138)
       	at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:377)
       	at com.cloudbees.groovy.cps.Outcome.resumeFrom(Outcome.java:73)
       	at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:166)
       	at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)
       	at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129)
       	at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268)
       	at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)
       	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
       	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51)
       	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:185)
       	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:400)
       	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:96)
       	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:312)
       	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:276)
       	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67)
       	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:136)
       	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
       	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
       	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
       	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) 

      Attachments

        Activity

          vlatombe Vincent Latombe created issue -
          vlatombe Vincent Latombe made changes -
          Field Original Value New Value
          Issue Type Improvement [ 4 ] Bug [ 1 ]
          vlatombe Vincent Latombe made changes -
          Environment workflow-step-api 2.22

          People

            Unassigned Unassigned
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: