java.lang.ArrayIndexOutOfBoundsException

0

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3066

Stack trace

  • java.lang.ArrayIndexOutOfBoundsException: 0 at javax.swing.text.BoxView.layoutMinorAxis(BoxView.java:849) at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:355) at javax.swing.text.BoxView.layout(BoxView.java:711) at javax.swing.text.FlowView.layout(FlowView.java:231) at javax.swing.text.BoxView.setSize(BoxView.java:408) at javax.swing.text.BoxView.updateChildSizes(BoxView.java:377) at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:359) at javax.swing.text.BoxView.layout(BoxView.java:711) at javax.swing.text.BoxView.setSize(BoxView.java:408) at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1647) at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:836) at javax.swing.JComponent.getPreferredSize(JComponent.java:1310) at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1277) at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:798) at java.awt.Container.layout(Container.java:1056) at java.awt.Container.doLayout(Container.java:1046) at java.awt.Container.validateTree(Container.java:1128) at java.awt.Container.validate(Container.java:1103) at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:383) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:145) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:207) at java.awt.EventQueue.dispatchEvent(EventQueue.java:534) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:237) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:187) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:181) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:173) at java.awt.EventDispatchThread.run(EventDispatchThread.java:136) at javax.swing.text.BoxView.layoutMinorAxis(BoxView.java:849) at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:355) at javax.swing.text.BoxView.layout(BoxView.java:711) at javax.swing.text.FlowView.layout(FlowView.java:231) at javax.swing.text.BoxView.setSize(BoxView.java:408) at javax.swing.text.BoxView.updateChildSizes(BoxView.java:377) at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:359) at javax.swing.text.BoxView.layout(BoxView.java:711) at javax.swing.text.BoxView.setSize(BoxView.java:408) at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1647) at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:836) at javax.swing.JComponent.getPreferredSize(JComponent.java:1310) at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1277) at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:798) at java.awt.Container.layout(Container.java:1056) at java.awt.Container.doLayout(Container.java:1046) at java.awt.Container.validateTree(Container.java:1128) at java.awt.Container.validate(Container.java:1103) at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:383) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:145) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:207) at java.awt.EventQueue.dispatchEvent(EventQueue.java:534) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:237) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:187) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:181) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:173) at java.awt.EventDispatchThread.run(EventDispatchThread.java:136)

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

Unknown user
2 times, 4 months ago
Unknown user
Once, 11 months ago
Unknown user
4 times, 6 months ago
Unknown user
Once, 10 months ago
Unknown user
Once, 11 months ago
2 more bugmates