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

NullPointerException when calling NavigableFieldUtil.getFieldSorts()

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Ready for Release
    • Major
    • Resolution: Unresolved
    • Xray DC 8.3.0
    • Xray DC 8.4.2
    • Issue view page
    • None
    • Jira Data Center 11.3.3

    • OK

    Description

      A NullPointerException may be thrown when calling NavigableFieldUtil.getFieldSorts() which prevents, for example, the Test Execs table from being rendered in Test Plans:

      java.lang.NullPointerException: Cannot invoke "java.util.List.isEmpty()" because the return value of "com.xpandit.wrapper.NavigableFieldUtil.getFieldSorts(com.atlassian.jira.issue.fields.NavigableField, boolean)" is null    at com.xpandit.raven.layout.columns.testplan.TestPlanTestExecColumnLayoutItem.isSortable(TestPlanTestExecColumnLayoutItem.java:62)    at com.xpandit.raven.rest.internal.testplan.TestPlanTestExecColumnsResource$3.apply(TestPlanTestExecColumnsResource.java:149)    at com.xpandit.raven.rest.internal.testplan.TestPlanTestExecColumnsResource$3.apply(TestPlanTestExecColumnsResource.java:146)    ...    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)    at java.base/java.lang.Thread.run(Thread.java:1583)

      Attachments

        Activity

          People

            sai.polishetty Sai Polishetty
            fmtc Fabio Cunha [X] (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: