You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/04/02 06:43:52 UTC

[jira] [Resolved] (SLING-4077) ConcurrentModificationException in o.a.sling.installer.core.impl.OsgiInstallerImpl

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

Carsten Ziegeler resolved SLING-4077.
-------------------------------------
    Resolution: Won't Fix

As mentioned, this should be fixed and as there has been no feedback, I'm setting this to won'T fix

> ConcurrentModificationException in o.a.sling.installer.core.impl.OsgiInstallerImpl
> ----------------------------------------------------------------------------------
>
>                 Key: SLING-4077
>                 URL: https://issues.apache.org/jira/browse/SLING-4077
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: Installer Core 3.5.0, Installer Core 3.5.4
>         Environment: Apache Sling Launcher as used by Apache Stanbol trunk versin using Installer Core 3.5.0.
>            Reporter: Rupert Westenthaler
>
> When starting the Apache Stanbol Launchers I do see sometimes CME such as.
> {code}
> 16.10.2014 13:58:41.832 *ERROR* [OsgiInstallerImpl] org.apache.sling.extensions.threaddump.internal.Activator Uncaught exception in Thread Thread[OsgiInstallerImpl,5,main] java.util.ConcurrentModificationException
> 	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
> 	at java.util.HashMap$KeyIterator.next(HashMap.java:928)
> 	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.computeTasks(OsgiInstallerImpl.java:586)
> 	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.run(OsgiInstallerImpl.java:242)
> 	at java.lang.Thread.run(Thread.java:724)
> {code}
> Looks like as if iterations over the PersistentResourceList need to get synchronized.
> The above exception is reported against version 3.5.0 however as the affected code as not changed in 3.5.4 I expect this version to also be affected by this. Because of that I also added this version to the list of affected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)