promoted-builds plugin NullPointerException on getParameterValues

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Blocker
    • Component/s: promoted-builds-plugin
    • None
    • Environment:
      1.509.4 LTS

      1. Setup a new free-style job

      2. Select Promote builds when

      Promote immediately once the build is complete
      Add an action

      3.
      In job, select
      This build is parameterized
      Add a String paramter

      BUILD:
      In promotion status it will fail and show:

      FATAL: null
      java.lang.NullPointerException
      at hudson.plugins.promoted_builds.Promotion.getParameterValues(Promotion.java:142)
      at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:206)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565)
      at hudson.model.Run.execute(Run.java:1592)
      at hudson.model.Run.run(Run.java:1539)
      at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:170)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:237)

      Verified that it works if I downgrade to 2.13

            Assignee:
            Unassigned
            Reporter:
            robert westin
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: