Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
2
-
Severity 3 - Minor
-
Description
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.
Summary
( It is a trivial bug but would like to report it so that it will be fixed in the future)
500 error occurs when you click "Associate" button in "Associate Issue Type Scheme" without selecting any projects. See also the screenshot.
Steps to Reproduce
- Log in to JIRA as an administrator
- Go to "JIRA Admin" -> "Issues" -> "Issue type schemes"
- Choose an Issue type scheme which has not associated to any project yet or an Issue type scheme which is associated to Global (all unconfigured projects)
- Click "Associate" button without selecting any projects
Expected Results
Show error diagram to tell the user to select one or more projects to associate
Actual Results
500 error is thrown. The below exception is thrown in the atlassian-jira.log file:
2016-03-31 17:31:15,403 http-nio-17102-exec-1 ERROR [o.a.c.c.C.[.[localhost].[/].[action]] Servlet.service() for servlet [action] in context with path [/] threw exception [java.lang.NullPointerException] with root cause java.lang.NullPointerException at com.atlassian.jira.issue.customfields.CustomFieldUtils.buildJiraIssueContexts(CustomFieldUtils.java:194) at com.atlassian.jira.web.action.admin.issuetypes.pro.AssociateIssueTypeSchemes.run(AssociateIssueTypeSchemes.java:118) at com.atlassian.jira.web.action.admin.issuetypes.pro.AssociateIssueTypeSchemes.doExecute(AssociateIssueTypeSchemes.java:103) at com.atlassian.jira.web.action.admin.issuetypes.pro.AssociateIssueTypeSchemes.doExecute(AssociateIssueTypeSchemes.java:73) at webwork.action.ActionSupport.execute(ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) ... 7 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 50 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 66 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 89 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)
Workaround
Go back to the previous page and select one or more projects to associate
Attachments
Issue Links
- is related to
-
JRASERVER-60394 500 Error thrown when clicking "Associate" w/o selecting any projects
- Gathering Impact