java.lang.IndexOutOfBoundsException: Index: 1, Size: 1

Coderanch | Shell Durham | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    IndexOutOfBounds using JTable which uses List abstractTableModel ListSelectionModel

    Coderanch | 3 years ago | Shell Durham
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
  2. 0
    samebug tip
    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.
  3. 0

    IndexOutOfBoundsException in close()

    GitHub | 3 years ago | virtyvoid
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Breaking A Mnemonic Matrix While Creating An Item Crashes Server

    GitHub | 3 years ago | cerevisiae
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1

  1. Victor_IT 2 times, last 7 days ago
  2. arturgajowy 1 times, last 1 week ago
  3. Pilleo 3 times, last 2 weeks ago
  4. Indri Yunita 8 times, last 2 weeks ago
  5. SteVio1989 1 times, last 3 weeks ago
73 more registered users
22 unregistered visitors
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.IndexOutOfBoundsException

    Index: 1, Size: 1

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(ArrayList.java:635)
    2. java.util.ArrayList.get(ArrayList.java:411)
    2 frames
  3. au.edu.deakin
    StudentView$1.valueChanged
    1. au.edu.deakin.mdurham.controller.StudentTableModel.getSelectedRow(StudentTableModel.java:118)
    2. au.edu.deakin.mdurham.view.StudentView$1.valueChanged(StudentView.java:378)
    2 frames
  4. Java RT
    EventDispatchThread.run
    1. javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
    2. javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154)
    3. javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685)
    4. javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(BasicTableUI.java:953)
    5. javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(BasicTableUI.java:1166)
    6. java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
    7. java.awt.Component.processMouseEvent(Component.java:6505)
    8. javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
    9. java.awt.Component.processEvent(Component.java:6270)
    10. java.awt.Container.processEvent(Container.java:2229)
    11. java.awt.Component.dispatchEventImpl(Component.java:4861)
    12. java.awt.Container.dispatchEventImpl(Container.java:2287)
    13. java.awt.Component.dispatchEvent(Component.java:4687)
    14. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    15. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    16. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    17. java.awt.Container.dispatchEventImpl(Container.java:2273)
    18. java.awt.Window.dispatchEventImpl(Window.java:2719)
    19. java.awt.Component.dispatchEvent(Component.java:4687)
    20. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
    21. java.awt.EventQueue.access$200(EventQueue.java:103)
    22. java.awt.EventQueue$3.run(EventQueue.java:694)
    23. java.awt.EventQueue$3.run(EventQueue.java:692)
    24. java.security.AccessController.doPrivileged(Native Method)
    25. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    26. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    27. java.awt.EventQueue$4.run(EventQueue.java:708)
    28. java.awt.EventQueue$4.run(EventQueue.java:706)
    29. java.security.AccessController.doPrivileged(Native Method)
    30. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    31. java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
    32. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    33. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    34. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    35. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    36. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    37. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    37 frames