Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-2261

Throw NullPointerException on Planning Board when Achive Master Release in JIRA with keeping Sub Release Unachived

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.1 (JIRA 4.1 Compatible)
    • Release 3.8
    • None
    • None
    • JIRA 3.13.5 + GreenHopper 3.8

    Description

      Symptom
      If user achives master release in JIRA and keeps sub release(s) unachived, Planning Board will throw NullPointerException when selecting that project.

      Cause
      com.pyxis.greenhopper.jira.util.comparator.UnreleasedVersionWeightResolver can not find master release for sub release(s) in the logic of getWeight() method, then throw NullPointerException.

      Workaround
      Unachiving the relevant master version will resolve the problem.

      Resolution
      In my test, this problem can't be reproduced in GreenHopper 4.0+

      Attachments

        Activity

          People

            jchuet JC
            kren Kelson Ren
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: