java.lang.ArrayIndexOutOfBoundsException: -1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by user3726962
, 1 year ago
via GitHub by Lsy1992
, 1 year ago
length=0; index=-1
via Appcelerator JIRA by Shalom Gibly, 1 year ago
-1
via Appcelerator JIRA by Shalom Gibly, 1 year ago
-1
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(ArrayList.java:324)
at org.eclipse.ui.internal.WorkbenchPage$ActivationList.bringToTop(WorkbenchPage.java:3372)
at org.eclipse.ui.internal.WorkbenchPage.internalBringToTop(WorkbenchPage.java:705)
at com.m7.wide.eclipse.jstudio.A.requestFocus(Unknown Source)
at com.m7.wide.doceditor.AbstractEditor.requestFocus(Unknown Source)
at com.m7.wide.doceditor.AbstractPane.requestFocus(Unknown Source)
at com.m7.wide.doceditor.flow.FlowDesignPane.requestFocus(Unknown Source)
at com.m7.wide.doceditor.CompoundPane.requestFocus(Unknown Source)
at com.m7.wide.doceditor.CompoundPane.setHidden(Unknown Source)
at com.m7.wide.doceditor.MultiPaneEditor.activePaneChanged(Unknown Source)
at com.m7.wide.eclipse.jstudio.PaneEditorPart.activate(Unknown Source)
at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.A(Unknown Source)
at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.pageChange(Unknown Source)
at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.createPages(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:577)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:357)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:559)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1064)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1013)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1222)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:406)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:212)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:202)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:719)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:631)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:594)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2254)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2185)
at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:2177)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2163)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2158)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:248)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:128)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:169)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:153)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:222)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:299)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2921)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:330)
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:29)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Users with the same issue

Once, 5 months ago
3 times, 7 months ago
2 times, 11 months ago
Once, 1 year ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.