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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Appcelerator JIRA by Chris Williams, 1 year ago
-1
via Appcelerator JIRA by Chris Williams, 1 year ago
-1
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:418)
at java.util.ArrayList.remove(ArrayList.java:495)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.getSurroundingProperty(JSSymbolCollector.java:320)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:272)
at com.aptana.js.core.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:306)
at com.aptana.js.core.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)
at com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:291)
at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:232)
at com.aptana.js.core.parsing.ast.JSStatementsNode.accept(JSStatementsNode.java:29)
at com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:291)
at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:156)
at com.aptana.js.core.parsing.ast.JSIfNode.accept(JSIfNode.java:40)
at com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:291)
at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:232)
at com.aptana.js.core.parsing.ast.JSStatementsNode.accept(JSStatementsNode.java:29)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:471)
at com.aptana.js.core.parsing.ast.JSFunctionNode.accept(JSFunctionNode.java:46)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:306)
at com.aptana.js.core.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)
at com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:291)
at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:232)
at com.aptana.js.core.parsing.ast.JSStatementsNode.accept(JSStatementsNode.java:29)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:471)
at com.aptana.js.core.parsing.ast.JSFunctionNode.accept(JSFunctionNode.java:46)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:306)
at com.aptana.js.core.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:539)
at com.aptana.js.core.parsing.ast.JSParseRootNode.accept(JSParseRootNode.java:51)
at com.aptana.js.core.parsing.ast.JSParseRootNode.getGlobals(JSParseRootNode.java:63)
at com.aptana.js.core.index.JSFileIndexingParticipant.getGlobals(JSFileIndexingParticipant.java:93)
at com.aptana.js.core.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:200)
at com.aptana.js.core.index.JSFileIndexingParticipant.index(JSFileIndexingParticipant.java:105)
at com.aptana.core.internal.build.IndexBuildParticipant.buildFile(IndexBuildParticipant.java:132)
at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72)
at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:614)
at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:525)
at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:497)
at com.aptana.core.build.UnifiedBuilder.incrementalBuild(UnifiedBuilder.java:263)
at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:197)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:401)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
at org.eclipse.debug.core.model.LaunchConfigurationDelegate$1.run(LaunchConfigurationDelegate.java:430)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.debug.core.model.LaunchConfigurationDelegate.buildProjects(LaunchConfigurationDelegate.java:437)
at org.eclipse.debug.core.model.LaunchConfigurationDelegate.buildForLaunch(LaunchConfigurationDelegate.java:130)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
14 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago

Write tip

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