Hi Cristiano,

I bet you have a refresh that cause the bundle context you are using doesn't exist anymore (recreated).

Regards
JB

On 06/30/2016 04:57 PM, Cristiano Costantini wrote:
Hello All,

I'n our application it happen sometime to find in situations where we
get the "Invalid BundleContext" exception:

java.lang.IllegalStateException: Invalid BundleContext.
at
org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:453)


What are the potential reasons such exception may be thrown?
I'm searching to understand so I can hunt for a potential design issue
in some of our bundles... I've searched the web but I've found no hint.

Thank you!
Cristiano


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to