java.lang.ArrayIndexOutOfBoundsException: 10000

Oracle Community | 807606 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java Snake Game Problem

    Oracle Community | 1 decade ago | 807606
    java.lang.ArrayIndexOutOfBoundsException: 10000
  2. 0

    java.lang.ArrayIndexOutOfBoundsException: -27566080

    Netbeans Bugzilla | 2 decades ago | rpetruzzelli
    java.lang.ArrayIndexOutOfBoundsException: -27566080 at java.awt.image.SinglePixelPackedSampleModel.<init>(Compiled Code) at java.awt.image.Raster.createPackedRaster(Compiled Code) at java.awt.image.Raster.createPackedRaster(Compiled Code) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Compiled Code) at sun.awt.motif.MComponentPeer.createImage(Compiled Code) at java.awt.Component.createImage(Compiled Code) at java.awt.Component.createImage(Compiled Code) at javax.swing.RepaintManager.getOffscreenBuffer(Compiled Code) at javax.swing.JComponent._paintImmediately(Compiled Code) at javax.swing.JComponent.paintImmediately(Compiled Code) at javax.swing.RepaintManager.paintDirtyRegions(Compiled Code) at org.netbeans.core.windows.PinRepaintRM.paintDirtyRegions(Compiled Code) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Compiled Code) at javax.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code) at javax.swing.SystemEventQueueUtilities.access$0(Compiled Code) at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code) at java.awt.Component.dispatchEventImpl(Compiled Code) at java.awt.Component.dispatchEvent(Compiled Code) [catch] at java.awt.EventQueue.dispatchEvent(Compiled Code) at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code) at java.awt.EventDispatchThread.pumpEvents(Compiled Code)

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      10000

      at Runt.paintComponent()
    2. Unknown
      Runt.paintComponent
      1. Runt.paintComponent(Runt.java:175)
      1 frame
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.JComponent.paint(JComponent.java:1022)
      2. javax.swing.JComponent.paintChildren(JComponent.java:859)
      3. javax.swing.JComponent.paint(JComponent.java:1031)
      4. javax.swing.JComponent.paintChildren(JComponent.java:859)
      5. javax.swing.JComponent.paint(JComponent.java:1031)
      6. javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
      7. javax.swing.JComponent.paintChildren(JComponent.java:859)
      8. javax.swing.JComponent.paintToOffscreen(JComponent.java:5111)
      9. javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
      10. javax.swing.RepaintManager.paint(RepaintManager.java:1132)
      11. javax.swing.JComponent.paint(JComponent.java:1008)
      12. java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
      13. sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
      14. sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
      15. java.awt.Container.paint(Container.java:1797)
      16. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:738)
      17. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:683)
      18. javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:663)
      19. javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
      20. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      21. java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      22. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
      23. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
      24. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
      25. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
      26. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
      27. java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
      27 frames