Workbox notifications throws 500 response error

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

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 Dec 31, 2024

Was this helpful?

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