Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence Notification box stays empty

Fabian_Ebner August 23, 2018

Hello everyone, 

For some users (all except admin) the Notification Box stays empty. 

When I try to view the notifications with an non-administrative user the box stays blank and nothing happens. 

However in the log I can find some Stacktraces. 

The Log-Analysator suggested trying this: https://confluence.atlassian.com/confkb/confluence-quicknav-gadget-displays-gadget-quicknav-search-as-default-search-value-794372434.html?utm_medium=logScan&utm_source=STP

I also emptied the plugin-cache according to https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html

But that did not solve my problem. 

However the Log displays the following error:

2018-08-23 14:02:54,621 ERROR [http-nio-8090-exec-1] [mywork.host.rest.ExceptionLogger] toResponse Exception thrown from REST resource
-- referer: https://<confluence-url>/plugins/servlet/notifications-miniview | url: /rest/mywork/latest/notification/nested | traceId: 36f4935864f2af1e | userName: dsb
java.lang.NullPointerException: null value in entry: page=null

My general setup:

Confluence runs in Version 6.1.2 with an Postgres-Database. SSL is terminated by an Apache-Proxy on Port 443. The certificate of the Root-CA is in the Trust-Store of the Confluence-JRE.

I hope you can help me. 

Kind regards 

Fabian

 

Edit: Complete Stacktrace:

2018-08-27 09:01:04,805 ERROR [http-nio-8090-exec-4] [mywork.host.rest.ExceptionLogger] toResponse Exception thrown from REST resource
 -- url: /rest/mywork/latest/notification/nested | traceId: ea8ea5cd3a9e26ae | userName: dsb
java.lang.NullPointerException: null value in entry: page=null
        at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:33)
        at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:135)
        at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:206)
        at com.atlassian.mywork.host.soy.SoyUtils.toSoyData(SoyUtils.java:100)
        at com.atlassian.mywork.host.soy.SoyUtils.toSoyData(SoyUtils.java:48)
        at com.atlassian.mywork.host.service.NotificationRendererServiceImpl.getData(NotificationRendererServiceImpl.java:213)
        at com.atlassian.mywork.host.service.NotificationRendererServiceImpl.access$200(NotificationRendererServiceImpl.java:55)
        at com.atlassian.mywork.host.service.NotificationRendererServiceImpl$2.apply(NotificationRendererServiceImpl.java:192)
        at com.atlassian.mywork.host.service.NotificationRendererServiceImpl$2.apply(NotificationRendererServiceImpl.java:184)
        at com.atlassian.fugue.Option$Some.fold(Option.java:421)
        at com.atlassian.fugue.Option.flatMap(Option.java:287)
        at com.atlassian.mywork.host.service.NotificationRendererServiceImpl.renderDescription(NotificationRendererServiceImpl.java:183)
        at com.atlassian.mywork.host.service.NotificationRendererServiceImpl$4.apply(NotificationRendererServiceImpl.java:225)
        at com.atlassian.mywork.host.service.NotificationRendererServiceImpl$4.apply(NotificationRendererServiceImpl.java:221)
        at com.google.common.collect.Iterators$8.transform(Iterators.java:799)
        at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
        at com.google.common.collect.Multimaps.index(Multimaps.java:1507)
        at com.google.common.collect.Multimaps.index(Multimaps.java:1455)
        at com.atlassian.mywork.host.notification.AggregationUtil.aggregate(AggregationUtil.java:17)
        at com.atlassian.mywork.host.rest.NotificationResource.aggregateNotifications(NotificationResource.java:110)
        at com.atlassian.mywork.host.rest.NotificationResource.findByUserNested(NotificationResource.java:105)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:192)
        at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:83)
        at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:53)
        at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:34)
        at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:53)
        at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors(DispatchProviderHelper.java:110)
        at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch(DispatchProviderHelper.java:190)
        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:154)
        at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795)
        at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)
<...>
2018-08-27 09:01:04,809 INFO [http-nio-8090-exec-4] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog
Request Unique ID : 26ba92e5-3865-40af-9930-bd6009867580
--------------------------
JVM Stats
--------------------------
usedMemory = 585255192
usedMemoryInMegabytes = 558
availableHeap = 3709712104
freeMemoryInMegabytes = 465
allocatedHeap = 1073741824
freeAllocatedHeap = 488486632
totalMemory = 1073741824
totalMemoryInMegabytes = 1024
availablePermGen = 0
maxPermGen = -1
maxHeap = 4294967296
usedHeap = 585255192
freeMemory = 488486632
usedPermGen = -1
--------------------------
Request Information
--------------------------
URL: https://<confluence-url>/500page.jsp
Scheme: https
Server: <confluence-url>
Port: 443
URI: /500page.jsp
Context Path:
Servlet Path: /500page.jsp
Path Info: null
Query String: null
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /rest/mywork/latest/notification/nested
javax.servlet.forward.context_path:
javax.servlet.forward.servlet_path: /rest
javax.servlet.forward.path_info: /mywork/latest/notification/nested
javax.servlet.error.status_code: 500
com.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@6599127
com.opensymphony.sitemesh.APPLIED_ONCE: true
__cleanup_recursion_counter: 0
javax.servlet.error.message: Internal Server Error
javax.servlet.error.servlet_name: noop
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true
atlassian.core.seraph.original.url: /500page.jsp
com.atlassian.gzipfilter.GzipFilter_already_filtered: true
B3-TraceId: a0887bde2c8acd
loginfilter.already.filtered: true
javax.servlet.error.request_uri: /rest/mywork/latest/notification/nested
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true
os_securityfilter_already_filtered: true
com.atlassian.seraph.auth.LoginReason: OK
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true
--------------------------
Parameters
--------------------------

1 answer

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 24, 2018

Hello Fabian, thank you for sharing this with our Community!
It seems that your instance is affected by the problem described here:

Workbox notifications throws 500 response error

Basically, there might be a problem with the application links between Confluence and other applications. You will need to check them and also the oauth tokens within the other applications so the authentication with the other app is working correctly.

Let us know if this helps you out!

Fabian_Ebner August 26, 2018

Hi Diego,

Thank you for your suggestion, but I havent't configured any Application Links... Do you have any other suggestions?

Kind Regards

Fabian

Application Links.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events