Workbox notifications throws 500 response error

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following appears in the atlassian-confluence.log:

2014-06-23 23:32:16,415 ERROR [ajp-bio-8002-exec-243] [mywork.host.rest.ExceptionLogger] toResponse Exception thrown from resource
 -- url: /rest/mywork/latest/notification/nested | userName: <UserName> | referer: https://<URL>/plugins/servlet/notifications-miniview
java.lang.NullPointerException
	at com.atlassian.mywork.host.service.AppLinkHelper.stripBaseUrl(AppLinkHelper.java:128)
	at com.atlassian.mywork.host.service.AppLinkHelper.createNotification(AppLinkHelper.java:99)
	at com.atlassian.mywork.host.service.ClientServiceImpl$2.apply(ClientServiceImpl.java:162)
	at com.atlassian.mywork.host.service.ClientServiceImpl$2.apply(ClientServiceImpl.java:148)
	at com.atlassian.mywork.host.service.AppLinkHelper$1.handle(AppLinkHelper.java:77)
	at com.atlassian.applinks.core.auth.oauth.OAuthApplinksResponseHandler.handle(OAuthApplinksResponseHandler.java:61)
	at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:87)
	at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166)

Cause

The error thrown in the Confluence log is related to the configuration of your application links.

Resolution

Double check the configuration of your application link (from Confluence Admin > Application Links ) to ensure that your application link is configured with a valid URL and that both Incoming and Outgoing authentication is configured. 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.