Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9371

Concurrent Modification Exception caused when accessing an RSS feed

    XMLWordPrintable

Details

    Description

      It appears that the underlying issue is in the Labels code when in a cluster?

      Caused by: java.util.ConcurrentModificationException: Cache "com.atlassian.confluence.labels.Label": Resource is locked by another thread or member: Lease: 500072452 (Cache=com.atlassian.confluence.labels.Label, Size=679, Version=2/2, IssuerId=1, HolderId=1, Status=LEASE_LOCKED, Held by Thread[DefaultQuartzScheduler_Worker-2,5,main], Locked at Mon Sep 03 04:01:01 CDT 2007, Expires in 9223370847964570614 millis)
      	at com.tangosol.coherence.component.util.CacheHandler.reportException(CacheHandler.CDB:3)
      	at com.tangosol.coherence.component.util.CacheHandler.put(CacheHandler.CDB:30)
      	at com.tangosol.coherence.component.util.CacheHandler.put(CacheHandler.CDB:1)
      	at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)
      	at com.atlassian.confluence.cache.tangosol.hibernate.CoherenceHibernateCache.put(CoherenceHibernateCache.java:30)
      	at net.sf.hibernate.cache.ReadWriteCache.put(ReadWriteCache.java:146)
      	at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2228)
      	at net.sf.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:319)
      	at net.sf.hibernate.loader.Loader.doQuery(Loader.java:309)
      	at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138)
      	at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:1020)
      	at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:995)
      	at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:93)
      	at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:288)
      	at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3315)
      	at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195)
      

      The full stacktrace is attached, I replicated this issue with the following URL:

      http://extranet.atlassian.com/createrssfeed.action?types=page&types=comment&sort=modified&showContent=true&spaces=conf_all&labelString=&rssType=atom&maxResults=300&timeSpan=14&publicFeed=false&title=Extranet+RSS+Pages+Feed&os_authType=basic

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              justin@atlassian.com Justin Koke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: