You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org> on 2007/11/23 16:48:43 UTC
[jira] Closed: (UIMA-649) CAS.getAnnotationIndex(Type) does creates
invalid index objects
[ 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.