java.lang.ArrayIndexOutOfBoundsException: 245 >= 241


Solutions on the web1

Solution icon of stackoverflow
245 >= 241

Stack trace

java.lang.ArrayIndexOutOfBoundsException: 245 >= 241
	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$Handler.treeCollapsed(Unknown Source)
	at javax.swing.JTree.fireTreeCollapsed(Unknown Source)
	at javax.swing.JTree.setExpandedState(Unknown Source)
	at javax.swing.JTree.collapsePath(Unknown Source)
	at com.mathworks.hg.peer.UITreePeer$4.run(UITreePeer.java:221)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago