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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

372 views 20 10
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