Hi,

we are experiencing very sporadic NPEs with 1.2.1 in the Felix class
(see stack trace below). This happens during a series of bundle installs
and starts (intercepted by resolveBundles and refreshPackages) calls.
While our implementation is not optimal (which we fixed now), it seems
that this is a very rare race condition.

Any ideas? Should I file a bug?

Regards
Carsten

java.lang.NullPointerException
        at org.apache.felix.framework.Felix.releaseBundleLock(Felix.java:4180)
        at org.apache.felix.framework.Felix$2.moduleResolved(Felix.java:674)
        at
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.fireModuleResolved(R4SearchPolicyCore.java:2845)
        at
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.resolve(R4SearchPolicyCore.java:1130)
        at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1719)
        at org.apache.felix.framework.Felix.resolveBundles(Felix.java:3169)
        at
org.apache.felix.framework.PackageAdminImpl.resolveBundles(PackageAdminImpl.java:288)
        
-- 
Carsten Ziegeler
[EMAIL PROTECTED]

Reply via email to