java.lang.ArrayIndexOutOfBoundsException: 0

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

java.lang.ArrayIndexOutOfBoundsException: 0
at javax.swing.text.BoxView.getViewAtPoint(BoxView.java:633)
at javax.swing.text.CompositeView.viewToModel(CompositeView.java:406)
at javax.swing.text.BoxView.viewToModel(BoxView.java:477)
at javax.swing.text.CompositeView.viewToModel(CompositeView.java:408)
at javax.swing.text.BoxView.viewToModel(BoxView.java:477)
at javax.swing.text.CompositeView.viewToModel(CompositeView.java:408)
at javax.swing.text.BoxView.viewToModel(BoxView.java:477)
at javax.swing.text.CompositeView.viewToModel(CompositeView.java:408)
at javax.swing.text.BoxView.viewToModel(BoxView.java:477)
at javax.swing.text.CompositeView.viewToModel(CompositeView.java:408)
at javax.swing.text.BoxView.viewToModel(BoxView.java:477)
at javax.swing.plaf.basic.BasicTextUI$RootView.viewToModel(BasicTextUI.java:1437)
at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:990)
at javax.swing.text.DefaultCaret.positionCaret(DefaultCaret.java:219)
at javax.swing.text.DefaultCaret.adjustCaret(DefaultCaret.java:368)
at javax.swing.text.DefaultCaret.adjustCaretAndFocus(DefaultCaret.java:356)
at javax.swing.text.DefaultCaret.mousePressed(DefaultCaret.java:350)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.Component.processMouseEvent(Component.java:5097)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Users with the same issue

You are the first who have seen this exception.

Write tip

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