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

CAS.getAnnotationIndex(Type) does creates invalid index objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1, 2.2, 2.2.1
    • 2.2.1
    • Core Java Framework
    • None

    Description

      CAS.getAnnotationIndex(Type type) should return null when type is not an annotation. Instead, a non-null index object is created that throws an NPE when iterator() is called. This sounds awfully familiar, but it must have slipped through the cracks somehow.

      Attachments

        Activity

          People

            twgoetz Thilo Goetz
            twgoetz Thilo Goetz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: