You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2012/12/12 20:36:19 UTC

[jira] [Closed] (UIMA-2520) Fix ConcurrentModificationException in UIMA-AS

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

Jerry Cwiklik closed UIMA-2520.
-------------------------------

    Resolution: Fixed

Synchronized access to the list before iterating over it
                
> Fix ConcurrentModificationException in UIMA-AS 
> -----------------------------------------------
>
>                 Key: UIMA-2520
>                 URL: https://issues.apache.org/jira/browse/UIMA-2520
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.4.0AS
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>             Fix For: 2.4.1AS
>
>
> When running uima-as with a logger configured at FINE or FINEST, ConcurrentModificationException is thrown from one of the methods which is only called when log level > INFO. The dumpPendingReplyList() method iterates over a list which is concurrently being updated by another thread. Synchronize access to the list to prevent the exception.

--
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