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 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Various null pointer exceptions

    freecol | 1 decade 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)

    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