You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2015/07/24 11:32:04 UTC

[jira] [Updated] (SLING-4903) ConcurrentModificationException in MapEntries

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

Antonio Sanso updated SLING-4903:
---------------------------------
    Attachment: SLING-4883-test-patch.txt

adding patch containing unit test that reproduces the issue

> ConcurrentModificationException in MapEntries
> ---------------------------------------------
>
>                 Key: SLING-4903
>                 URL: https://issues.apache.org/jira/browse/SLING-4903
>             Project: Sling
>          Issue Type: Bug
>          Components: ResourceResolver
>            Reporter: Antonio Sanso
>            Assignee: Antonio Sanso
>         Attachments: SLING-4883-test-patch.txt
>
>
> {code}
> org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable java.util.ConcurrentModificationException: null
>  at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859)
>  at java.util.ArrayList$Itr.next(ArrayList.java:831)
>  at org.apache.sling.resourceresolver.impl.mapping.MapEntries$MapEntryIterator.seek(MapEntries.jav a:1499)
>  at org.apache.sling.resourceresolver.impl.mapping.MapEntries$MapEntryIterator.next(MapEntries.jav a:1450)
>  at org.apache.sling.resourceresolver.impl.mapping.MapEntries$MapEntryIterator.next(MapEntries.jav a:1411)
>  at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.resolveInternal(ResourceResolverIm pl.java:251)
>  at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.resolve(ResourceResolverImpl.java: 192)
> {code}



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