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

JIRA Should Prompt A Correct Error In UI When Summary Field Was Not Included In JIRA's Screen

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • 1
    • 5
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Currently, when we removed the summary field from JIRA's screen. It will cause an error when we cloning issue. JIRA will just keep loading when we cloning an issue. From the backend logs, we can see JIRA was encountering an error with Null Pointer Exception complaining Summary field was Null value. It would be glad if we can have a clear error shown in UI level when the user hit into this issue.

      2019-01-28 11:02:41,820 http-nio-8080-exec-3102 ERROR      [c.a.j.web.servlet.InternalServerErrorServlet] {errorId=e39caeab-b6be-4e85-a0da-57ea13845e41, interpretedMsg=, cause=java.lang.NullPointerException: null value in entry: summary=null, stacktrace=java.lang.NullPointerException: null value in entry: summary=null
          	at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:33) [closure-compiler-v20151216.jar:?]
          	at com.google.common.collect.SingletonImmutableBiMap.<init>(SingletonImmutableBiMap.java:39) [closure-compiler-v20151216.jar:?]
          	at com.google.common.collect.ImmutableBiMap.of(ImmutableBiMap.java:57) [closure-compiler-v20151216.jar:?]
      

      It seems JIRA was expecting below when the summary was available on our screen:-

      Above image is with screen configured with a summary field

      Above image is when screen configured without a summary field

        1. impacted.png
          impacted.png
          29 kB
        2. Summary will show .png
          Summary will show .png
          17 kB

              Unassigned Unassigned
              dkoh Danson (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: