Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.1.7
-
Windows 7
-
5.01
-
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)