Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1, 2.2, 2.2.1
-
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.