Workbox notifications throw an error after migrating from Confluence Cloud
症状
When clicking on the Confluence workbox to see notifications, the popup window contains an error.
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
診断
Recent migration from Confluence Cloud to Confluence Server (self-hosted).
原因
Application links have become corrupted and need to be removed and recreated.
回避策
Confluence でアプリケーション リンクを削除する場合の代替方法
ソリューション
- Delete and recreate any application links
- 別のアプリケーションへのリンク
If there is no link to remove the application link, refer to the workaround above to remove them.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.