java.lang.ArrayIndexOutOfBoundsException: No such child: 0

Coderanch | John Coleman | 1 decade ago
  1. 0

    JTextPane exceptions

    Coderanch | 1 decade ago | John Coleman
    java.lang.ArrayIndexOutOfBoundsException: No such child: 0
  2. 0

    Bug ID: JDK-4675815 Reg-test bug4132993.java Failing

    sun.com | 1 year ago
    java.lang.ArrayIndexOutOfBoundsException: No such child: 0
  3. 0

    db:: 5.06::error exception unknown 3d

    hivmr.com | 11 months ago
    java.lang.ArrayIndexOutOfBoundsException: No such child: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception with no throwing place in my code

    Oracle Community | 8 years ago | 800465
    java.lang.ArrayIndexOutOfBoundsException: No such child: 0
  6. 0

    Can you please help?

    Oracle Community | 1 decade ago | 807598
    java.lang.ArrayIndexOutOfBoundsException: No such child: 0

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      No such child: 0

      at java.awt.Container.getComponent()
    2. Java RT
      EventDispatchThread.run
      1. java.awt.Container.getComponent(Container.java:237)
      2. javax.swing.text.ComponentView$Invalidator.cacheChildSizes(ComponentView.java:399)
      3. javax.swing.text.ComponentView$Invalidator.doLayout(ComponentView.java:383)
      4. java.awt.Container.validateTree(Container.java:1092)
      5. java.awt.Container.validate(Container.java:1067)
      6. javax.swing.text.ComponentView$Invalidator.validateIfNecessary(ComponentView.java:394)
      7. javax.swing.text.ComponentView$Invalidator.getAlignmentY(ComponentView.java:442)
      8. javax.swing.text.ComponentView.getAlignment(ComponentView.java:203)
      9. javax.swing.text.BoxView.baselineRequirements(BoxView.java:1000)
      10. javax.swing.text.ParagraphView$Row.calculateMinorAxisRequirements(ParagraphView.java:843)
      11. javax.swing.text.BoxView.checkRequests(BoxView.java:913)
      12. javax.swing.text.BoxView.getMinimumSpan(BoxView.java:542)
      13. javax.swing.text.BoxView.calculateMajorAxisRequirements(BoxView.java:849)
      14. javax.swing.text.BoxView.checkRequests(BoxView.java:908)
      15. javax.swing.text.BoxView.getMinimumSpan(BoxView.java:542)
      16. javax.swing.text.BoxView.calculateMajorAxisRequirements(BoxView.java:849)
      17. javax.swing.text.BoxView.checkRequests(BoxView.java:908)
      18. javax.swing.text.BoxView.getMinimumSpan(BoxView.java:542)
      19. javax.swing.plaf.basic.BasicTextUI$RootView.getMinimumSpan(BasicTextUI.java:1254)
      20. javax.swing.plaf.basic.BasicTextUI.getMinimumSize(BasicTextUI.java:835)
      21. javax.swing.JEditorPane.getScrollableTracksViewportWidth(JEditorPane.java:1343)
      22. javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1218)
      23. javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769)
      24. java.awt.Container.layout(Container.java:1020)
      25. java.awt.Container.doLayout(Container.java:1010)
      26. java.awt.Container.validateTree(Container.java:1092)
      27. java.awt.Container.validate(Container.java:1067)
      28. javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353)
      29. javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:116)
      30. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
      31. java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
      32. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
      33. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
      34. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      35. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      36. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
      36 frames