java.lang.ArrayIndexOutOfBoundsException: 118 >= 118

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807587, 1 year ago
java.lang.ArrayIndexOutOfBoundsException: 118 >= 118
at java.util.Vector.elementAt(Vector.java:432)
at javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(VariableHeightLayoutCache.java:897)
at javax.swing.tree.VariableHeightLayoutCache.getBounds(VariableHeightLayoutCache.java:201)
at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1142)
at javax.swing.plaf.metal.MetalTreeUI.paint(MetalTreeUI.java:152)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:714)
at javax.swing.JComponent.paint(JComponent.java:977)
at javax.swing.JComponent.paintChildren(JComponent.java:814)
at javax.swing.JComponent.paint(JComponent.java:986)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintChildren(JComponent.java:814)
at javax.swing.JComponent.paint(JComponent.java:986)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4875)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4828)
at javax.swing.JComponent._paintImmediately(JComponent.java:4771)
at javax.swing.JComponent.paintImmediately(JComponent.java:4578)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:426)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Users with the same issue

Samebug visitor profile picture
Unknown user
4 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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