You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Michael Baessler (JIRA)" <ui...@incubator.apache.org> on 2007/02/12 16:52:08 UTC

[jira] Reopened: (UIMA-29) Can't call process twice on CPE

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

Michael Baessler reopened UIMA-29:
----------------------------------


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