java.lang.ArrayIndexOutOfBoundsException: 2 >= 1

Coderanch | Sainath Veepuri | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JTree - collapsePath issue

    Coderanch | 1 decade ago | Sainath Veepuri
    java.lang.ArrayIndexOutOfBoundsException: 2 >= 1
  2. 0

    Java (error) message when using undocumented matlab function "uitree"

    Stack Overflow | 4 months ago | Domenico
    java.lang.ArrayIndexOutOfBoundsException: 245 >= 241

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      2 >= 1

      at java.util.Vector.removeElementAt()
    2. Java RT
      JTree.collapsePath
      1. java.util.Vector.removeElementAt(Unknown Source)
      2. javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.collapse(Unknown Source)
      3. javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.collapse(Unknown Source)
      4. javax.swing.tree.VariableHeightLayoutCache.setExpandedState(Unknown Source)
      5. javax.swing.plaf.basic.BasicTreeUI$TreeExpansionHandler.treeCollapsed(Unknown Source)
      6. javax.swing.JTree.fireTreeCollapsed(Unknown Source)
      7. javax.swing.JTree.setExpandedState(Unknown Source)
      8. javax.swing.JTree.collapsePath(Unknown Source)
      8 frames