java.lang.IndexOutOfBoundsException

Index: 2, Size: 2

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.

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

Solutions on the web6623

  • via GitHub by Thurisas
    , 6 months ago
    Index: 2, Size: 2
  • Index: 2, Size: 2
  • Index: 2, Size: 2
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at org.xid.basics.ui.field.ListField$2.handleEvent(ListField.java:112) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1137) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1122) at org.eclipse.swt.widgets.Table.checkData(Table.java:1180) at org.eclipse.swt.widgets.Table.wmNotifyChild(Table.java:6831) at org.eclipse.swt.widgets.Control.wmNotify(Control.java:5690) at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1956) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:5242) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4718) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5063) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2443) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:578) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:444) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4760) at org.eclipse.swt.widgets.Table.windowProc(Table.java:5983) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5050) at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:3302) at org.eclipse.swt.widgets.Table.clearAll(Table.java:1455) at org.xid.basics.ui.field.ListField.refresh(ListField.java:286) at org.xid.basics.ui.field.ListField.setValue(ListField.java:274) at org.xid.basics.ui.field.ListField.setValue(ListField.java:280) at matrixstudio.ui.controller.TaskController.refreshFields(TaskController.java:186) at org.xid.basics.ui.field.PropertiesField.setSubject(PropertiesField.java:113) at matrixstudio.ui.MatrixStudio.setSelection(MatrixStudio.java:256) at matrixstudio.ui.ScheduleTabController$1.notified(ScheduleTabController.java:37) at org.xid.basics.notification.NotificationSupport$Stub.fireNotification(NotificationSupport.java:37) at org.xid.basics.notification.NotificationSupport$Stub.fireValueNotification(NotificationSupport.java:47) at org.xid.basics.ui.diagram.DiagramController.fireProperty(DiagramController.java:106) at org.xid.basics.ui.diagram.DiagramController.setSelectedElements(DiagramController.java:533) at org.xid.basics.ui.diagram.DiagramController.findSelectionNewElements(DiagramController.java:814) at org.xid.basics.ui.diagram.DiagramController.refreshElements(DiagramController.java:353) at org.xid.basics.ui.field.DiagramField.refreshDiagram(DiagramField.java:133) at matrixstudio.ui.ScheduleTabController.refreshFields(ScheduleTabController.java:54) at matrixstudio.ui.MatrixStudio.refreshSchedule(MatrixStudio.java:215) at matrixstudio.ui.MatrixStudio.refreshFields(MatrixStudio.java:194) at matrixstudio.ui.MatrixStudio$1.executeAction(MatrixStudio.java:80) at org.xid.basics.ui.action.ActionManager$1.handleEvent(ActionManager.java:57) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769) at matrixstudio.ui.MatrixStudio.open(MatrixStudio.java:467) at matrixstudio.ui.MatrixStudio.main(MatrixStudio.java:511)

    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

    4 times, 1 month ago
    Once, 7 months ago
    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 11 months ago
    Once, 1 year ago
    239 more bugmates