Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-2872

Issues with no status, causing '"name" is not a field of Issue' exceptions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.6 Pro, 2.6 Enterprise
    • 2.5.2 Professional, 2.5.2 Enterprise
    • None

    Description

      Through circumstances not yet understood, it is possible to create a new JIRA issue with no status. When such an issue is viewed, the status icon is blank, and in the log there is a long stack trace:

      [ERROR] ServletValueStack - -METHOD: "string", exception: <java.lang.reflect.InvocationTargetException>java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      ...
      ...
      ...
      Caused by: java.lang.IllegalArgumentException: [GenericEntity.get] "name" is not a field of Issue
      at org.ofbiz.core.entity.GenericEntity.get(GenericEntity.java:150)
      at org.ofbiz.core.entity.GenericEntity.getString(GenericEntity.java:343)
      ... 95 more

      From examining the change history, such issues appear to belong in the 'Open' status. Clicking 'Resolve' and then 'Reopen' fixes the issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              7ee5c68a815f Jeff Turner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: