You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Raymond Augé (Jira)" <ji...@apache.org> on 2022/01/19 19:09:00 UTC

[jira] [Assigned] (ARIES-2065) ConcurrentModificationException at java.util.HashMap.computeIfAbsent

     [ https://issues.apache.org/jira/browse/ARIES-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Augé reassigned ARIES-2065:
-----------------------------------

    Assignee: Raymond Augé

> 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)