java.lang.ArrayIndexOutOfBoundsException: 0

Coderanch | Matthew Busse | 7 years 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

    Head First Java QuizCardBuilder not saving files correctly

    Coderanch | 7 years ago | Matthew Busse
    java.lang.ArrayIndexOutOfBoundsException: 0
  2. 0

    Head First Java QuizCardBuilder not saving files correctly

    Coderanch | 7 years ago | Matthew Busse
    java.lang.ArrayIndexOutOfBoundsException: 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Head First Java QuizCardBuilder not saving files correctly

    Coderanch | 7 years ago | Matthew Busse
    java.lang.ArrayIndexOutOfBoundsException: 0
  5. 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

      0

      at QuizCardPlayer.makeCard()
    2. Unknown
      QuizCardPlayer$OpenMenuListener.actionPerformed
      1. QuizCardPlayer.makeCard(QuizCardPlayer.java:103)
      2. QuizCardPlayer.loadFile(QuizCardPlayer.java:89)
      3. QuizCardPlayer.access$800(QuizCardPlayer.java:7)
      4. QuizCardPlayer$OpenMenuListener.actionPerformed(QuizCardPlayer.java:77)
      4 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      2. javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      5. javax.swing.AbstractButton.doClick(Unknown Source)
      6. javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
      7. javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(UnknownSource)
      8. java.awt.Component.processMouseEvent(Unknown Source)
      9. javax.swing.JComponent.processMouseEvent(Unknown Source)
      10. java.awt.Component.processEvent(Unknown Source)
      11. java.awt.Container.processEvent(Unknown Source)
      12. java.awt.Component.dispatchEventImpl(Unknown Source)
      13. java.awt.Container.dispatchEventImpl(Unknown Source)
      14. java.awt.Component.dispatchEvent(Unknown Source)
      15. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      16. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      17. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      18. java.awt.Container.dispatchEventImpl(Unknown Source)
      19. java.awt.Window.dispatchEventImpl(Unknown Source)
      20. java.awt.Component.dispatchEvent(Unknown Source)
      21. java.awt.EventQueue.dispatchEvent(Unknown Source)
      22. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      23. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      24. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      25. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      26. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      27. java.awt.EventDispatchThread.run(Unknown Source)
      27 frames