java.lang.ArrayIndexOutOfBoundsException: -1

Coderanch | Isaac Hewitt | 5 years 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

    JTabbedPane remove exception

    Coderanch | 5 years ago | Isaac Hewitt
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    How to remove this error - Java Programming Help - KnowCoding.com

    knowcoding.com | 2 years ago
    java.lang.ArrayIndexOutOfBoundsException: -1
  3. 0

    Bug Report - ATI driver specific with test program attached | Java.net

    java.net | 1 year ago
    java.lang.ArrayIndexOutOfBoundsException: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Vectors problem - Java Programming Help - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.ArrayIndexOutOfBoundsException: -1
  6. 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 java.util.ArrayList.elementData()
    2. Java RT
      JTabbedPane.getTitleAt
      1. java.util.ArrayList.elementData(ArrayList.java:371)
      2. java.util.ArrayList.get(ArrayList.java:384)
      3. javax.swing.JTabbedPane.getTitleAt(JTabbedPane.java:1112)
      3 frames
    3. com.program.program
      ArchiveTabPane$4.stateChanged
      1. com.program.program.ArchiveTabPane$4.stateChanged(Unknown Source)
      1 frame
    4. Java RT
      JTabbedPane.removeTabAt
      1. javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:416)
      2. javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:270)
      3. javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:132)
      4. javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:67)
      5. javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:616)
      6. javax.swing.JTabbedPane.removeTabAt(JTabbedPane.java:979)
      6 frames
    5. de.javasoft.swing
      JYTabbedPane.removeTabAt
      1. de.javasoft.swing.JYTabbedPane.removeTabAt(JYTabbedPane.java:460)
      1 frame
    6. com.program.program
      ArchiveTabPane$2$1.run
      1. com.program.program.ArchiveTabPane$2$1.run(Unknown Source)
      1 frame
    7. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
      3. java.awt.EventQueue.access$000(EventQueue.java:101)
      4. java.awt.EventQueue$3.run(EventQueue.java:666)
      5. java.awt.EventQueue$3.run(EventQueue.java:664)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
      14 frames