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

NullPointerException pipeline failure around checkout

XMLWordPrintable

    • Pipeline - July/August

      A pipeline build failed randomly (once, a rebuild was fine). At the point of failure, it does a steps.checkout(changelog: true, scm: [$class: 'GitSCM' ...

      [Pipeline] {
      [Pipeline] checkout
       > git rev-parse --is-inside-work-tree # timeout=10
      Fetching changes from the remote Git repository
       > git config remote.origin.url bot@git:/var/git/work.git # timeout=10
      Fetching upstream changes from bot@git:/var/git/work.git
       > git --version # timeout=10
      using GIT_SSH to set credentials 
       > git fetch --tags --progress bot@git:/var/git/work.git +refs/heads/*:refs/remotes/origin/*
       > git rev-parse refs/remotes/origin/1^{commit} # timeout=10
       > git rev-parse refs/remotes/origin/1^{commit} # timeout=10
      Checking out Revision 7765.. (refs/remotes/origin/1)
      Commit message: "..."
       > git config core.sparsecheckout # timeout=10
       > git checkout -f 7765..
       > git rev-list 78911.. # timeout=10
      [Pipeline] }
      [Pipeline] // dir
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] }
      [Pipeline] // ws
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline
      java.lang.NullPointerException
      	at io.jenkins.blueocean.service.embedded.jira.JiraSCMListener.onChangeLogParsed(JiraSCMListener.java:40)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.onCheckout(WorkflowRun.java:817)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1500(WorkflowRun.java:135)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun$SCMListenerImpl.onCheckout(WorkflowRun.java:1002)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:127)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75)
      	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
      	at hudson.security.ACL.impersonate(ACL.java:260)
      	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
      	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)
      

            Unassigned Unassigned
            tsniatowski Tomasz Śniatowski
            Votes:
            6 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: