ServiceProxyDestroyedException: service proxy has been destroyed

Hello, can someone explain to me what this error means:
2012-05-29 14:47:55,368 ERROR [TP-Processor88] [[Standalone].[localhost].[/].[dwr-invoker]] log Servlet.service() for servlet dwr-invoker threw exception
org.springframework.osgi.service.importer.ServiceProxyDestroyedException: service proxy has been destroyed
...
this was found in the atlassian-confluence.log

1 answer

1 accepted

4 votes
Accepted answer

SPDE is thrown when the implementing OSGI spring service is destroyed, but you are still trying to call members on it.

For instance, a thread is holding a reference to a spring bean contained in a plugin , then in other thread someone disables completely the plugin (thus destroying the proxy). Badaboum.

How to go through this situation? I sometimes get such kind of exception when I'm trying to get an active-objects component from map inside a plugin job (ao component was put into the map during job scheduling). But this is not always happenning. Thus I'm totally frustrated!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

919 views 13 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you