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

With 'HP Application Automation Tools' v5.1 installed running a pipeline from script stored in Perforce results in NPE

      Trying to run a pipeline job with the pipeline groovy script downloaded from Perforce (with the P4 plugin) fails with a null pointer exception (NPE).

      java.lang.NullPointerException
      	at com.hp.application.automation.tools.octane.events.SCMListenerImpl.onChangeLogParsed(SCMListenerImpl.java:84)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.onCheckout(WorkflowRun.java:751)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1500(WorkflowRun.java:125)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun$SCMListenerImpl.onCheckout(WorkflowRun.java:936)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:123)
      	at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:130)
      	at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:59)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:232)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:404)
      

      Note that the exact same configuration works without any issues when using HP Application Automation Tools v5.0 instead of v5.1.

          [JENKINS-42580] With 'HP Application Automation Tools' v5.1 installed running a pipeline from script stored in Perforce results in NPE

          Jeroen Bogers created issue -
          Yafim Kazak made changes -
          Assignee Original: Ofir Shaked [ ofirshaked ] New: Yafim Kazak [ yafim_kazak ]
          Yafim Kazak made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Michael Seldin made changes -
          Link New: This issue is related to JENKINS-43109 [ JENKINS-43109 ]
          Yafim Kazak made changes -
          Epic Link New: JENKINS-43110 [ 180223 ]
          Yafim Kazak made changes -
          Assignee Original: Yafim Kazak [ yafim_kazak ] New: Michael Seldin [ mseldin ]
          Yafim Kazak made changes -
          Labels New: ALM
          Yafim Kazak made changes -
          Link New: This issue is duplicated by JENKINS-44021 [ JENKINS-44021 ]
          Yafim Kazak made changes -
          Link New: This issue is duplicated by JENKINS-33433 [ JENKINS-33433 ]
          Yafim Kazak made changes -
          Labels Original: ALM New: ALM octane
          Yafim Kazak made changes -
          Link New: This issue is related to JENKINS-44021 [ JENKINS-44021 ]

            mseldin Michael Seldin
            jbogers Jeroen Bogers
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: