Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
(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?