Resizing cache values causes Confluence to become unusable (Confluence 3.0.1, 3.0.2, and 3.1)

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

After resizing a cache value in the User Interface, Confluence becomes unusable.

The atlassian-confluence.log file contains:

java.lang.IndexOutOfBoundsException: index 15564
at java.util.concurrent.atomic.AtomicReferenceArray.rawIndex(AtomicReferenceArray.java:31)
Stack Trace:[hide]
java.lang.IndexOutOfBoundsException: index 15564
at java.util.concurrent.atomic.AtomicReferenceArray.rawIndex(AtomicReferenceArray.java:31)
at java.util.concurrent.atomic.AtomicReferenceArray.get(AtomicReferenceArray.java:84)
at net.sf.ehcache.store.MemoryStore.sampleElementsViaKeyArray(MemoryStore.java:576)
at net.sf.ehcache.store.MemoryStore.findEvictionCandidate(MemoryStore.java:550)
at net.sf.ehcache.store.MemoryStore.removeElementChosenByEvictionPolicy(MemoryStore.java:525)
at net.sf.ehcache.store.MemoryStore.doPut(MemoryStore.java:464)
at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:149)
at net.sf.ehcache.Cache.put(Cache.java:795)
at net.sf.ehcache.Cache.put(Cache.java:730)

Cause

This is a bug, reported at CONF-17246.

Resolution

The bug is fixed in Confluence 3.1.1 and a patch has been included for Confluence 3.0.x and 3.1 in CONF-17246.

 

 

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.