java.lang.ArrayIndexOutOfBoundsException: -1

Oracle Community | 807553 | 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

    mouse click event error in my program

    Oracle Community | 1 decade ago | 807553
    java.lang.ArrayIndexOutOfBoundsException: -1
  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

      -1

      at TicTacToeGUI.mouseClicked()
    2. Unknown
      TicTacToeGUI.mouseClicked
      1. TicTacToeGUI.mouseClicked(TicTacToeGUI.java:303)
      1 frame
    3. Java RT
      EventDispatchThread.run
      1. java.awt.Component.processMouseEvent(Component.java:5096)
      2. java.awt.Component.processEvent(Component.java:4890)
      3. java.awt.Container.processEvent(Container.java:1566)
      4. java.awt.Window.processEvent(Window.java:1074)
      5. java.awt.Component.dispatchEventImpl(Component.java:3598)
      6. java.awt.Container.dispatchEventImpl(Container.java:1623)
      7. java.awt.Window.dispatchEventImpl(Window.java:1585)
      8. java.awt.Component.dispatchEvent(Component.java:3439)
      9. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      10. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      14 frames