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

Null pointer exception in Pipeline after multiple Jenkins restarts

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: workflow-cps-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.289.2
      workflow-cps plugin 2.93
    • Similar Issues:

      Description

      After multiple Jenkins restarts, one of my Pipeline jobs failed with a null pointer exception. This is the first time I've seen such a null pointer exception.

      04:55:12  [Pipeline] End of Pipeline
      04:55:12  java.lang.NullPointerException
      04:55:12  	at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution.addBodyEndFlowNode(CpsBodyExecution.java:407)
      04:55:12  	at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution.access$800(CpsBodyExecution.java:65)
      04:55:12  	at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$FailureAdapter.receive(CpsBodyExecution.java:353)
      04:55:12  	at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution.launch(CpsBodyExecution.java:166)
      04:55:12  	at org.jenkinsci.plugins.workflow.cps.CpsBodyInvoker.launch(CpsBodyInvoker.java:187)
      04:55:12  	at org.jenkinsci.plugins.workflow.cps.CpsBodyInvoker.launch(CpsBodyInvoker.java:182)
      04:55:12  	at org.jenkinsci.plugins.workflow.cps.CpsBodyInvoker$1.onSuccess(CpsBodyInvoker.java:158)
      04:55:12  	at org.jenkinsci.plugins.workflow.cps.CpsBodyInvoker$1.onSuccess(CpsBodyInvoker.java:153)
      04:55:12  	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$4$1.run(CpsFlowExecution.java:917)
      04:55:12  	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:38)
      04:55:12  	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      04:55:12  	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      04:55:12  	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139)
      04:55:12  	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      04:55:12  	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
      04:55:12  	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      04:55:12  	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      04:55:12  	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      04:55:12  	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      04:55:12  	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: