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

Radiator View plugin throws NullPointerException at ClaimWrapper.getClaimForRun(ClaimWrapper.java:39)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Firefox 24.0
      Jenkins 1.509.3
      Radiator View plugin 1.14, 1.15, 1.16
      Claim plugin 2.2

      Problem was introduced in Radiator View plugin version 1.14. Version 1.13 works fine.

      I use option "Show as Projects?". Radiator view is drawn correctly until an exception is thrown for a group of projects where at least one project does not have any builds.

      Steps to reproduce:

      1. Create a radiator view and configure project grouping by selecting "Show as Projects?" and include all projects.
      2. Create a project with unique prefix "foo-x" (foo is the prefix here).
      3. Browse to radiator view.
      4. Attached dump should be written to jenkins log.

          [JENKINS-20129] Radiator View plugin throws NullPointerException at ClaimWrapper.getClaimForRun(ClaimWrapper.java:39)

          Code changed in jenkins
          User: David Resnick
          Path:
          src/main/java/hudson/model/JobViewEntry.java
          http://jenkins-ci.org/commit/radiatorview-plugin/0c2e61f9fa56ce403a0be1f3f40511c92dc73fbe
          Log:
          Fix NPE for unbuilt jobs when claim plugin is installed.

          [FIXED JENKINS-20129]

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: David Resnick Path: src/main/java/hudson/model/JobViewEntry.java http://jenkins-ci.org/commit/radiatorview-plugin/0c2e61f9fa56ce403a0be1f3f40511c92dc73fbe Log: Fix NPE for unbuilt jobs when claim plugin is installed. [FIXED JENKINS-20129]

          Sami Salonen added a comment -

          Thanks for the quick fix David. Version 1.17 works fine now.

          Sami Salonen added a comment - Thanks for the quick fix David. Version 1.17 works fine now.

          David Resnick added a comment -

          Glad to hear it.

          David Resnick added a comment - Glad to hear it.

            david_resnick David Resnick
            salsa Sami Salonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: