You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2013/08/10 22:58:47 UTC
[jira] [Resolved] (UIMA-3178) JCasIterable closes and destroys
reader - causes problems
[ https://issues.apache.org/jira/browse/UIMA-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Eckart de Castilho resolved UIMA-3178.
----------------------------------------------
Resolution: Invalid
Problem tracked down to a different issue and a bug in the reader.
> JCasIterable closes and destroys reader - causes problems
> ---------------------------------------------------------
>
> Key: UIMA-3178
> URL: https://issues.apache.org/jira/browse/UIMA-3178
> Project: UIMA
> Issue Type: Bug
> Components: uimaFIT
> Reporter: Richard Eckart de Castilho
> Assignee: Richard Eckart de Castilho
>
> JCasIterable closes and destroys reader. The default implementation of {{destroy()}} in {{CollectionReader_ImplBase}} also calls {{close()}}. That means the reader is closed twice, which can cause problems with readers.
> It appears to be better to call only {{destroy()}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira