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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

395 views 17 9
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