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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: radiatorview-plugin
    • Labels:
    • Environment:
      Firefox 24.0
      Jenkins 1.509.3
      Radiator View plugin 1.14, 1.15, 1.16
      Claim plugin 2.2
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          scm_issue_link 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]

          Show
          scm_issue_link 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]
          Hide
          salsa Sami Salonen added a comment -

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

          Show
          salsa Sami Salonen added a comment - Thanks for the quick fix David. Version 1.17 works fine now.
          Hide
          david_resnick David Resnick added a comment -

          Glad to hear it.

          Show
          david_resnick David Resnick added a comment - Glad to hear it.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: