java.lang.NullPointerException

Atlassian JIRA | Zulfadli Noor Sazali [Atlassian] | 3 years ago
  1. 0

    h3. Summary _Internal Server Error_ while trying to access a JIRA Agile (formerly known as GreenHopper) planning board. There is no problem accessing Work or Report mode do not have the problem. The following stack trace are thrown in the logs {noformat}2013-09-03 18:37:09,537 http-bio-8521-exec-21 ERROR dtsadmin 1117x41496x3 n90guw 10.60.3.28 /rest/greenhopper/1.0/xboard/plan/backlog/data.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.NullPointerException at com.atlassian.greenhopper.web.rapid.plan.PlanningModeServiceImpl.getProgressIndicators(PlanningModeServiceImpl.java:212) at com.atlassian.greenhopper.web.rapid.plan.PlanningModeServiceImpl.getCurrentSprintsAndIssues(PlanningModeServiceImpl.java:180) at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.loadBacklogData(PlanningModeResource.java:290) at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.access$300(PlanningModeResource.java:69) at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource$1.call(PlanningModeResource.java:156) at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource$1.call(PlanningModeResource.java:141) at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48) at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:50) at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.getBacklogData(PlanningModeResource.java:140) <+3> (NativeMethodAccessorImpl.java:39) (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) <+19> (DispatchProviderHelper.java:234) (DispatchProviderHelper.java:100) (DefaultMethodInvocation.java:61) (ExpandInterceptor.java:38) (DefaultMethodInvocation.java:61) (DispatchProviderHelper.java:132) (DispatchProviderHelper.java:230) (ResourceJavaMethodDispatcher.java:75) (HttpMethodRule.java:288) (RightHandPathRule.java:147) (ResourceClassRule.java:108) (RightHandPathRule.java:147) (RootResourceClassesRule.java:84) (WebApplicationImpl.java:1469) (WebApplicationImpl.java:1400) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) <+1> (ServletContainer.java:795) at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) <+16> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) (RestServletUtilsUpdaterFilter.java:26) (RestServletUtilsUpdaterFilter.java:40) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) (ContextFilter.java:25) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37) <+15> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (AccessLogFilter.java:103) (AccessLogFilter.java:87) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (XsrfTokenAdditionRequestFilter.java:54) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.modules.permissions.ApiScopingFilter.doFilter(ApiScopingFilter.java:60) <+22> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (SecurityFilter.java:234) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (TrustedApplicationsFilter.java:98) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (BaseLoginFilter.java:169) (JiraLoginFilter.java:70) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:66) (OAuthFilter.java:55) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) <+9> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (AbstractJohnsonFilter.java:71) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) <+9> (UrlRewriteFilter.java:394) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (GzipFilter.java:80) (GzipFilter.java:51) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.modules.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:70) <+3> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) at com.atlassian.labs.remoteapps.util.http.bigpipe.RequestIdSettingFilter.doFilter(RequestIdSettingFilter.java:22) <+43> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) (JWDSendRedirectFilter.java:25) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (ChainedFilterStepRunner.java:78) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (AbstractCachingFilter.java:33) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (AbstractEncodingFilter.java:41) (AbstractHttpFilter.java:31) (PathMatchingEncodingFilter.java:45) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (JiraStartupChecklistFilter.java:74) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (MultiTenantServletFilter.java:91) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (ChainedFilterStepRunner.java:78) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (StandardWrapperValve.java:225) (StandardContextValve.java:123) (AuthenticatorBase.java:472) (StandardHostValve.java:168) (ErrorReportValve.java:98) (StandardEngineValve.java:118) (AccessLogValve.java:927) (CoyoteAdapter.java:407) (AbstractHttp11Processor.java:1001) (AbstractProtocol.java:585) (JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662){noformat}

    Atlassian JIRA | 3 years ago | Zulfadli Noor Sazali [Atlassian]
    java.lang.NullPointerException
  2. 0

    Steps to reproduce: # Start with an instance which has GreenHopper installed and the Epic issue type created by GreenHopper # Delete all issues of type Epic # Delete Epic Issue Type via JIRA admin # Enable Epics Support labs feature # Go to an Agile Board and go to Plan Mode You will see a red error message "Internal Server Error" and no Plan Mode information will be displayed. In the console and server logs you will find this stack trace: {code} [INFO] [talledLocalContainer] 2012-11-02 15:29:30,144 http-2990-6 ERROR admin 929x3476x1 17uppd5 0:0:0:0:0:0:0:1%0 /rest/greenhopper/1.0/xboard/plan/backlog/data.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getPlanModeClause(RapidViewClauseServiceImpl.java:108) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getClauseForBuilder(RapidViewClauseServiceImpl.java:70) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.service.rapid.RapidViewQueryServiceImpl.getBacklogQuery(RapidViewQueryServiceImpl.java:189) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.service.rapid.RapidViewQueryServiceImpl.getBacklogQuery(RapidViewQueryServiceImpl.java:167) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.list.RapidIssueEntryQueryServiceImpl.collectBacklogIssues(RapidIssueEntryQueryServiceImpl.java:165) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.loadBacklogData(PlanningModeResource.java:220) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.access$300(PlanningModeResource.java:59) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource$1.call(PlanningModeResource.java:130) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource$1.call(PlanningModeResource.java:115) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:48) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.getBacklogData(PlanningModeResource.java:114) {code} *Workaround* Refer to the following KB article to fix the Epic issue type association in database: [Unable to access Planning mode due to at com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getPlanModeClause|https://confluence.atlassian.com/display/GHKB/Unable+to+access+Planning+mode+due+to+at+com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getPlanModeClause]

    Atlassian JIRA | 4 years ago | Michael Tokar
    java.lang.NullPointerException
  3. 0

    Steps to reproduce: # Start with an instance which has GreenHopper installed and the Epic issue type created by GreenHopper # Delete all issues of type Epic # Delete Epic Issue Type via JIRA admin # Enable Epics Support labs feature # Go to an Agile Board and go to Plan Mode You will see a red error message "Internal Server Error" and no Plan Mode information will be displayed. In the console and server logs you will find this stack trace: {code} [INFO] [talledLocalContainer] 2012-11-02 15:29:30,144 http-2990-6 ERROR admin 929x3476x1 17uppd5 0:0:0:0:0:0:0:1%0 /rest/greenhopper/1.0/xboard/plan/backlog/data.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getPlanModeClause(RapidViewClauseServiceImpl.java:108) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getClauseForBuilder(RapidViewClauseServiceImpl.java:70) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.service.rapid.RapidViewQueryServiceImpl.getBacklogQuery(RapidViewQueryServiceImpl.java:189) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.service.rapid.RapidViewQueryServiceImpl.getBacklogQuery(RapidViewQueryServiceImpl.java:167) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.list.RapidIssueEntryQueryServiceImpl.collectBacklogIssues(RapidIssueEntryQueryServiceImpl.java:165) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.loadBacklogData(PlanningModeResource.java:220) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.access$300(PlanningModeResource.java:59) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource$1.call(PlanningModeResource.java:130) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource$1.call(PlanningModeResource.java:115) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:48) [INFO] [talledLocalContainer] at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.getBacklogData(PlanningModeResource.java:114) {code} *Workaround* Refer to the following KB article to fix the Epic issue type association in database: [Unable to access Planning mode due to at com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getPlanModeClause|https://confluence.atlassian.com/display/GHKB/Unable+to+access+Planning+mode+due+to+at+com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getPlanModeClause]

    Atlassian JIRA | 4 years ago | Michael Tokar
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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

    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.greenhopper.web.rapid.plan.PlanningModeServiceImpl.getProgressIndicators()
    2. com.atlassian.greenhopper
      PlanningModeResource.getBacklogData
      1. com.atlassian.greenhopper.web.rapid.plan.PlanningModeServiceImpl.getProgressIndicators(PlanningModeServiceImpl.java:212)
      2. com.atlassian.greenhopper.web.rapid.plan.PlanningModeServiceImpl.getCurrentSprintsAndIssues(PlanningModeServiceImpl.java:180)
      3. com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.loadBacklogData(PlanningModeResource.java:290)
      4. com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.access$300(PlanningModeResource.java:69)
      5. com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource$1.call(PlanningModeResource.java:156)
      6. com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource$1.call(PlanningModeResource.java:141)
      7. com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48)
      8. com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:50)
      9. com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.getBacklogData(PlanningModeResource.java:140)
      9 frames
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java:597)
      1 frame
    4. com.atlassian.plugins
      RestDelegatingServletFilter.doFilter
      1. com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178)
      2. com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73)
      2 frames
    5. com.atlassian.mywork
      ServingRequestsFilter.doFilter
      1. com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37)
      1 frame
    6. com.atlassian.labs
      ApiScopingFilter.doFilter
      1. com.atlassian.labs.remoteapps.modules.permissions.ApiScopingFilter.doFilter(ApiScopingFilter.java:60)
      1 frame
    7. com.atlassian.plugins
      RestSeraphFilter.doFilter
      1. com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40)
      1 frame
    8. UrlRewriteFilter
      UrlRewriter.processRequest
      1. org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
      2. org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
      3. org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
      3 frames
    9. com.atlassian.labs
      RequestIdSettingFilter.doFilter
      1. com.atlassian.labs.remoteapps.modules.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:70)
      2. com.atlassian.labs.remoteapps.util.http.bigpipe.RequestIdSettingFilter.doFilter(RequestIdSettingFilter.java:22)
      2 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames