[ 
https://issues.apache.org/jira/browse/JCS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Vandahl resolved JCS-72.
-------------------------------

       Resolution: Fixed
    Fix Version/s: jcs-2.0.0
         Assignee: Thomas Vandahl  (was: Aaron Smuts)

This issue has already been fixed in the current trunk. I took the freedom to 
use the idea of the ConcurrentHashMap instead of Collections.synchronizedMap.
                
> ConcurrentModificationException in .LateralCacheMonitor
> -------------------------------------------------------
>
>                 Key: JCS-72
>                 URL: https://issues.apache.org/jira/browse/JCS-72
>             Project: Commons JCS
>          Issue Type: Bug
>          Components: TCP Lateral Cache
>    Affects Versions: jcs-1.3
>         Environment: Debian Lenny, Sun Java 1.5.0.17, used as part of 
> Open-Xchange collaboration softare
>            Reporter: Marcus Klein
>            Assignee: Thomas Vandahl
>            Priority: Minor
>             Fix For: jcs-2.0.0
>
>         Attachments: LateralTCPCacheManager.java
>
>
> Internal data structures are not processed correctly causing the following 
> exception:
> Exception in thread "Thread-8" java.util.ConcurrentModificationException
>     at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
>     at java.util.HashMap$ValueIterator.next(HashMap.java:871)
>     at 
> org.apache.jcs.auxiliary.lateral.LateralCacheMonitor.run(LateralCacheMonitor.java:179)
>     at java.lang.Thread.run(Thread.java:595)

--
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: http://www.atlassian.com/software/jira

Reply via email to