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

Defining a new priority that just contains a space for its name causes a huge exception to be generated

    XMLWordPrintable

Details

    Description

      When attempting to create a priority with a name of just a space character, I got a huge exception with a traceback instead of a simple error message. I included a portion of the text returned.

      Oops - an error has occurred
      System Error
      A system error has occurred.

      Please try submitting this problem via the Support Request Page
      Otherwise, please create a support issue on our support system at http://support.atlassian.com with the following information:

      a description of your problem
      cut & paste the error and system information found below
      attach the application server log file ( C:\Program Files\Atlassian\Application Data\JIRA\log\atlassian-jira.log )

      Cause:
      com.atlassian.jira.util.dbc.Assertions$BlankStringArgumentException: name should not be empty!

      Stack Trace: [hide]

      com.atlassian.jira.util.dbc.Assertions$BlankStringArgumentException: name should not be empty!
      at com.atlassian.jira.util.dbc.Assertions.notBlank(Assertions.java:115)
      at com.atlassian.jira.config.DefaultPriorityManager.createPriority(DefaultPriorityManager.java:46)
      at com.atlassian.jira.web.action.admin.priorities.ViewPriorities.addConstant(ViewPriorities.java:124)
      at com.atlassian.jira.web.action.admin.constants.AbstractViewConstants.doAddConstant(AbstractViewConstants.java:41)

      Attachments

        Activity

          People

            edalgliesh Eric Dalgliesh
            df38b0124ee6 Norman Abramovitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: