commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Vandahl (JIRA)" <>
Subject [jira] [Resolved] (JCS-76) Exception when using the cache from different threads (synchronization problems)
Date Sat, 10 Nov 2012 16:43:13 GMT


Thomas Vandahl resolved JCS-76.

       Resolution: Duplicate
    Fix Version/s: jcs-2.0.0

Would you please try out the latest trunk and report your findings.
> Exception when using the cache from different threads (synchronization problems)
> --------------------------------------------------------------------------------
>                 Key: JCS-76
>                 URL:
>             Project: Commons JCS
>          Issue Type: Bug
>          Components: Composite Cache
>            Reporter: Alexander Sofronov
>            Assignee: Thomas Vandahl
>             Fix For: jcs-2.0.0
> Recently we switched our product into parallel mode, so now we are using JCS cache from
different threads. And it looks like there are some problems with synchronization inside JCS,
sometimes we are getting the following error:
> Caused by: java.lang.Error: update: last is null!
> 	at org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache.spoolLastElement(
> 	at org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache.spoolIfNeeded(
> 	at org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache.update(
> 	at org.apache.jcs.engine.control.CompositeCache.copyAuxiliaryRetrievedItemToMemory(
> 	at org.apache.jcs.engine.control.CompositeCache.get(
> 	at org.apache.jcs.engine.control.CompositeCache.get(
> 	at org.apache.jcs.access.CacheAccess.get(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message