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

NPE after update from 2.7 to 2.9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins 2.180
    • 2.10

      Jenkinsfile

      timestamps {
        catchError {
          node {
              stage("checkout") {
                deleteDir()
                checkout(scm)
                openshiftImageStream name: 'nodejs-8-rhel7', namespace: 'xxxxx', tag: '1', verbose: 'false'
              }
              ...
          } // End node
        } // End  catchError
      } // End timestamps
      
      [Pipeline] stage
      [Pipeline] { (checkout)
      [Pipeline] deleteDir
      [Pipeline] checkout
      08:26:52  Cloning the remote Git repository
      [Pipeline] openshiftImageStream
      08:26:55  
      08:26:55  
      08:26:55  The "OpenShift ImageStreams" SCM will return the last revision state stored in Jenkins for the image stream "nodejs-8-rhel7" and tag "1" from the project "xxxxxxx".
      08:26:55    Last revision:  [ImageStreamRevisionState [commitId=sha256:eb31358824ad8af1550729526c48334df0a20fab86ae83d56a6d40a9933718cc]]
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] }
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] }
      08:26:55  java.lang.NullPointerException
      08:26:55  	at org.jenkinsci.plugins.workflow.job.WorkflowRun.onCheckout(WorkflowRun.java:835)
      08:26:55  	at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1100(WorkflowRun.java:133)
      08:26:55  	at org.jenkinsci.plugins.workflow.job.WorkflowRun$SCMListenerImpl.onCheckout(WorkflowRun.java:1100)
      08:26:55  	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:140)
      08:26:55  	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93)
      08:26:55  	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80)
      08:26:55  	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      08:26:55  	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      08:26:55  	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      08:26:55  	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      08:26:55  	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      08:26:55  	at java.lang.Thread.run(Thread.java:748)
      [Pipeline] // catchError
      [Pipeline] node
      

            Unassigned Unassigned
            alwillha Alexander Willhaug
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: