Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3468

ConcurrentModificationException in BitSetENTCacheImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2.10
    • 2.5.3
    • jackrabbit-core
    • None

    Description

      Irregularly the following ConcurrentModificationException occurs in the logs of our application, seems like there is either a sync missing, or a copy to a new collection before iterating.

      java.util.ConcurrentModificationException: null
      at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100) ~[na:1.6.0_32]
      at java.util.TreeMap$KeyIterator.next(TreeMap.java:1154) ~[na:1.6.0_32]
      at org.apache.jackrabbit.core.nodetype.BitSetENTCacheImpl.findBest(BitSetENTCacheImpl.java:114) ~[jackrabbit-core-2.2.10.jar:2.2.10]
      at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeType(NodeTypeRegistry.java:1082) ~[jackrabbit-core-2.2.10.jar:2.2.10]
      at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeType(NodeTypeRegistry.java:508) ~[jackrabbit-core-2.2.10.jar:2.2.10]
      at org.apache.jackrabbit.core.NodeImpl.getEffectiveNodeType(NodeImpl.java:776) ~[jackrabbit-core-2.2.10.jar:2.2.10]
      at org.apache.jackrabbit.core.NodeImpl.getApplicablePropertyDefinition(NodeImpl.java:826) ~[jackrabbit-core-2.2.10.jar:2.2.10]
      at org.apache.jackrabbit.core.ItemManager.getDefinition(ItemManager.java:255) ~[jackrabbit-core-2.2.10.jar:2.2.10]
      at org.apache.jackrabbit.core.ItemData.getDefinition(ItemData.java:101) ~[jackrabbit-core-2.2.10.jar:2.2.10]
      at org.apache.jackrabbit.core.PropertyData.getPropertyDefinition(PropertyData.java:55) ~[jackrabbit-core-2.2.10.jar:2.2.10]
      at org.apache.jackrabbit.core.PropertyImpl.internalGetValues(PropertyImpl.java:461) ~[jackrabbit-core-2.2.10.jar:2.2.10]
      at org.apache.jackrabbit.core.PropertyImpl.getValues(PropertyImpl.java:498) ~[jackrabbit-core-2.2.10.jar:2.2.10]
      

      Attachments

        Activity

          People

            stefan@jira Stefan Guggisberg
            ajvanerp Jeroen van Erp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: