ava.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2

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

    basic Jtable problem

    Oracle Community | 1 decade ago | 807587
    ava.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2

    1 unregistered visitors

    Root Cause Analysis

    1. ava.lang.ArrayIndexOutOfBoundsException

      Array index out of range: 2

      at java.util.Vector.get()
    2. Java RT
      Vector.get
      1. java.util.Vector.get(Vector.java:709)
      1 frame
    3. Unknown
      GTableModel$1.mouseClicked
      1. GTableModel.sort(GTableModel.java:150)
      2. GTableModel.sortByColumn(GTableModel.java:160)
      3. GTableModel$1.mouseClicked(GTableModel.java:178)
      3 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
      2. java.awt.Component.processMouseEvent(Component.java:5103)
      3. java.awt.Component.processEvent(Component.java:4897)
      4. java.awt.Container.processEvent(Container.java:1569)
      5. java.awt.Component.dispatchEventImpl(Component.java:3615)
      6. java.awt.Container.dispatchEventImpl(Container.java:1627)
      7. java.awt.Component.dispatchEvent(Component.java:3477)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
      9. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3207)
      10. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
      11. java.awt.Container.dispatchEventImpl(Container.java:1613)
      12. java.awt.Window.dispatchEventImpl(Window.java:1606)
      13. java.awt.Component.dispatchEvent(Component.java:3477)
      14. java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
      15. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
      16. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
      17. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      18. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      19. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
      19 frames