Adam Lally (JIRA) wrote:
[ 
https://issues.apache.org/jira/browse/UIMA-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Lally resolved UIMA-215.
<snip>
The CasCopier should be discarded after each call to process because its 
internal HashMap holds FeatureStructure references, which are not valid after 
the process method has completed and the source CAS has been reset.

Can this design be made more "idiot-proof" (we're all idiots from time to time ;-) )? For instance, if the user "forgets" to discard the CasCopier, can that throw some kind of error?
-Marshall

Reply via email to