Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25789

Fix NPE on ClaimPublisher Pipeline step

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 11.1
    • Component/s: Dev Tools
    • Tags:
    • Backlog priority:
      2,000
    • Sprint:
      DevTools-07, DevTools-11

      Description

      https://qa.nuxeo.org/jenkins/job/master/job/nuxeo-master-sonar/job/PR-2349/1/consoleText
      
      First time build. Skipping changelog.
      [Pipeline] properties
      [Pipeline] node
      Running on Docker-slave-db0b0bf4bbf1-qa-ovh03.nuxeo.com in /opt/jenkins/workspace/_nuxeo-master-sonar_PR-2349-QPFCT6A665QHXY54EYZRLZPP3JCLJOVA6ALLRP76IDYCQUZMVGNA
      [Pipeline] {
      [Pipeline] echo
      Using BRANCH_NAME parameter: PR-2349
      [Pipeline] echo
      Using CHANGE_TARGET parameter: master
      [Pipeline] echo
      Testing branch 'PR-2349' with parent branch 'master'
      [Pipeline] tool
      [Pipeline] tool
      [Pipeline] tool
      [Pipeline] timeout
      Timeout set to expire in 5 hr 0 min
      [Pipeline] {
      [Pipeline] timestamps
      [Pipeline] {
      [Pipeline] stage
      [Pipeline] { (clone)
      [Pipeline] sh
      [_nuxeo-master-sonar_PR-2349-QPFCT6A665QHXY54EYZRLZPP3JCLJOVA6ALLRP76IDYCQUZMVGNA] Running shell script
      + git ls-remote --exit-code git://github.com/nuxeo/nuxeo.git
      
      [Pipeline] git
      Cloning the remote Git repository
      Cloning repository git://github.com/nuxeo/nuxeo.git
       > git init /opt/jenkins/workspace/_nuxeo-master-sonar_PR-2349-QPFCT6A665QHXY54EYZRLZPP3JCLJOVA6ALLRP76IDYCQUZMVGNA # timeout=10
      Fetching upstream changes from git://github.com/nuxeo/nuxeo.git
       > git --version # timeout=10
       > git fetch --tags --progress git://github.com/nuxeo/nuxeo.git +refs/heads/*:refs/remotes/origin/*
       > git config remote.origin.url git://github.com/nuxeo/nuxeo.git # timeout=10
       > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
       > git config remote.origin.url git://github.com/nuxeo/nuxeo.git # timeout=10
      Fetching upstream changes from git://github.com/nuxeo/nuxeo.git
       > git fetch --tags --progress git://github.com/nuxeo/nuxeo.git +refs/heads/*:refs/remotes/origin/*
       > git rev-parse refs/remotes/origin/$BRANCH^{commit} # timeout=10
       > git rev-parse refs/remotes/origin/origin/$BRANCH^{commit} # timeout=10
       > git rev-parse origin/$BRANCH^{commit} # timeout=10
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] step
      [Pipeline] }
      [Pipeline] // timestamps
      [Pipeline] }
      [Pipeline] // timeout
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline
      
      GitHub has been notified of this commit’s build result
      
      java.lang.NullPointerException
      	at hudson.plugins.claim.ClaimPublisher.perform(ClaimPublisher.java:62)
      	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:78)
      	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:65)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:49)
      	at hudson.security.ACL.impersonate(ACL.java:213)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:46)
      	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:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Finished: FAILURE
      

      Check if it affects all Pipeline scripts using claimPublisher()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jcarsique Julien Carsique
                Reporter:
                jcarsique Julien Carsique
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.