[ https://issues.apache.org/jira/browse/FELIX-768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated FELIX-768: ----------------------------------- Attachment: log.txt > NullPointerException during resolveBundles > ------------------------------------------ > > Key: FELIX-768 > URL: https://issues.apache.org/jira/browse/FELIX-768 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-1.2.1 > Reporter: Carsten Ziegeler > Attachments: log.txt > > > 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. > 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) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.