Augusto Ribeiro Silva created UIMA-6245:
-------------------------------------------
Summary: CVD - Index out of bounds when expanding Annotation in
AnnotationIndex
Key: UIMA-6245
URL: https://issues.apache.org/jira/browse/UIMA-6245
Project: UIMA
Issue Type: Bug
Components: Tools
Affects Versions: 3.1.1SDK
Reporter: Augusto Ribeiro Silva
Expanding Annotations in the AnnotationIndex frame that contain the following
node kinds (Slot_StrRef/Slot_HeapRef) results in a
java.lang.IndexOutOfBoundsException exception.
{{Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException:
Index: 0, Size: 0Exception in thread "AWT-EventQueue-0"
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at
java.util.ArrayList.rangeCheck(ArrayList.java:657) at
java.util.ArrayList.get(ArrayList.java:433) at
org.apache.uima.tools.cvd.FSTreeModel.createArrayChildren(FSTreeModel.java:316)
at org.apache.uima.tools.cvd.FSNode.initChildren(FSNode.java:295) at
org.apache.uima.tools.cvd.FSTreeNode.getChildCount(FSTreeNode.java:76) at
org.apache.uima.tools.cvd.FSTreeModel.getChildCount(FSTreeModel.java:218) at
org.apache.uima.tools.cvd.FSTreeModel.isLeaf(FSTreeModel.java:230) at
javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1185)}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)