java.lang.ArrayIndexOutOfBoundsException: 2 >= 1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Sainath Veepuri, 1 year ago
via GitHub by braymp
, 2 years ago
Array index out of range: -1 3/13/12 3:52:19 PM [0x0-0x107c07b].gov.nih.info.rsb.ImageJ[3705]
via GitHub by braymp
, 2 years ago
Array index out of range: -1 3/13/12 3:52:18 PM [0x0-0x107c07b].gov.nih.info.rsb.ImageJ[3705]
via Coderanch by Sharon whipple, 1 year ago
java.lang.ArrayIndexOutOfBoundsException: 2 >= 1
at java.util.Vector.removeElementAt(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.collapse(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.collapse(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache.setExpandedState(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$TreeExpansionHandler.treeCollapsed(Unknown Source)
at javax.swing.JTree.fireTreeCollapsed(Unknown Source)
at javax.swing.JTree.setExpandedState(Unknown Source)
at javax.swing.JTree.collapsePath(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.