java.lang.NullPointerException

Atlassian JIRA | Mai Nakagawa [Atlassian] | 8 months ago
  1. 0

    h3. Summary ((i) 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. h3. 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 h3. Expected Results Show error diagram to tell the user to select one or more projects to associate h3. Actual Results 500 error is thrown. The below exception is thrown in the atlassian-jira.log file: {noformat} 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) {noformat} h3.Workaround Go back to the previous page and select one or more projects to associate

    Atlassian JIRA | 8 months ago | Mai Nakagawa [Atlassian]
    java.lang.NullPointerException
  2. 0

    h3. Summary ((i) 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. h3. 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 h3. Expected Results Show error diagram to tell the user to select one or more projects to associate h3. Actual Results 500 error is thrown. The below exception is thrown in the atlassian-jira.log file: {noformat} 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) {noformat} h3.Workaround Go back to the previous page and select one or more projects to associate

    Atlassian JIRA | 8 months ago | Mai Nakagawa [Atlassian]
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.issue.customfields.CustomFieldUtils.buildJiraIssueContexts()
    2. com.atlassian.jira
      AssociateIssueTypeSchemes.doExecute
      1. com.atlassian.jira.issue.customfields.CustomFieldUtils.buildJiraIssueContexts(CustomFieldUtils.java:194)
      2. com.atlassian.jira.web.action.admin.issuetypes.pro.AssociateIssueTypeSchemes.run(AssociateIssueTypeSchemes.java:118)
      3. com.atlassian.jira.web.action.admin.issuetypes.pro.AssociateIssueTypeSchemes.doExecute(AssociateIssueTypeSchemes.java:103)
      4. com.atlassian.jira.web.action.admin.issuetypes.pro.AssociateIssueTypeSchemes.doExecute(AssociateIssueTypeSchemes.java:73)
      4 frames
    3. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.execute(ActionSupport.java:165)
      1 frame
    4. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63)
      1 frame