Upgrading ATST results in a RuntimeException thrown from TroubleshootingPluginReplacementService
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
問題
When upgrading Atlassian Troubleshooting and Support Tools (ATST) from versions prior to 1.3 to a higher version, the following exception is logged in JIRA log file:
2017-10-20 12:04:51,743 UpmAsynchronousTaskManager:thread-2 ERROR admin 724x440x1 1wtf84b 172.17.0.1 /rest/plugins/1.0/ [c.a.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.plugin.event.events.PluginEnabledEvent for com.atlassian.troubleshooting.plugin-jira] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.troubleshooting.upgrade.TroubleshootingPluginReplacementService.onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent), listener=com.atlassian.troubleshooting.upgrade.TroubleshootingPluginReplacementService@1ad233fd}]
java.lang.RuntimeException: service proxy has been destroyed. Listener: com.atlassian.troubleshooting.upgrade.TroubleshootingPluginReplacementService event: com.atlassian.plugin.event.events.PluginEnabledEvent
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:55)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:38)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299)
...
at java.lang.Thread.run(Thread.java:745)
Caused by: org.eclipse.gemini.blueprint.service.importer.ServiceProxyDestroyedException: service proxy has been destroyed
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor$ServiceLookUpCallback.doWithRetry(ServiceDynamicInterceptor.java:102)
at org.eclipse.gemini.blueprint.service.importer.support.internal.support.RetryTemplate.execute(RetryTemplate.java:81)
...原因
The ATST upgrade approach has been changed in version 1.3, therefore it is not listening for PluginEnabledEvent anymore, which results in the above exception.
ソリューション
This exception can be safely ignored, as this is a spurious exception. It has no impact on the functionality.
この内容はお役に立ちましたか?