java.lang.ArrayIndexOutOfBoundsException: 2 >= 2

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

    Better way to access non-visible JTable columns?

    Oracle Community | 1 decade ago | 807577
    java.lang.ArrayIndexOutOfBoundsException: 2 >= 2
  2. 0

    ArrayIndexOutOfBoundsException inserting JTable data to SQL database

    Stack Overflow | 2 years ago | ridhi
    java.lang.ArrayIndexOutOfBoundsException: 6 >= 6
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Get ArrayIndexOutOfBoundsException error when try to display data from jtable to the console

    Stack Overflow | 3 years ago | Dexter Moregan
    java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
  5. 0

    ArrayOutOfBoundException when getValueAt from a table that sets row filter

    Stack Overflow | 3 years ago
    java.lang.ArrayIndexOutOfBoundsException: 8

    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

      2 >= 2

      at java.util.Vector.elementAt()
    2. Java RT
      JTable.getValueAt
      1. java.util.Vector.elementAt(Vector.java:427)
      2. javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277)
      3. javax.swing.JTable.convertColumnIndexToModel(JTable.java:1669)
      4. javax.swing.JTable.getValueAt(JTable.java:1760)
      4 frames
    3. timland
      TableExample$2.actionPerformed
      1. timland.TableExample$2.actionPerformed(Unknown Source)
      1 frame
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
      6. java.awt.Component.processMouseEvent(Component.java:5134)
      7. java.awt.Component.processEvent(Component.java:4931)
      8. java.awt.Container.processEvent(Container.java:1566)
      9. java.awt.Component.dispatchEventImpl(Component.java:3639)
      10. java.awt.Container.dispatchEventImpl(Container.java:1623)
      11. java.awt.Component.dispatchEvent(Component.java:3480)
      12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
      13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
      14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
      15. java.awt.Container.dispatchEventImpl(Container.java:1609)
      16. java.awt.Window.dispatchEventImpl(Window.java:1590)
      17. java.awt.Component.dispatchEvent(Component.java:3480)
      18. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      23. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      23 frames