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

Unable to resolve issues when GreenHopper's "Release Version History" custom field is configured to display on the "Resolve Issue" screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • 5.9.2
    • 5.9
    • None

    Description

      Steps to reproduce:

      • Add the "Resolve Issue" screen to the "Release Version History" custom field.
      • Attempt to resolve an issue.

      Expected result:

      • Issue is marked as resolved.

      Actual result:

      • An error box will be displayed with no text in it.
      • The issue status will not change.
      • The follow stack trace will result in the logs:
        2012-04-10 16:46:06,064 TP-Processor10 ERROR sysadmin 1006x13792x1 c6jbgu 70.35.42.138,207.223.247.34 /secure/CommentAssignIssue.jspa [atlassian.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 5 from workflow 10733 on issue 'MYPROJ-100'
        java.lang.NullPointerException
        at java.util.AbstractCollection.addAll(AbstractCollection.java:303)
        at com.pyxis.greenhopper.jira.customfields.ReleasedVersionHistoryCFType.updateValue(ReleasedVersionHistoryCFType.java:68)
        at com.pyxis.greenhopper.jira.customfields.ReleasedVersionHistoryCFType.updateValue(ReleasedVersionHistoryCFType.java:25)
        at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:411)
        at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:372)
        at com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction.execute(GenerateChangeHistoryFunction.java:63)
        at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:869)
        at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1265)
        

      Either it should not be possible to add screens to the "Release Version History" custom field or an informative error message should be displayed (or both).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mknight@atlassian.com Michael Knight
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: