java.lang.ArrayIndexOutOfBoundsException: -1 <-- it thinks it is negative 1.

Oracle Community | 807594 | 1 decade ago
  1. 0

    imaginary nulls bieng pointed at

    Oracle Community | 1 decade ago | 807594
    java.lang.ArrayIndexOutOfBoundsException: -1 <-- it thinks it is negative 1.
  2. 0

    Which is out of bounds - Java Programming Help - KnowCoding.com

    knowcoding.com | 8 months ago
    java.lang.ArrayIndexOutOfBoundsException: -1 Oh dear, it seems as though there is a collision at location: a1Please try another location
  3. 0

    Java lang arrayindexoutofboundsexception error - Java Programming Help - KnowCoding.com

    knowcoding.com | 12 months ago
    java.lang.ArrayIndexOutOfBoundsException: -1 Oh dear, it seems as though there is a collision at location: a1Please try another location
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception in thread main java lang arrayindexoutofboundsexception 1 - Java Programming Help - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.ArrayIndexOutOfBoundsException: -1 Oh dear, it seems as though there is a collision at location: a1Please try another location
  6. 0

    My squaretest nor analyzing the others size and ArrayIndexOutofBoundsException

    Stack Overflow | 5 years ago | Yuvin Ng
    java.lang.ArrayIndexOutOfBoundsException: 3 The sum of the main diagonal is......: 15 The sum of the other diagonal is.....: 15 Is it a magic square: true the sum of columns 1 is....: 15 The sum of the main diagonal is......: 15 The sum of the other diagonal is.....: 15 Is it a magic square: true the sum of columns 2 is....: 15 The sum of the main diagonal is......: 15 The sum of the other diagonal is.....: 15 Is it a magic square: true

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1 <-- it thinks it is negative 1.

      at atm.ATMAccounts.getPIN()
    2. atm
      ATMDisplay$ListenerSelectionPad.actionPerformed
      1. atm.ATMAccounts.getPIN(ATMAccounts.java:92)
      2. atm.ATMDisplay$ListenerSelectionPad.actionPerformed(ATMDisplay.java:129)
      2 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
      6. java.awt.Component.processMouseEvent(Component.java:5100)
      7. java.awt.Component.processEvent(Component.java:4897)
      8. java.awt.Container.processEvent(Container.java:1569)
      9. java.awt.Component.dispatchEventImpl(Component.java:3615)
      10. java.awt.Container.dispatchEventImpl(Container.java:1627)
      11. java.awt.Component.dispatchEvent(Component.java:3477)
      12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
      13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
      14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
      15. java.awt.Container.dispatchEventImpl(Container.java:1613)
      16. java.awt.Window.dispatchEventImpl(Window.java:1606)
      17. java.awt.Component.dispatchEvent(Component.java:3477)
      18. java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
      19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
      20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
      21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      23. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
      23 frames