[
https://issues.apache.org/jira/browse/UIMA-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marshall Schor resolved UIMA-29.
--------------------------------
Resolution: Fixed
Updated the documentation to describe the limitation and the workaround.
> Can't call process twice on CPE
> -------------------------------
>
> Key: UIMA-29
> URL: https://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.
-
You can reply to this email to add a comment to the issue online.