Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-140

When a project does not contain any version the Requirement issue page gives a loading error

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • R1.4.0
    • R1.4.1
    • Core
    • None
    • R1.4.1
    • UNCOVERED

    Description

      An error is shown to the user whenever he browses a Requirement Issue page. This only happens when the project does not contain versions.

      java.lang.NullPointerException
      [INFO] [talledLocalContainer] at com.xpandit.raven.customfield.RequirementStatusCustomField.getRequirementStatusCount(RequirementStatusCustomField.java:283)
      [INFO] [talledLocalContainer] at com.xpandit.raven.customfield.RequirementStatusCustomField.getValueFromIssue(RequirementStatusCustomField.java:243)
      [INFO] [talledLocalContainer] at com.xpandit.raven.customfield.RequirementStatusCustomField.getValueFromIssue(RequirementStatusCustomField.java:44)
      [INFO] [talledLocalContainer] at com.atlassian.jira.issue.fields.CustomFieldImpl.getCustomFieldParamsFromIssue(CustomFieldImpl.java:1454)
      [INFO] [talledLocalContainer] at com.atlassian.jira.issue.fields.CustomFieldImpl.populateFromIssue(CustomFieldImpl.java:681)
      [INFO] [talledLocalContainer] at com.atlassian.jira.issue.fields.screen.FieldScreenRenderLayoutItemImpl.populateFromIssue(FieldScreenRenderLayoutItemImpl.java:103)
      [INFO] [talledLocalContainer] at com.atlassian.jira.issue.fields.rest.FieldHtmlFactoryImpl.getEditFields(FieldHtmlFactoryImpl.java:135)
      [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor821.invoke(Unknown Source)
      [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597)

      Attachments

        Activity

          People

            pmmr Pedro Rodrigues
            bmpc Bruno Conde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h