java.lang.NullPointerException

Atlassian JIRA | Tomasz Kanafa [Atlassian] | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    h3. Summary Upgrading JIRA Software can cause the below exception in certain situations, stopping the use of the Issue Navigator. This apppears to be due to workflow names being changed, without the cache being updated. {noformat} 2015-12-09 15:41:58,893 http-nio-8091-exec-8 ERROR TechTime 941x3049x1 tbpi1v 192.168.32.25 /secure/QuickSearch.jspa [o.a.c.c.C.[.[localhost].[/].[action]] Servlet.service() for servlet action threw exception java.lang.NullPointerException at com.atlassian.jira.issue.search.searchers.renderer.StatusSearchRenderer.getSelectListOptions(StatusSearchRenderer.java:67) at com.atlassian.jira.issue.search.searchers.renderer.IssueConstantsSearchRenderer.getEditHtml(IssueConstantsSearchRenderer.java:51) at com.atlassian.jira.components.query.DefaultSearcherService.getEditHtml(DefaultSearcherService.java:474) at com.atlassian.jira.components.query.DefaultSearcherService.getValueResults(DefaultSearcherService.java:260) at com.atlassian.jira.components.query.DefaultSearcherService.getSearchResults(DefaultSearcherService.java:181) at com.atlassian.jira.components.query.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:175) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy2435.searchWithJql(Unknown Source) at com.atlassian.jira.plugin.issuenav.IssueNavAction.performSearch(IssueNavAction.java:1261) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doNav(IssueNavAction.java:427) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doDefault(IssueNavAction.java:271) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) ... 2 filtered at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) ... 7 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 122 filtered at com.atlassian.jira.plugin.issuenav.IssueNavRewriteFilter.doFilter(IssueNavRewriteFilter.java:101) ... 86 filtered at com.atlassian.jira.plugin.issuenav.KickassRedirectFilter.doFilter(KickassRedirectFilter.java:151) ... 33 filtered at com.atlassian.jira.plugin.issuenav.LegacyTextQueryUrlRedirectFilter.doFilter(LegacyTextQueryUrlRedirectFilter.java:43) ... 15 filtered at com.atlassian.jira.web.action.issue.QuickSearch.sendInternalRedirect(QuickSearch.java:50) at com.atlassian.jira.web.action.issue.QuickSearch.doExecute(QuickSearch.java:43) ... 1 filtered at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) ... 7 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 55 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 151 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. Steps to Reproduce # Install JIRA Core. # Restore an XML backup that contains 'Agile Simplied Workflow's. # Perform a quick search in JIRA Core. # Go to versions & licenses and install JIRA Software. # Perform a quick search. h3. Expected Results The search returns the normal, expected results. h3. Actual Results The exception above is thrown and breaks searching. h3. Workaround Restart JIRA, and the cache will be reset.

    Atlassian JIRA | 1 year ago | Tomasz Kanafa [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.issue.search.searchers.renderer.StatusSearchRenderer.getSelectListOptions()
    2. com.atlassian.jira
      DefaultSearcherService.searchWithJql
      1. com.atlassian.jira.issue.search.searchers.renderer.StatusSearchRenderer.getSelectListOptions(StatusSearchRenderer.java:67)
      2. com.atlassian.jira.issue.search.searchers.renderer.IssueConstantsSearchRenderer.getEditHtml(IssueConstantsSearchRenderer.java:51)
      3. com.atlassian.jira.components.query.DefaultSearcherService.getEditHtml(DefaultSearcherService.java:474)
      4. com.atlassian.jira.components.query.DefaultSearcherService.getValueResults(DefaultSearcherService.java:260)
      5. com.atlassian.jira.components.query.DefaultSearcherService.getSearchResults(DefaultSearcherService.java:181)
      6. com.atlassian.jira.components.query.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:175)
      6 frames