You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (Jira)" <de...@uima.apache.org> on 2020/06/19 13:59:00 UTC

[jira] [Commented] (UIMA-6245) CVD - Index out of bounds when expanding Annotation in AnnotationIndex view

    [ https://issues.apache.org/jira/browse/UIMA-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17140574#comment-17140574 ] 

Marshall Schor commented on UIMA-6245:
--------------------------------------

cleaned up with pull req #48, for general case.  Discarding pull req #47

> CVD - Index out of bounds when expanding Annotation in AnnotationIndex view
> ---------------------------------------------------------------------------
>
>                 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
>            Priority: Minor
>
> 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)