Workbox notifications throw an error after migrating from Confluence Cloud

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When clicking on the Confluence workbox to see notifications, the popup window contains an error. 

The following appears in the atlassian-confluence.log:

ERROR [http-80-9] [atlassian.event.internal.EventPublisherImpl] invokeListeners There was an exception thrown trying to dispatch event 'com.atlassian.mywork.host.event.BeforeCountNewNotificationsEvent@2e958769' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@53349d99'.
 -- referer: http://localhost:8090/dashboard.action | url: /rest/mywork/latest/status/notification/count | userName: admin
java.lang.RuntimeException: currentApplication
Caused by: java.lang.NullPointerException: currentApplication
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204)
	at com.atlassian.applinks.core.auth.trusted.TrustedApplicationsRequestFactory.<init>(TrustedApplicationsRequestFactory.java:31)
	at com.atlassian.applinks.core.auth.trusted.TrustedAppsAuthenticationProviderPluginModule$1.getRequestFactory(TrustedAppsAuthenticationProviderPluginModule.java:80)
	at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl.createRequestFactory(ApplicationLinkRequestFactoryFactoryImpl.java:119)
	at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl.getApplicationLinkRequestFactory(ApplicationLinkRequestFactoryFactoryImpl.java:106)
	at com.atlassian.applinks.core.link.DefaultApplicationLink.createAuthenticatedRequestFactory(DefaultApplicationLink.java:118)
	at com.atlassian.mywork.host.service.AppLinkHelper.execute(AppLinkHelper.java:59)
	at com.atlassian.mywork.host.service.AppLinkHelper.execute(AppLinkHelper.java:42)
	at com.atlassian.mywork.host.service.ClientServiceImpl.verifyAuth(ClientServiceImpl.java:145)
	at com.atlassian.mywork.host.service.ClientServiceImpl.verifyAuth(ClientServiceImpl.java:111)
	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.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
	... 235 more

Diagnosis

Recent migration from Confluence Cloud to Confluence Server (self-hosted).

Cause

Application links have become corrupted and need to be removed and recreated.

Workaround

Alternative Methods of Deleting Application Links in Confluence

Resolution

(info) If there is no link to remove the application link, refer to the workaround above to remove them.

Last modified on Mar 30, 2016

Was this helpful?

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