You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org> on 2009/05/08 15:47:46 UTC
[jira] Commented: (UIMA-1343) Uima AS aggregate controller should
synchronize code that processes CPC replies from delegates
[ https://issues.apache.org/jira/browse/UIMA-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707344#action_12707344 ]
Eddie Epstein commented on UIMA-1343:
-------------------------------------
bq. The result is an ArithmeticException: /by zero.
The problem caused by calling the same CPC method simultaneously from two different threads is entirely user code dependent. The divide by 0 exception was the error for a particular flow controller.
> Uima AS aggregate controller should synchronize code that processes CPC replies from delegates
> ----------------------------------------------------------------------------------------------
>
> Key: UIMA-1343
> URL: https://issues.apache.org/jira/browse/UIMA-1343
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
>
> Uima AS aggregate allows concurrent processing of CPC replies from its delegates. This creates a problem when two different threads call collectionProcessComplete() on the Flow Controller at the same time. The result is an ArithmeticException: /by zero. The collectionProcessComplete() call should only be done once. Add synchronization to prevent calling collectionProcessComplete() more than once.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.