java.lang.NullPointerException

Atlassian JIRA | Js | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When the "User picker" window is initially displayed, no users show up. Changing the InGroup selection to a different value than "Any" then shows users. The following shows up in the log when initially displayed: 2004-05-07 12:55:36,927 ERROR [action.admin.user.UserPickerBrowser] Exception getting users: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.jira.web.bean.UserPickerFilter.compare(UserPickerFilter.java:126) at java.util.Arrays.mergeSort(Arrays.java:1278) at java.util.Arrays.mergeSort(Arrays.java:1290) at java.util.Arrays.mergeSort(Arrays.java:1290) at java.util.Arrays.mergeSort(Arrays.java:1290) at java.util.Arrays.sort(Arrays.java:1219) at java.util.Collections.sort(Collections.java:155) at com.atlassian.jira.web.bean.UserPickerFilter.getFilteredUsers(UserPickerFilter.java:104) at com.atlassian.jira.web.action.admin.user.UserPickerBrowser.getBrowsableItems(UserPickerBrowser.java:82) at com.atlassian.jira.web.action.AbstractBrowser.getNiceStart(AbstractBrowser.java:71) at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at webwork.util.ValueStack.findValue(ValueStack.java:345) at webwork.util.ValueStack.findValue(ValueStack.java:171) at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:60) at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:55) at org.apache.jsp.userpicker_jsp._jspx_meth_webwork_property_0(userpicker_jsp.java:274) at org.apache.jsp.userpicker_jsp._jspx_meth_page_param_0(userpicker_jsp.java:241) at org.apache.jsp.userpicker_jsp._jspService(userpicker_jsp.java:126) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:129) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

    Atlassian JIRA | 1 decade ago | Js
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.web.bean.UserPickerFilter.compare()
    2. com.atlassian.jira
      UserPickerFilter.compare
      1. com.atlassian.jira.web.bean.UserPickerFilter.compare(UserPickerFilter.java:126)
      1 frame
    3. Java RT
      Collections.sort
      1. java.util.Arrays.mergeSort(Arrays.java:1278)
      2. java.util.Arrays.mergeSort(Arrays.java:1290)
      3. java.util.Arrays.mergeSort(Arrays.java:1290)
      4. java.util.Arrays.mergeSort(Arrays.java:1290)
      5. java.util.Arrays.sort(Arrays.java:1219)
      6. java.util.Collections.sort(Collections.java:155)
      6 frames
    4. com.atlassian.jira
      AbstractBrowser.getNiceStart
      1. com.atlassian.jira.web.bean.UserPickerFilter.getFilteredUsers(UserPickerFilter.java:104)
      2. com.atlassian.jira.web.action.admin.user.UserPickerBrowser.getBrowsableItems(UserPickerBrowser.java:82)
      3. com.atlassian.jira.web.action.AbstractBrowser.getNiceStart(AbstractBrowser.java:71)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    6. webwork.util
      ValueStack.findValue
      1. webwork.util.ValueStack.findValue(ValueStack.java:345)
      2. webwork.util.ValueStack.findValue(ValueStack.java:171)
      2 frames
    7. webwork.view.taglib
      BasicPropertyTag.doStartTag
      1. webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:60)
      2. webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:55)
      2 frames
    8. org.apache.jsp
      userpicker_jsp._jspService
      1. org.apache.jsp.userpicker_jsp._jspx_meth_webwork_property_0(userpicker_jsp.java:274)
      2. org.apache.jsp.userpicker_jsp._jspx_meth_page_param_0(userpicker_jsp.java:241)
      3. org.apache.jsp.userpicker_jsp._jspService(userpicker_jsp.java:126)
      3 frames