[ https://issues.apache.org/jira/browse/ARIES-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478922#comment-17478922 ]
ASF subversion and git services commented on ARIES-2065: -------------------------------------------------------- Commit 6e95dc4435c746d8b7d8977227a705e3d045eb1f in aries-component-dsl's branch refs/heads/dependabot/maven/org.eclipse.platform-org.eclipse.osgi-3.17.100 from Raymond Augé [ https://gitbox.apache.org/repos/asf?p=aries-component-dsl.git;h=6e95dc4 ] ARIES-2065 ConcurrentModificationException at java.util.HashMap.computeIfAbsent Signed-off-by: Raymond Augé <rotty3...@apache.org> > ConcurrentModificationException at java.util.HashMap.computeIfAbsent > -------------------------------------------------------------------- > > Key: ARIES-2065 > URL: https://issues.apache.org/jira/browse/ARIES-2065 > Project: Aries > Issue Type: Bug > Components: Component DSL > Reporter: Arthur Naseef > Assignee: Raymond Augé > Priority: Major > > Using aries-jax-rs-whiteboard with resources from 2 different bundles, I hit > the following. > {code:java} > java.util.ConcurrentModificationException > at java.base/java.util.HashMap.computeIfAbsent(Unknown Source) > at org.apache.aries.component.dsl.OSGi.lambda$null$79(OSGi.java:734) > at > org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) > at > org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50){code} > Debugging, this was tracked back to {{OSGi.splitBy()}} and it's use of > {color:#172b4d}HashMap{color}. > When this happens, the services fail to start up. Since this is a race > condition, it does not happen every time. -- This message was sent by Atlassian Jira (v8.20.1#820001)