Upgrading ATST results in a RuntimeException thrown from TroubleshootingPluginReplacementService
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs 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
Problem
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:
1
2
3
4
5
6
7
8
9
10
11
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)
...
Cause
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.
Resolution
This exception can be safely ignored, as this is a spurious exception. It has no impact on the functionality.
Was this helpful?