jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Khoury (Jira)" <j...@apache.org>
Subject [jira] [Created] (OAK-9117) ConcurrentModificationException in PermissionEntryProviderImpl.loadEntries
Date Tue, 16 Jun 2020 21:31:00 GMT
Andrew Khoury created OAK-9117:
----------------------------------

             Summary: ConcurrentModificationException in PermissionEntryProviderImpl.loadEntries
                 Key: OAK-9117
                 URL: https://issues.apache.org/jira/browse/OAK-9117
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: security
    Affects Versions: 1.8.7
            Reporter: Andrew Khoury


It seems that ConcurrentModificationException can occur in PermissionEntryProviderImpl.loadEntries
[1].

The issue was reported via Adobe product forums:
 [https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/concurrency-modification-exception/qaq-p/366611/comment-id/76072#M76072]

Additional report of the same issue can be found here:

[https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/concurrentmodificationexception/qaq-p/312815#M65848]

[1]
{code:none}
Caused by: java.util.ConcurrentModificationException: null
        at java.util.HashMap$HashIterator.nextNode(Unknown Source)
        at java.util.HashMap$KeyIterator.next(Unknown Source)
        at org.apache.jackrabbit.oak.security.authorization.permission.PermissionEntryProviderImpl.loadEntries(PermissionEntryProviderImpl.java:163)
[org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.oak.security.authorization.permission.PermissionEntryProviderImpl.getEntries(PermissionEntryProviderImpl.java:142)
[org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.oak.security.authorization.permission.CompiledPermissionImpl$TreePermissionImpl.getGroupEntries(CompiledPermissionImpl.java:579)
[org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.oak.security.authorization.permission.CompiledPermissionImpl$TreePermissionImpl.access$1400(CompiledPermissionImpl.java:459)
[org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.oak.security.authorization.permission.CompiledPermissionImpl$LazyIterator.getNext(CompiledPermissionImpl.java:624)
[org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.oak.security.authorization.permission.CompiledPermissionImpl$LazyIterator.getNext(CompiledPermissionImpl.java:589)
[org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.commons.iterator.AbstractLazyIterator.hasNext(AbstractLazyIterator.java:39)
[org.apache.jackrabbit.jackrabbit-jcr-commons:2.16.3]
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:542)
        at org.apache.jackrabbit.oak.security.authorization.permission.CompiledPermissionImpl$TreePermissionImpl.canRead(CompiledPermissionImpl.java:531)
[org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.oak.core.SecureNodeBuilder$ReadablePropertyPredicate.apply(SecureNodeBuilder.java:384)
[org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.oak.core.SecureNodeBuilder.getProperty(SecureNodeBuilder.java:180)
[org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.oak.plugins.tree.impl.AbstractTree.getProperty(AbstractTree.java:251)
[org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.oak.core.MutableTree.getProperty(MutableTree.java:128) [org.apache.jackrabbit.oak-core:1.8.7]
        at org.apache.jackrabbit.oak.plugins.tree.TreeUtil.getStringInternal(TreeUtil.java:116)
[org.apache.jackrabbit.oak-security-spi:1.8.7]
        at org.apache.jackrabbit.oak.plugins.tree.TreeUtil.getPrimaryTypeName(TreeUtil.java:88)
[org.apache.jackrabbit.oak-security-spi:1.8.7]
        at org.apache.jackrabbit.oak.spi.security.user.util.UserUtil.isType(UserUtil.java:63)
[org.apache.jackrabbit.oak-security-spi:1.8.7]
        at org.apache.jackrabbit.oak.security.user.AuthorizableBaseProvider.getByPath(AuthorizableBaseProvider.java:72)
[org.apache.jackrabbit.oak-core:1.8.7]
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message