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

NPE TriggeredBuildSelector during CopyArtifact

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Windows Jenkins ver. 1.511 CopyArtifact version 1.26
    • Similar Issues:

      Description

      We started seeing this issue at times, in particular it seems, when two sets of upstream jobs are flagged as being upstream triggers (Why that is happening is another issue).

      C:\Jenkins\workspace\Trunk_Dev_D_Done>exit 0
      FATAL: null
      java.lang.NullPointerException
      at hudson.plugins.copyartifact.TriggeredBuildSelector.getBuild(TriggeredBuildSelector.java:61)
      at hudson.plugins.copyartifact.TriggeredBuildSelector.getBuild(TriggeredBuildSelector.java:73)
      at hudson.plugins.copyartifact.TriggeredBuildSelector.getBuild(TriggeredBuildSelector.java:73)
      at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:195)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
      at hudson.model.Build$BuildExecution.build(Build.java:199)
      at hudson.model.Build$BuildExecution.doRun(Build.java:160)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584)
      at hudson.model.Run.execute(Run.java:1575)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:237)

        Attachments

          Activity

          yamoinca yamoinca created issue -
          ikedam ikedam made changes -
          Field Original Value New Value
          Assignee ikedam [ ikedam ]
          ikedam ikedam made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          ikedam ikedam made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 150154 ] JNJira + In-Review [ 206798 ]

            People

            • Assignee:
              ikedam ikedam
              Reporter:
              yamoinca yamoinca
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: