Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
ipojo-core-1.8.2
-
None
Description
There is a potential CME when a bundle declaring instances is stopped.
The exception we see in the logs is: -
31.07.2012 14:54:10.281 ERROR [FelixDispatchQueue] org.apache.felix.ipojo FrameworkEvent ERROR (java.util.ConcurrentModificationException) java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$KeyIterator.next(HashMap.java:828)
at org.apache.felix.ipojo.InstanceCreator.removeInstancesFromBundle(InstanceCreator.java:117)
at org.apache.felix.ipojo.Extender.closeManagementFor(Extender.java:147)
at org.apache.felix.ipojo.Extender.bundleChanged(Extender.java:129)
The instance deletion is not protected against concurrent access.