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

promoted-builds plugin NullPointerException on getParameterValues

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • promoted-builds-plugin
    • None
    • 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

          [JENKINS-20912] promoted-builds plugin NullPointerException on getParameterValues

          robert westin created issue -
          Geoff Cummings made changes -
          Link New: This issue is related to JENKINS-20166 [ JENKINS-20166 ]
          John Mellor made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          Daniel Beck made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Link New: This issue duplicates JENKINS-20166 [ JENKINS-20166 ]
          Adam Compton made changes -
          Link New: This issue is related to JENKINS-27322 [ JENKINS-27322 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 152723 ] New: JNJira + In-Review [ 194335 ]

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

              Created:
              Updated:
              Resolved: