Application link - Uncaught exception thrown by REST service: null
Asked by Nico Mueller:

**Confluence version: 5.6.5**   
**JIRA version: v6.3.13**

I setup confluence and JIRA locally and since days I cant figure out how to get the applications linked.

When I create an application link for JIRA in confluence, this works. It is shown in confluence under applications links and in JIRA. In JIRA I can see the last confluence actions on the startsite but sadly when i try to create a JIRA issue via Insert when creating a confluence page the following happens:  

I see "Received the following HTTP error code from the server:500".  
and the error below in the confluence log. I tried the solution of <https://confluence.atlassian.com/display/CONFKB/NullPointerException+When+Trying+to+Configure+Application+links>   

and even reinstalling both, confluence and JIRa does not solve the problem. I tried it with a new postgresql database but i just cant get it working. What am I doing wrong?  

Many thanks for your help  
Nico  

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `2015``-``01``-``16` `22``:``29``:``27``,``854` `WARN [http-bio-``8090``-exec-``16``] [persistence.dao.hibernate.HibernateDraftDao] getDraft Found ``4` `drafts ``for` `pageId = ``0` `creator = ``'com.atlassian.confluence.user.ConfluenceUserImpl@5d00eaa[admin,402881444ad10e66014ad1100ae30002]'` `draftType = ``'page'` ` ``-- referer: http:``//localhost:8090/dashboard.action | url: /pages/createpage.action | userName: admin | action: createpage` `2015``-``01``-``16` `22``:``29``:``32``,``157` `ERROR [http-bio-``8090``-exec-``16``] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service: ``null` ` ``-- referer: http:``//localhost:8090/pages/createpage.action?spaceKey=GAME | url: /rest/jira-integration/1.0/servers/7c796e51-43f8-3e06-969d-1114183a0d0b/projects | userName: admin` `java.lang.NullPointerException` ` ``at com.atlassian.internal.integration.jira.DefaultJiraService$``5``.apply(DefaultJiraService.java:``449``)` ` ``at com.atlassian.internal.integration.jira.DefaultJiraService$``5``.apply(DefaultJiraService.java:``445``)` ` ``at com.atlassian.internal.integration.jira.DefaultJiraService.communicateWithJira(DefaultJiraService.java:``702``)` ` ``at com.atlassian.internal.integration.jira.DefaultJiraService.getProjectsAsJson(DefaultJiraService.java:``445``)` ` ``at com.atlassian.internal.integration.jira.rest.JiraServerResource.getProjectsMeta(JiraServerResource.java:``43``)` ` ``at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)` ` ``at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)` ` ``at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)` ` ``at java.lang.reflect.Method.invoke(Unknown Source)` ` ``at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$``1``.invoke(DispatchProviderHelper.java:``234``)` ` ``at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$``1``.intercept(DispatchProviderHelper.java:``100``)` ` ``at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:``61``)` ` ``at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:``38``)` ` ``at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:``61``)` ` ``at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors(DispatchProviderHelper.java:``132``)` ` ``at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch(DispatchProviderHelper.java:``230``)` ` ``at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:``75``)` ` ``at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:``288``)` ` ``at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:``147``)` ` ``at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:``108``)` ` ``at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:``147``)` ` ``at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:``84``)` ` ``at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:``1469``)` ` ``at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:``1400``)` ` ``at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:``1349``)` ` ``at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:``1339``)` ` ``at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:``416``)` ` ``at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:``537``)` ` ``at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:``178``)` ` ``at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:``795``)` ` ``at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:``73``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:``77``)` ` ``at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:``63``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:``36``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.plugins.rest.module.servlet.RestServletUtilsUpdaterFilter.doFilterInternal(RestServletUtilsUpdaterFilter.java:``26``)` ` ``at com.atlassian.plugins.rest.module.servlet.RestServletUtilsUpdaterFilter.doFilter(RestServletUtilsUpdaterFilter.java:``40``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:``25``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:``37``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:``65``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:``36``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:``60``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter(PrettyUrlsSiteMeshFilter.java:``92``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter(PrettyUrlsMatcherFilter.java:``56``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:``77``)` ` ``at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:``63``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:``129``)` ` ``at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:``77``)` ` ``at com.atlassian.confluence.util.profiling.ProfilingPageFilter.doFilter(ProfilingPageFilter.java:``45``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``46``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:``61``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:``77``)` ` ``at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:``63``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.cache.TransactionalCacheFactoryCleanupFilter.doFilter(TransactionalCacheFactoryCleanupFilter.java:``68``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:``21``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:``41``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.util.UserNameHeaderFilter.doFilter(UserNameHeaderFilter.java:``26``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.web.filter.ConfluenceTimeoutFilter.doFilter(ConfluenceTimeoutFilter.java:``63``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:``240``)` ` ``at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:``27``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.web.filter.ThreadLocalCacheFilter.doFilter(ThreadLocalCacheFilter.java:``30``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:``100``)` ` ``at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:``35``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:``148``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``46``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:``61``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:``44``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:``61``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:``77``)` ` ``at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:``63``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:``44``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:``170``)` ` ``at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:``29``)` ` ``at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:``76``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:``99``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:``33``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``46``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.analytics.client.filter.DefaultAnalyticsFilter.doFilter(DefaultAnalyticsFilter.java:``33``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:``115``)` ` ``at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:``92``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.confluence.web.filter.ConfluenceTimingFilter.doFilter(ConfluenceTimingFilter.java:``79``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:``61``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$``1``.doFilter(DelegatingPluginFilter.java:``70``)` ` ``at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:``427``)` ` ``at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``34``)` ` ``at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:``78``)` ` ``at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:``42``)` ` ``at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:``77``)` ` ``at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:``63``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter.doFilter(RequestParamValidationFilter.java:``58``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.web.filter.TranslationModeFilter.doFilter(TranslationModeFilter.java:``44``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.plugin.servlet.filter.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:``73``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.web.filter.LanguageExtractionFilter.doFilter(LanguageExtractionFilter.java:``53``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:``32``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.web.filter.ResponseOutputStreamFilter.doFilter(ResponseOutputStreamFilter.java:``25``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:``44``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:``71``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:``50``)` ` ``at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:``31``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:``241``)` ` ``at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:``208``)` ` ``at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:``220``)` ` ``at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:``122``)` ` ``at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:``501``)` ` ``at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:``170``)` ` ``at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:``98``)` ` ``at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:``116``)` ` ``at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:``408``)` ` ``at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:``1040``)` ` ``at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:``607``)` ` ``at `[org.apache.tomcat.util.net](http://org.apache.tomcat.util.net)`.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:``315``)` ` ``at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)` ` ``at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)` ` ``at java.lang.Thread.run(Unknown Source)` |


Answers:
author: Septa Cahyadiputra
body: Hi Nico,

Regarding this issue, could you please let us know your JIRA server base URL. Judging from your Confluence base URL, it is possible that you are currently experiencing a known issue as describe in our knowledge base article here:

* <https://confluence.atlassian.com/display/JIRAKB/User+is+Constantly+Logged+out+of+JIRA>

It is possible that the NullPointerException referring to your TOKEN.

Hope it helps.

Cheers,  
Septa Cahyadiputra


Tags: confluence-administration