You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2006/12/22 22:09:22 UTC
[jira] Commented: (UIMA-29) Can't call process twice on CPE
[ http://issues.apache.org/jira/browse/UIMA-29?page=comments#action_12460594 ]
Marshall Schor commented on UIMA-29:
------------------------------------
I recommend we fix this by updating the docbook and the java doc to say it's not allowed, and the workaround.
> Can't call process twice on CPE
> -------------------------------
>
> Key: UIMA-29
> URL: http://issues.apache.org/jira/browse/UIMA-29
> Project: UIMA
> Issue Type: Bug
> Components: Collection Processing
> Reporter: Adam Lally
> Priority: Minor
>
> (Issue reported on SourceForge)
> My problem occurs when I call process() twice on a
> CollectionProcessingEngine. The call bombs out with a
> next to useless thread exception.
> 6/09/2006 11:28:39
> com.ibm.uima.reference_impl.collection.cpm.BaseCPMImpl
> run(515)
> SEVERE: java.lang.IllegalThreadStateException
> The docs appear to suggest its fine to call process
> more than once just not at the same time.
> Follow up:
> Sender: cwiklik
> This is a known limitiation and perhaps not well
> documented.
> Can you explain the use case for calling process on the
> same CPE more than once?
> Workaround for this limitation is to create a new instance
> of the CollectionProcessingEngine. Is this for now
> acceptable?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira