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

This widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

447 views 5 6
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