I finally found what is happening: we are uninstalling the same Bundle 2 times... So I modified the way we are managing the Bundles we want to uninstall.
Olivier -----Message d'origine----- De : Richard S. Hall [mailto:[email protected]] Envoyé : lundi 14 février 2011 16:47 À : [email protected] Objet : Re: NoSuchElementException when uinstalling Bundle On 2/14/11 5:45, Bigard Olivier wrote: > Hi all, > > We are using Felix 3.0.2 with iPojo 1.6.4 and here is the exception we have > sometimes when trying to uninstall a Bundle ("bundle.uninstall();"): > > java.util.NoSuchElementException > at java.util.HashMap$HashIterator.nextEntry(HashMap.java:796) > at java.util.HashMap$ValueIterator.next(HashMap.java:822) > at > org.apache.felix.framework.BundleImpl.getCurrentLocalizedHeader(BundleImpl.java:335) > at > org.apache.felix.framework.BundleImpl.uninstall(BundleImpl.java:961) > > What is the common cause of this error? > Do I need to change the version(s) we are using? I don't necessarily recall fixing a bug here, but you could try a newer version. If this is something that you can reasonably reproduce, you could tell me how and/or let me download your bundle cache so I could look into it. -> richard > Thanks in advance > Olivier > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

