Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,370
Community Members
 
Community Events
165
Community Groups

Nullpointer exception found in Jira log

Hello,

 

I keep finding the below null pointer exception in Jira log. How can I know why this null pointer exception occurs? 

 

2021-06-17 13:13:18,841+0200 https-jsse-nio-8443-exec-8 ERROR xxx@xxx.com 793x5752730x6 1b6i6t1 195.238.24.42,10.61.92.21 /plugins/servlet/gadgets/makeRequest [o.a.c.c.C.[Catalina].[localhost].[/]] Unhandled exception occurred whilst decorating page

java.lang.NullPointerException

       at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher.addResponseToCacheIfSuccessful(HttpClientFetcher.java:81)

       at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher.performRequest(HttpClientFetcher.java:102)

       at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher.fetch(HttpClientFetcher.java:59)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.fetchFromServer(OAuthFetcher.java:805)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.sendOAuthMessage(OAuthFetcher.java:584)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.fetchRequestToken(OAuthFetcher.java:335)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.attemptFetch(OAuthFetcher.java:275)

       at com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthFetcher.attemptFetch(AtlassianOAuthFetcher.java:66)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.fetchWithRetry(OAuthFetcher.java:231)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.fetchNoThrow(OAuthFetcher.java:189)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.fetch(OAuthFetcher.java:170)

       at org.apache.shindig.gadgets.http.ContentFetcherFactory.fetch(ContentFetcherFactory.java:55)

       at com.atlassian.gadgets.renderer.internal.http.TrustedAppContentFetcherFactory.fetch(TrustedAppContentFetcherFactory.java:42)

       at org.apache.shindig.gadgets.servlet.MakeRequestHandler.fetch(MakeRequestHandler.java:84)

       at org.apache.shindig.gadgets.servlet.MakeRequestServlet.doGet(MakeRequestServlet.java:55)

       at com.atlassian.gadgets.shindig.servlet.XsrfMakeRequestServlet.doGet(XsrfMakeRequestServlet.java:24)

       at org.apache.shindig.gadgets.servlet.MakeRequestServlet.doPost(MakeRequestServlet.java:65)

       at com.atlassian.gadgets.shindig.servlet.XsrfMakeRequestServlet.doPost(XsrfMakeRequestServlet.java:37)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)

       at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:37)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)

       at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:46)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)

       ... 48 filtered

       at com.atlassian.jira.plugin.mobile.web.filter.MobileAppRequestFilter.doFilter(MobileAppRequestFilter.java:59)

       ... 4 filtered

       at com.atlassian.jira.plugin.mobile.login.MobileLoginSuccessFilter.doFilter(MobileLoginSuccessFilter.java:54)

       ... 3 filtered

       at com.atlassian.diagnostics.internal.platform.monitor.http.HttpRequestMonitoringFilter.doFilter(HttpRequestMonitoringFilter.java:55)

       ... 8 filtered

       at org.apache.shindig.auth.AuthenticationServletFilter.callChain(AuthenticationServletFilter.java:123)

       at org.apache.shindig.auth.AuthenticationServletFilter.doFilter(AuthenticationServletFilter.java:86)

       ... 3 filtered

       at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)

       ... 48 filtered

       at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46)

       ... 17 filtered

       at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)

       ... 1 filtered

       at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)

       ... 36 filtered

       at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)

       ... 10 filtered

       at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)

       ... 4 filtered

       at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46)

       ... 3 filtered

       at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)

       ... 29 filtered

       at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)

       ... 25 filtered

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

       at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

       at java.lang.Thread.run(Thread.java:748)

2021-06-17 13:13:18,844+0200 https-jsse-nio-8443-exec-8 ERROR      [o.a.c.c.C.[.[localhost].[/].[servlet-module-container-servlet]] Servlet.service() for servlet [servlet-module-container-servlet] in context with path [] threw exception

java.lang.NullPointerException

       at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher.addResponseToCacheIfSuccessful(HttpClientFetcher.java:81)

       at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher.performRequest(HttpClientFetcher.java:102)

       at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher.fetch(HttpClientFetcher.java:59)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.fetchFromServer(OAuthFetcher.java:805)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.sendOAuthMessage(OAuthFetcher.java:584)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.fetchRequestToken(OAuthFetcher.java:335)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.attemptFetch(OAuthFetcher.java:275)

       at com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthFetcher.attemptFetch(AtlassianOAuthFetcher.java:66)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.fetchWithRetry(OAuthFetcher.java:231)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.fetchNoThrow(OAuthFetcher.java:189)

       at org.apache.shindig.gadgets.oauth.OAuthFetcher.fetch(OAuthFetcher.java:170)

       at org.apache.shindig.gadgets.http.ContentFetcherFactory.fetch(ContentFetcherFactory.java:55)

       at com.atlassian.gadgets.renderer.internal.http.TrustedAppContentFetcherFactory.fetch(TrustedAppContentFetcherFactory.java:42)

       at org.apache.shindig.gadgets.servlet.MakeRequestHandler.fetch(MakeRequestHandler.java:84)

       at org.apache.shindig.gadgets.servlet.MakeRequestServlet.doGet(MakeRequestServlet.java:55)

       at com.atlassian.gadgets.shindig.servlet.XsrfMakeRequestServlet.doGet(XsrfMakeRequestServlet.java:24)

       at org.apache.shindig.gadgets.servlet.MakeRequestServlet.doPost(MakeRequestServlet.java:65)

       at com.atlassian.gadgets.shindig.servlet.XsrfMakeRequestServlet.doPost(XsrfMakeRequestServlet.java:37)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)

       at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:37)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)

       at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:46)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)

       ... 48 filtered

       at com.atlassian.jira.plugin.mobile.web.filter.MobileAppRequestFilter.doFilter(MobileAppRequestFilter.java:59)

       ... 4 filtered

       at com.atlassian.jira.plugin.mobile.login.MobileLoginSuccessFilter.doFilter(MobileLoginSuccessFilter.java:54)

       ... 3 filtered

       at com.atlassian.diagnostics.internal.platform.monitor.http.HttpRequestMonitoringFilter.doFilter(HttpRequestMonitoringFilter.java:55)

       ... 8 filtered

       at org.apache.shindig.auth.AuthenticationServletFilter.callChain(AuthenticationServletFilter.java:123)

       at org.apache.shindig.auth.AuthenticationServletFilter.doFilter(AuthenticationServletFilter.java:86)

       ... 3 filtered

       at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)

       ... 48 filtered

       at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46)

       ... 17 filtered

       at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)

       ... 1 filtered

       at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)

       ... 36 filtered

       at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)

       ... 10 filtered

       at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)

       ... 4 filtered

       at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46)

       ... 3 filtered

       at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)

       ... 29 filtered

       at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)

       ... 25 filtered

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

       at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

       at java.lang.Thread.run(Thread.java:748)

 

1 answer

We recently upgraded our JIRA to DC version 8.20 and getting the same exception in logs. Is there any resolution for this ?

Thanks,
Bharath

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you