java.lang.IndexOutOfBoundsException

Index: 2, Size: 0

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 web7057

  • Index: 2, Size: 0
  • Index: 2, Size: 0
  • via XWiki.org JIRA by Nicolas Lemoine, 10 months ago
    Index: 2, Size: 0
  • Stack trace

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

    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

    Unknown user
    Once, 1 year ago
    3 times, 1 year ago
    6 times, 1 day ago
    9 times, 1 day ago
    2 times, 5 days ago
    229 more bugmates