Re: [osgi-dev] Bundle attempting to interrogate BundleContext when starting up

2014-08-01 Thread Neil Bartlett
, July 31, 2014 5:41 PM To: OSGi Developer Mail List Subject: Re: [osgi-dev] Bundle attempting to interrogate BundleContext when starting up   Package dependencies between bundles do not cause the bundles to be started. Starting/Stopping a bundle is independent of the RESOLVED state (package

[osgi-dev] Bundle attempting to interrogate BundleContext when starting up

2014-07-31 Thread Leschke, Scott
I posted the following to the Apache Karaf user list last week. What I'm primarily interested in is the fact that the DataNucleus bundle that is getting the exception seems to be trying to do something that seems reasonable, i.e. get it's own BundleContext when it's running, but gets an NPE

Re: [osgi-dev] Bundle attempting to interrogate BundleContext when starting up

2014-07-31 Thread Neil Bartlett
Is it possible that somebody has subclassed OSGiPluginRegistry? In which case “this.getClass()” will not return OSGiPluginRegistry but the subclass, which might be in another bundle entirely. Neil On 31 July 2014 at 23:28:10, Leschke, Scott (slesc...@medline.com) wrote:   I posted the