Can't call process twice on CPE
Brought to you by:
uima_team
Hello there,
I've been having lots of fun with UIMA 2.0.0
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.
Any help will be appreciated.
Logged In: YES
user_id=1572966
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?
Jerry C