Triggering downstream pipeline from a replayed one ends in a NullPointerException

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When a pipeline job is replayed and the replayed build triggers a downstream pipeline, the latter crashes with the following exception:

      java.lang.NullPointerException
      	at org.jenkinsci.plugins.workflow.cps.replay.ReplayCause.getOriginal(ReplayCause.java:66)
      	at org.jenkinsci.plugins.workflow.cps.replay.ReplayCause.print(ReplayCause.java:74)
      	at hudson.model.Cause$UpstreamCause.print(Cause.java:323)
      	at hudson.model.Cause$UpstreamCause.print(Cause.java:299)
      	at hudson.model.BuildListener.started(BuildListener.java:49)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:254)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:421)
      Finished: FAILURE
      

            Assignee:
            Unassigned
            Reporter:
            Łukasz Dudek
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: