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

Join plugin fails with exception if Parameterized Trigger plugin is installed

    Details

    • Similar Issues:

      Description

      How to reproduce with clear Hudson installation (with only two related plugins additionally installed):
      1. Create free style software project A, in Join Trigger section set to build downstream project B.
      2. Create free style software project B.
      3. Start A job.
      A job will succeed, but in it's log will be shown exception (http://HUDSON/job/A/1/console):

      Started by user anonymous
      ERROR: Publisher join.JoinTrigger aborted due to exception
      java.lang.NullPointerException
      at join.JoinTrigger.TryGetParameterizedDownstreamNames(JoinTrigger.java:94)
      at join.JoinTrigger.perform(JoinTrigger.java:82)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:583)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:564)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:551)
      at hudson.model.Build$RunnerImpl.post2(Build.java:152)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:535)
      at hudson.model.Run.run(Run.java:1202)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)
      Notifying upstream projects of job completion
      Finished: SUCCESS

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/plugins/join/src/main/java/join/JoinTrigger.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=25836
          Log:
          [FIXED JENKINS-5159] avoid NPE if parameterized-trigger plugin is installed,
          but current project doesn't use a parameterized BuildTrigger.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/plugins/join/src/main/java/join/JoinTrigger.java http://fisheye4.cenqua.com/changelog/hudson/?cs=25836 Log: [FIXED JENKINS-5159] avoid NPE if parameterized-trigger plugin is installed, but current project doesn't use a parameterized BuildTrigger.

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              rutsky rutsky
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: