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

  1. ,
    via oracle.com by Unknown author

    Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array. In this case, you're trying to access a negative indexed element from the ArrayList.

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$2.run(BuildManager.java:734)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	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$1.run(BuildManager.java:299)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	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.core.internal.resources.Project.build(Project.java:114)	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.core.internal.resources.Workspace.run(Workspace.java:2295)	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.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)