java.lang.IndexOutOfBoundsException: Index: 2, Size: 0

Oracle Community | 3004 | 1 decade 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

    IndexOutOfBoundsException

    Oracle Community | 1 decade ago | 3004
    java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
  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

    www.jfree.org • View topic - Exception in "AWT-EventQueue-0" : IndexOutOfBoundsException

    jfree.org | 2 years ago
    java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JMeter - User - PLEASE SUGGEST WHAT to take the heap size for 0.99 GB RAM in bat file

    nabble.com | 2 years ago
    java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
  6. 0

    Index: 2, Size: 0

    YouTrack | 5 years ago
    java.lang.IndexOutOfBoundsException: Index: 2, Size: 0

  1. Reich 1 times, last 6 days ago
  2. Victor_IT 4 times, last 1 week ago
  3. batwalrus76 11 times, last 1 week ago
  4. Pilleo 6 times, last 2 weeks ago
  5. David 9 times, last 2 weeks ago
76 more registered users
19 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: 2, Size: 0

    at java.util.ArrayList.RangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.RangeCheck(Unknown Source)
    2. java.util.ArrayList.get(Unknown Source)
    2 frames
  3. com.m7.wide
    TargetElementView.actionPerformed
    1. com.m7.wide.mldoc.elemkit.ServerScriptElem.I(Unknown Source)
    2. com.m7.wide.mldoc.elemkit.ServerScriptElem.getCountVariables(Unknown Source)
    3. com.m7.wide.mldoc.B.A(Unknown Source)
    4. com.m7.wide.mldoc.B.D(Unknown Source)
    5. com.m7.wide.mldoc.B.hasNext(Unknown Source)
    6. com.m7.wide.mldoc.R.A(Unknown Source)
    7. com.m7.wide.mldoc.X.A(Unknown Source)
    8. com.m7.wide.mldoc.X.B(Unknown Source)
    9. com.m7.wide.mldoc.elemkit.ExpressionElem.A(Unknown Source)
    10. com.m7.wide.mldoc.elemkit.ExpressionElem.getValueRef(Unknown Source)
    11. com.m7.wide.mldoc.j.B(Unknown Source)
    12. com.m7.wide.jstl.core.OutElem.getValueRef(Unknown Source)
    13. com.m7.wide.mldoc.j.B(Unknown Source)
    14. com.m7.wide.jstudio.tags.DefaultAttrEditor.getRenderingText(Unknown Source)
    15. com.m7.wide.jstudio.tags.DefaultAttrEditor.N(Unknown Source)
    16. com.m7.wide.jstudio.tags.DefaultAttrEditor.A(Unknown Source)
    17. com.m7.wide.jstudio.tags.DefaultAttrEditor.K(Unknown Source)
    18. com.m7.wide.jstudio.tags.DefaultAttrEditor.setValue(Unknown Source)
    19. com.m7.wide.jstudio.tags.DefaultAttrEditor.initValue(Unknown Source)
    20. com.m7.wide.jstudio.tags.DefaultTagEditor.C(Unknown Source)
    21. com.m7.wide.jstudio.tags.DefaultTagEditor.getModifyPanel(Unknown Source)
    22. com.m7.wide.tagedit.TagModifController.setTag(Unknown Source)
    23. com.m7.wide.tagedit.TagModifController.<init>(Unknown Source)
    24. com.m7.wide.jstudio.tags.TagModifView.n(Unknown Source)
    25. com.m7.wide.jstudio.tags.TagModifView.p(Unknown Source)
    26. com.m7.wide.jstudio.tags.TagModifView.targetElementChanged(Unknown Source)
    27. com.m7.wide.jstudio.tags.TargetElementSelector.D(Unknown Source)
    28. com.m7.wide.jstudio.tags.TargetElementView.actionPerformed(Unknown Source)
    28 frames
  4. com.m7.B
    Q.A
    1. com.m7.B.Q.A(Unknown Source)
    2. com.m7.B.Q.B(Unknown Source)
    3. com.m7.B.Q.A(Unknown Source)
    4. com.m7.B.Q.A(Unknown Source)
    4 frames
  5. com.m7.wide
    EclipseSourcePane.selectionChanged
    1. com.m7.wide.jstudio.tags.TargetElementView.targetElementChanged(Unknown Source)
    2. com.m7.wide.doceditor.TargetElementTracker.C(Unknown Source)
    3. com.m7.wide.doceditor.TargetElementTracker.B(Unknown Source)
    4. com.m7.wide.doceditor.TargetElementTracker.selectionChanged(Unknown Source)
    5. com.m7.wide.doceditor.AbstractPane.fireSelectionEvent(Unknown Source)
    6. com.m7.wide.doceditor.SourcePane.C(Unknown Source)
    7. com.m7.wide.doceditor.SourcePane.B(Unknown Source)
    8. com.m7.wide.eclipse.doceditor.EclipseSourcePane.selectionChanged(Unknown Source)
    8 frames
  6. JFace
    Viewer$2.run
    1. org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159)
    1 frame
  7. Eclipse Core
    Platform.run
    1. org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    2. org.eclipse.core.runtime.Platform.run(Platform.java:747)
    2 frames
  8. JFace
    Viewer.fireSelectionChanged
    1. org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:157)
    1 frame
  9. JFace Text
    TextViewer$3.widgetSelected
    1. org.eclipse.jface.text.TextViewer.fireSelectionChanged(TextViewer.java:2164)
    2. org.eclipse.jface.text.TextViewer.selectionChanged(TextViewer.java:2147)
    3. org.eclipse.jface.text.TextViewer$3.widgetSelected(TextViewer.java:1404)
    3 frames
  10. RWT
    Widget.notifyListeners
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
    5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
    6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:613)
    6 frames
  11. Text Editor Framework
    AbstractTextEditor$ActivationCodeTrigger.verifyKey
    1. org.eclipse.ui.texteditor.TextNavigationAction.doFireSelectionChanged(TextNavigationAction.java:76)
    2. org.eclipse.ui.texteditor.TextNavigationAction.fireSelectionChanged(TextNavigationAction.java:99)
    3. org.eclipse.ui.texteditor.AbstractTextEditor$LineEndAction.run(AbstractTextEditor.java:1027)
    4. org.eclipse.ui.texteditor.AbstractTextEditor$ActivationCodeTrigger.verifyKey(AbstractTextEditor.java:604)
    4 frames
  12. JFace Text
    TextViewer$VerifyKeyListenersManager.verifyKey
    1. org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:403)
    1 frame
  13. RWT
    Display.windowProc
    1. org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:55)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
    5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
    6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:613)
    7. org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5000)
    8. org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747)
    9. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    10. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    11. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
    12. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
    13. org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1734)
    14. org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1730)
    15. org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:3517)
    16. org.eclipse.swt.widgets.Control.windowProc(Control.java:2997)
    17. org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
    17 frames
  14. org.eclipse.swt
    OS.DispatchMessage
    1. org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    2. org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1473)
    2 frames
  15. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
    1 frame
  16. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    3. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    3 frames
  17. Eclipse UI
    IDEApplication.run
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    2. org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    2 frames
  18. Eclipse Core
    PlatformActivator$1.run
    1. org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    1 frame
  19. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    2. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    2 frames
  20. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  21. Equinox
    Main.eclipse_main
    1. org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    2. org.eclipse.core.launcher.Main.run(Main.java:704)
    3. org.eclipse.core.launcher.Main.eclipse_main(Main.java:688)
    3 frames
  22. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  23. com.m7.installer
    NitroxMain$1.run
    1. com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:28)
    1 frame
  24. Java RT
    EventDispatchThread.run
    1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
    2. java.awt.EventQueue.dispatchEvent(Unknown Source)
    3. java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    4. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    5. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    6. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    7. java.awt.EventDispatchThread.run(Unknown Source)
    7 frames