knopflerfish / knopflerfish.org

Knopflerfish OSGi Service Platform. OSGi run-time container and SDK source code repo
http://www.knopflerfish.org
BSD 3-Clause "New" or "Revised" License
33 stars 11 forks source link

SCR gets ConcurrentModificationException in service listener #53

Closed janste63 closed 2 years ago

janste63 commented 4 years ago

DEBUG: errors - FrameworkErrorEvent bundle #85

DEBUG: errors - FrameworkErrorEvent throwable:

java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442) at java.util.HashMap$KeyIterator.next(HashMap.java:1466) at org.knopflerfish.bundle.component.ComponentServiceListener.serviceChanged(ComponentServiceListener.java:70) at org.knopflerfish.framework.Listeners.serviceChanged(Listeners.java:430) at org.knopflerfish.framework.PermissionOps.callServiceChanged(PermissionOps.java:340) at org.knopflerfish.framework.Services.register(Services.java:179) at org.knopflerfish.framework.BundleContextImpl.registerService(BundleContextImpl.java:289) at org.knopflerfish.framework.BundleContextImpl.registerService(BundleContextImpl.java:304)

chlarsson commented 2 years ago

Issue corrected in Component (SCR) 6.0.7 and released in KF 6.1.5