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 2016/02/09 19:03:18 UTC

[jira] [Created] (SLING-5503) ConcurrentModificationException while iterating over existing providers

Carsten Ziegeler created SLING-5503:
---------------------------------------

             Summary: ConcurrentModificationException while iterating over existing providers
                 Key: SLING-5503
                 URL: https://issues.apache.org/jira/browse/SLING-5503
             Project: Sling
          Issue Type: Bug
          Components: ResourceResolver
    Affects Versions: Resource Resolver 1.4.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Resource Resolver 1.5.0


Some methods in ResourceResolverControl iterate over the current set of used providers. However, if while iterating this list is modified, the set is modified the following exception occurs:
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.helper.ResourceResolverControl.commit(ResourceResolverControl.java:405)
at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.commit(ResourceResolverImpl.java:1218)



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