java.lang.ArrayIndexOutOfBoundsException: 10000

Oracle Community | 807606 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Java Snake Game Problem

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

    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