[JIRA] (JENKINS-57985) NPE after update from 2.7 to 2.9

4 views
Skip to first unread message

alexander.willhaug@ergodirekt.de (JIRA)

unread,
Jun 12, 2019, 6:57:02 AM6/12/19
to jenkinsc...@googlegroups.com
Alexander Willhaug created an issue
 
Jenkins / Bug JENKINS-57985
NPE after update from 2.7 to 2.9
Issue Type: Bug Bug
Assignee: Unassigned
Components: workflow-scm-step-plugin
Created: 2019-06-12 10:56
Environment: Jenkins 2.180
Priority: Minor Minor
Reporter: Alexander Willhaug

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
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

alexander.willhaug@ergodirekt.de (JIRA)

unread,
Jan 28, 2020, 7:37:02 AM1/28/20
to jenkinsc...@googlegroups.com
Alexander Willhaug closed an issue as Fixed
 

Resolved in https://issues.jenkins-ci.org/browse/JENKINS-59560

 

Change By: Alexander Willhaug
Status: Open Closed
Resolution: Fixed
Released As: 2.10
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages