java.lang.ArrayIndexOutOfBoundsException

No such child: 0

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web313

  • via Unknown by John Coleman,
  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.ArrayIndexOutOfBoundsException: No such child: 0 at java.awt.Container.getComponent(Container.java:237) at javax.swing.text.ComponentView$Invalidator.cacheChildSizes(ComponentView.java:399) at javax.swing.text.ComponentView$Invalidator.doLayout(ComponentView.java:383) at java.awt.Container.validateTree(Container.java:1092) at java.awt.Container.validate(Container.java:1067) at javax.swing.text.ComponentView$Invalidator.validateIfNecessary(ComponentView.java:394) at javax.swing.text.ComponentView$Invalidator.getAlignmentY(ComponentView.java:442) at javax.swing.text.ComponentView.getAlignment(ComponentView.java:203) at javax.swing.text.BoxView.baselineRequirements(BoxView.java:1000) at javax.swing.text.ParagraphView$Row.calculateMinorAxisRequirements(ParagraphView.java:843) at javax.swing.text.BoxView.checkRequests(BoxView.java:913) at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:542) at javax.swing.text.BoxView.calculateMajorAxisRequirements(BoxView.java:849) at javax.swing.text.BoxView.checkRequests(BoxView.java:908) at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:542) at javax.swing.text.BoxView.calculateMajorAxisRequirements(BoxView.java:849) at javax.swing.text.BoxView.checkRequests(BoxView.java:908) at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:542) at javax.swing.plaf.basic.BasicTextUI$RootView.getMinimumSpan(BasicTextUI.java:1254) at javax.swing.plaf.basic.BasicTextUI.getMinimumSize(BasicTextUI.java:835) at javax.swing.JEditorPane.getScrollableTracksViewportWidth(JEditorPane.java:1343) at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1218) at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769) at java.awt.Container.layout(Container.java:1020) at java.awt.Container.doLayout(Container.java:1010) at java.awt.Container.validateTree(Container.java:1092) at java.awt.Container.validate(Container.java:1067) at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:116) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) 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)

    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 visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitor4 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    5 more bugmates