java.lang.IndexOutOfBoundsException

Index: -1, Size: 49

Samebug tips1

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.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4226

  • via Unknown by 807587,
  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: -1, Size: 49 at java.util.ArrayList.RangeCheck(ArrayList.java:508) at java.util.ArrayList.get(ArrayList.java:320) at org.main.util.GenTableModel.getRow(GenTableModel.java:179) at org.main.ui.AdminMenu$1.mouseClicked(AdminMenu.java:311) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:207) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:207) at java.awt.Component.processMouseEvent(Component.java:5096) at java.awt.Component.processEvent(Component.java:4890) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3598) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3174) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1585) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    slashslash
    2 times, last one
    SteVio1989SteVio1989
    19 times, last one
    Unknown UserUnknown User
    312 times, last one
    rocdayrocday
    Once,
    PilleoPilleo
    12 times, last one
    229 more bugmates