[
https://issues.apache.org/jira/browse/UIMA-649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thilo Goetz closed UIMA-649.
----------------------------
Resolution: Fixed
Test cases, javadoc added.
> CAS.getAnnotationIndex(Type) does creates invalid index objects
> ---------------------------------------------------------------
>
> Key: UIMA-649
> URL: https://issues.apache.org/jira/browse/UIMA-649
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 2.1, 2.2, 2.2.1
> Reporter: Thilo Goetz
> Assignee: Thilo Goetz
> Priority: Minor
> Fix For: 2.2.1
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.