Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3180

JCasIterator should return false on hasNext() after it has been (auto)destroyed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0uimaFIT
    • uimaFIT
    • None

    Description

      JCasIterator should return false on hasNext() after it has been (auto)destroyed. Otherwise it may call hasNext() on the underlying CollectionReader after that has been destroyed and the contract says that the reader must not be used anymore after it has been closed/destroyed.

      Attachments

        Activity

          People

            rec Richard Eckart de Castilho
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: