java.lang.ArrayIndexOutOfBoundsException: No such child: 0 at java.awt.Container.getComponent\(Container.java:280\) at javax.swing.JComponent.rectangleIsObscured\(JComponent.java:4123\) at javax.swing.JComponent.paint\(JComponent.java:1003\) at javax.swing.JLayeredPane.paint\(JLayeredPane.java:559\) at javax.swing.JComponent.\_paintImmediately\(JComponent.java:4881\) at javax.swing.JComponent.paintImmediately\(JComponent.java:4667\) at javax.swing.RepaintManager.paintDirtyRegions\(RepaintManager.java:477\) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run\(SystemEventQueueUtilities.java:114\) at java.awt.event.InvocationEvent.dispatch\(InvocationEvent.java:209\) at java.awt.EventQueue.dispatchEvent\(EventQueue.java:461\) at java.awt.EventDispatchThread.pumpOneEventForHierarchy\(EventDispatchThread.java:269\) at java.awt.EventDispatchThread.pumpEventsForHierarchy\(EventDispatchThread.java:190\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:184\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:176\) at java.awt.EventDispatchThread.run\(EventDispatchThread.java:110\) Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at net.sf.freecol.client.gui.FreeColMenuBar.paintComponent\(FreeColMenuBar.java:770\) at javax.swing.JComponent.paint\(JComponent.java:1005\) at javax.swing.JComponent.paintChildren\(JComponent.java:842\) at javax.swing.JComponent.paint\(JComponent.java:1014\) at javax.swing.JLayeredPane.paint\(JLayeredPane.java:559\) at javax.swing.JComponent.paintChildren\(JComponent.java:842\) at javax.swing.JComponent.paint\(JComponent.java:1014\) at javax.swing.JComponent.\_paintImmediately\(JComponent.java:4881\) at javax.swing.JComponent.paintImmediately\(JComponent.java:4667\) at javax.swing.RepaintManager.paintDirtyRegions\(RepaintManager.java:477\) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run\(SystemEventQueueUtilities.java:114\) at java.awt.event.InvocationEvent.dispatch\(InvocationEvent.java:209\) at java.awt.EventQueue.dispatchEvent\(EventQueue.java:461\) at java.awt.EventDispatchThread.pumpOneEventForHierarchy\(EventDispatchThread.java:269\) at java.awt.EventDispatchThread.pumpEventsForHierarchy\(EventDispatchThread.java:190\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:184\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:176\) at java.awt.EventDispatchThread.run\(EventDispatchThread.java:110\) Logged In: YES user\_id=178085 Originator: NO I got these - I do not know at which time they occured: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at net.sf.freecol.client.gui.panel.DragListener.mousePressed(DragListene r.java:84) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:22 2)

freecol | smsm1 | 10 years ago
  1. 0

    Various null pointer exceptions

    freecol | 10 years ago | smsm1
    java.lang.ArrayIndexOutOfBoundsException: No such child: 0 at java.awt.Container.getComponent\(Container.java:280\) at javax.swing.JComponent.rectangleIsObscured\(JComponent.java:4123\) at javax.swing.JComponent.paint\(JComponent.java:1003\) at javax.swing.JLayeredPane.paint\(JLayeredPane.java:559\) at javax.swing.JComponent.\_paintImmediately\(JComponent.java:4881\) at javax.swing.JComponent.paintImmediately\(JComponent.java:4667\) at javax.swing.RepaintManager.paintDirtyRegions\(RepaintManager.java:477\) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run\(SystemEventQueueUtilities.java:114\) at java.awt.event.InvocationEvent.dispatch\(InvocationEvent.java:209\) at java.awt.EventQueue.dispatchEvent\(EventQueue.java:461\) at java.awt.EventDispatchThread.pumpOneEventForHierarchy\(EventDispatchThread.java:269\) at java.awt.EventDispatchThread.pumpEventsForHierarchy\(EventDispatchThread.java:190\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:184\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:176\) at java.awt.EventDispatchThread.run\(EventDispatchThread.java:110\) Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at net.sf.freecol.client.gui.FreeColMenuBar.paintComponent\(FreeColMenuBar.java:770\) at javax.swing.JComponent.paint\(JComponent.java:1005\) at javax.swing.JComponent.paintChildren\(JComponent.java:842\) at javax.swing.JComponent.paint\(JComponent.java:1014\) at javax.swing.JLayeredPane.paint\(JLayeredPane.java:559\) at javax.swing.JComponent.paintChildren\(JComponent.java:842\) at javax.swing.JComponent.paint\(JComponent.java:1014\) at javax.swing.JComponent.\_paintImmediately\(JComponent.java:4881\) at javax.swing.JComponent.paintImmediately\(JComponent.java:4667\) at javax.swing.RepaintManager.paintDirtyRegions\(RepaintManager.java:477\) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run\(SystemEventQueueUtilities.java:114\) at java.awt.event.InvocationEvent.dispatch\(InvocationEvent.java:209\) at java.awt.EventQueue.dispatchEvent\(EventQueue.java:461\) at java.awt.EventDispatchThread.pumpOneEventForHierarchy\(EventDispatchThread.java:269\) at java.awt.EventDispatchThread.pumpEventsForHierarchy\(EventDispatchThread.java:190\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:184\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:176\) at java.awt.EventDispatchThread.run\(EventDispatchThread.java:110\) Logged In: YES user\_id=178085 Originator: NO I got these - I do not know at which time they occured: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at net.sf.freecol.client.gui.panel.DragListener.mousePressed(DragListene r.java:84) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:22 2)
  2. 0

    TP2: Error in ADF Security Wizard - custom login module - migrated project

    Oracle Community | 9 years ago | John Stegeman
    java.lang.ArrayIndexOutOfBoundsException: 0 at oracle.adfdtinternal.model.ide.security.wizard.JaasLoginModuleDetails Panel.onExit(JaasLoginModuleDetailsPanel.java:321) at oracle.adfdtinternal.model.ide.security.wizard.ManageLoginModulesPane l.addElement(ManageLoginModulesPanel.java:150) at oracle.adfdtinternal.model.ide.security.wizard.ManageLoginModulesPane l.mav$addElement(ManageLoginModulesPanel.java:39) at oracle.adfdtinternal.model.ide.security.wizard.ManageLoginModulesPane l$1.actionPerformed(ManageLoginModulesPanel.java:94) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18 49) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav a:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel .java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258 ) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL istener.java:236)
  3. 0

    call setVisible on a JInternalFrame from a other thread

    Oracle Community | 2 decades ago | 807582
    java.lang.ArrayIndexOutOfBoundsException: No such child: 3 at java.awt.Container.getComponent(Container.java, Compiled Code) at javax.swing.JComponent.rectangleIsObscured(JComponent.java, Compiled Code) at javax.swing.JComponent.paint(JComponent.java, Compiled Code)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Window won't repaint itself, window flickers in battle mode

    robocode | 1 decade ago | *anonymous
    java.lang.ArrayIndexOutOfBoundsException: 0 at com.sun.java.swing.plaf.gtk.GTKEngine._paintFocus(GTKEngine.java:593) at com.sun.java.swing.plaf.gtk.GTKEngine.paintFocus(GTKEngine.java:575) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackground(GTKPainter.java:405) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackground(GTKPainter.java:323) at javax.swing.plaf.synth.SynthButtonUI.paintBackground(SynthButtonUI.java:184) at javax.swing.plaf.synth.SynthButtonUI.update(SynthButtonUI.java:157) at javax.swing.JComponent.paintComponent(JComponent.java:740) at javax.swing.JComponent.paint(JComponent.java:1003) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JLayeredPane.paint(JLayeredPane.java:559) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4937) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4883) at javax.swing.JComponent.paint(JComponent.java:993) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
  6. 0

    ArrayIndexOutOfBoundsException when chose color

    Netbeans Bugzilla | 1 decade ago | chihinko
    java.lang.ArrayIndexOutOfBoundsException: 286 at javax.swing.colorchooser.SwatchPanel.getColorForCell(DefaultSwatchChooserPanel.j ava:278) at javax.swing.colorchooser.SwatchPanel.getColorForLocation(DefaultSwatchChooserPan el.java:274) at javax.swing.colorchooser.SwatchPanel.getToolTipText(DefaultSwatchChooserPanel.ja va:261) at javax.swing.ToolTipManager.checkForTipChange(ToolTipManager.java:643) at javax.swing.ToolTipManager.mouseMoved(ToolTipManager.java:615) at java.awt.Component.processMouseMotionEvent(Component.java:5145) at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2779) at java.awt.Component.processEvent(Component.java:4901) 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:3211) 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) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:2 01) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151 ) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141 )

    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\(Container.java:280\) at javax.swing.JComponent.rectangleIsObscured\(JComponent.java:4123\) at javax.swing.JComponent.paint\(JComponent.java:1003\) at javax.swing.JLayeredPane.paint\(JLayeredPane.java:559\) at javax.swing.JComponent.\_paintImmediately\(JComponent.java:4881\) at javax.swing.JComponent.paintImmediately\(JComponent.java:4667\) at javax.swing.RepaintManager.paintDirtyRegions\(RepaintManager.java:477\) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run\(SystemEventQueueUtilities.java:114\) at java.awt.event.InvocationEvent.dispatch\(InvocationEvent.java:209\) at java.awt.EventQueue.dispatchEvent\(EventQueue.java:461\) at java.awt.EventDispatchThread.pumpOneEventForHierarchy\(EventDispatchThread.java:269\) at java.awt.EventDispatchThread.pumpEventsForHierarchy\(EventDispatchThread.java:190\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:184\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:176\) at java.awt.EventDispatchThread.run\(EventDispatchThread.java:110\) Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at net.sf.freecol.client.gui.FreeColMenuBar.paintComponent\(FreeColMenuBar.java:770\) at javax.swing.JComponent.paint\(JComponent.java:1005\) at javax.swing.JComponent.paintChildren\(JComponent.java:842\) at javax.swing.JComponent.paint\(JComponent.java:1014\) at javax.swing.JLayeredPane.paint\(JLayeredPane.java:559\) at javax.swing.JComponent.paintChildren\(JComponent.java:842\) at javax.swing.JComponent.paint\(JComponent.java:1014\) at javax.swing.JComponent.\_paintImmediately\(JComponent.java:4881\) at javax.swing.JComponent.paintImmediately\(JComponent.java:4667\) at javax.swing.RepaintManager.paintDirtyRegions\(RepaintManager.java:477\) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run\(SystemEventQueueUtilities.java:114\) at java.awt.event.InvocationEvent.dispatch\(InvocationEvent.java:209\) at java.awt.EventQueue.dispatchEvent\(EventQueue.java:461\) at java.awt.EventDispatchThread.pumpOneEventForHierarchy\(EventDispatchThread.java:269\) at java.awt.EventDispatchThread.pumpEventsForHierarchy\(EventDispatchThread.java:190\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:184\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:176\) at java.awt.EventDispatchThread.run\(EventDispatchThread.java:110\) Logged In: YES user\_id=178085 Originator: NO I got these - I do not know at which time they occured: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at net.sf.freecol.client.gui.panel.DragListener.mousePressed(DragListene r.java:84) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:22 2)

      at java.awt.Component.processMouseEvent()
    2. Java RT
      Component.dispatchEvent
      1. java.awt.Component.processMouseEvent(Component.java:5485)
      2. javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
      3. java.awt.Component.processEvent(Component.java:5253)
      4. java.awt.Container.processEvent(Container.java:1966)
      5. java.awt.Component.dispatchEventImpl(Component.java:3955)
      6. java.awt.Container.dispatchEventImpl(Container.java:2024)
      7. java.awt.Component.dispatchEvent(Component.java:3803)
      7 frames