java.lang.ArrayIndexOutOfBoundsException: -1

Appcelerator JIRA | Chris Williams | 1 year ago
  1. 0

    I'm using Studio to test out Android hyperloop apps. When I try to launch an app int he emulator, sometimes it'll show an error dialog/popup. My guess is that the Studio JS index code is having trouble handling some of the hyperloop JS wrappers in the project. When I check the logs, it has the following: {code:java} !ENTRY com.aptana.js.core 4 0 2015-10-19 13:10:22.245 !MESSAGE (Build 4.3.1.201509222258) [ERROR] Null or Empty type name attempting to be recorded for a return type. !STACK 0 java.lang.IllegalArgumentException: Null or Empty type name attempting to be recorded for a return type. at com.aptana.js.core.inferencing.JSTypeUtil.validateTypeName(JSTypeUtil.java:466) at com.aptana.js.core.model.ReturnTypeElement.setType(ReturnTypeElement.java:123) at com.aptana.js.core.model.ReturnTypeElement.fromJSON(ReturnTypeElement.java:65) at com.aptana.index.core.IndexUtil.createList(IndexUtil.java:70) at com.aptana.js.core.model.PropertyElement.fromJSON(PropertyElement.java:167) at com.aptana.index.core.IndexReader.populateElement(IndexReader.java:207) at com.aptana.index.core.IndexReader.populateElement(IndexReader.java:181) at com.aptana.js.internal.core.index.JSIndexReader.createProperty(JSIndexReader.java:100) at com.aptana.js.internal.core.index.JSIndexReader$7.map(JSIndexReader.java:472) at com.aptana.js.internal.core.index.JSIndexReader$7.map(JSIndexReader.java:1) at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:432) at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:466) at com.aptana.js.internal.core.index.JSIndexReader.getProperties(JSIndexReader.java:468) at com.aptana.js.core.index.JSIndexQueryHelper.getGlobals(JSIndexQueryHelper.java:172) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:706) at com.aptana.js.core.parsing.ast.JSIdentifierNode.accept(JSIdentifierNode.java:33) at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:281) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:262) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:588) at com.aptana.js.core.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:34) at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:281) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:522) at com.aptana.js.core.parsing.ast.JSFunctionNode.accept(JSFunctionNode.java:46) at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:606) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:359) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:420) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer$1.map(JSSymbolTypeInferrer.java:289) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer$1.map(JSSymbolTypeInferrer.java:1) at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:432) at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:466) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:285) at com.aptana.js.core.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:232) 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) !ENTRY org.eclipse.core.resources 4 2 2015-10-19 13:10:26.542 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 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) !ENTRY org.eclipse.core.resources 4 566 2015-10-19 13:10:26.550 !MESSAGE Errors occurred during the build. !SUBENTRY 1 com.aptana.buildpath.core 4 75 2015-10-19 13:10:26.551 !MESSAGE Errors running builder 'Studio Unified Builder' on project 'TitaniumTest'. !STACK 0 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) !ENTRY org.eclipse.ui 4 0 2015-10-19 13:16:04.203 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:2118) at org.eclipse.swt.graphics.GC.cocoa_new(GC.java:207) at org.eclipse.swt.widgets.Tree.sendMeasureItem(Tree.java:2613) at org.eclipse.swt.widgets.Tree.cellSize(Tree.java:288) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5528) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper_stret(Native Method) at org.eclipse.swt.widgets.Widget.expansionFrameWithFrame_inView(Widget.java:798) at org.eclipse.swt.widgets.Tree.expansionFrameWithFrame_inView(Tree.java:1283) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5907) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method) at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42) at org.eclipse.swt.widgets.Display.sleep(Display.java:4691) at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:368) at com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:908) at org.eclipse.ui.internal.Workbench$3.eventLoopIdle(Workbench.java:498) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) !ENTRY com.aptana.js.core 4 0 2015-10-19 13:53:51.020 !MESSAGE (Build 4.3.1.201509222258) [ERROR] Expected JSFunction node when applying documentation; however, the node type was 'com.aptana.js.core.parsing.ast.JSIdentifierNode' instead. Source = resize !ENTRY org.eclipse.core.resources 4 2 2015-10-19 13:53:52.155 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 java.lang.ArrayIndexOutOfBoundsException !ENTRY org.eclipse.core.resources 4 566 2015-10-19 13:53:52.159 !MESSAGE Errors occurred during the build. !SUBENTRY 1 com.aptana.buildpath.core 4 75 2015-10-19 13:53:52.159 !MESSAGE Errors running builder 'Studio Unified Builder' on project 'TitaniumTest'. !STACK 0 java.lang.ArrayIndexOutOfBoundsException {code}

    Appcelerator JIRA | 1 year ago | Chris Williams
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    I'm using Studio to test out Android hyperloop apps. When I try to launch an app int he emulator, sometimes it'll show an error dialog/popup. My guess is that the Studio JS index code is having trouble handling some of the hyperloop JS wrappers in the project. When I check the logs, it has the following: {code:java} !ENTRY com.aptana.js.core 4 0 2015-10-19 13:10:22.245 !MESSAGE (Build 4.3.1.201509222258) [ERROR] Null or Empty type name attempting to be recorded for a return type. !STACK 0 java.lang.IllegalArgumentException: Null or Empty type name attempting to be recorded for a return type. at com.aptana.js.core.inferencing.JSTypeUtil.validateTypeName(JSTypeUtil.java:466) at com.aptana.js.core.model.ReturnTypeElement.setType(ReturnTypeElement.java:123) at com.aptana.js.core.model.ReturnTypeElement.fromJSON(ReturnTypeElement.java:65) at com.aptana.index.core.IndexUtil.createList(IndexUtil.java:70) at com.aptana.js.core.model.PropertyElement.fromJSON(PropertyElement.java:167) at com.aptana.index.core.IndexReader.populateElement(IndexReader.java:207) at com.aptana.index.core.IndexReader.populateElement(IndexReader.java:181) at com.aptana.js.internal.core.index.JSIndexReader.createProperty(JSIndexReader.java:100) at com.aptana.js.internal.core.index.JSIndexReader$7.map(JSIndexReader.java:472) at com.aptana.js.internal.core.index.JSIndexReader$7.map(JSIndexReader.java:1) at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:432) at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:466) at com.aptana.js.internal.core.index.JSIndexReader.getProperties(JSIndexReader.java:468) at com.aptana.js.core.index.JSIndexQueryHelper.getGlobals(JSIndexQueryHelper.java:172) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:706) at com.aptana.js.core.parsing.ast.JSIdentifierNode.accept(JSIdentifierNode.java:33) at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:281) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:262) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:588) at com.aptana.js.core.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:34) at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:281) at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:522) at com.aptana.js.core.parsing.ast.JSFunctionNode.accept(JSFunctionNode.java:46) at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:606) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:359) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:420) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer$1.map(JSSymbolTypeInferrer.java:289) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer$1.map(JSSymbolTypeInferrer.java:1) at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:432) at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:466) at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:285) at com.aptana.js.core.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:232) 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) !ENTRY org.eclipse.core.resources 4 2 2015-10-19 13:10:26.542 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 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) !ENTRY org.eclipse.core.resources 4 566 2015-10-19 13:10:26.550 !MESSAGE Errors occurred during the build. !SUBENTRY 1 com.aptana.buildpath.core 4 75 2015-10-19 13:10:26.551 !MESSAGE Errors running builder 'Studio Unified Builder' on project 'TitaniumTest'. !STACK 0 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) !ENTRY org.eclipse.ui 4 0 2015-10-19 13:16:04.203 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:2118) at org.eclipse.swt.graphics.GC.cocoa_new(GC.java:207) at org.eclipse.swt.widgets.Tree.sendMeasureItem(Tree.java:2613) at org.eclipse.swt.widgets.Tree.cellSize(Tree.java:288) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5528) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper_stret(Native Method) at org.eclipse.swt.widgets.Widget.expansionFrameWithFrame_inView(Widget.java:798) at org.eclipse.swt.widgets.Tree.expansionFrameWithFrame_inView(Tree.java:1283) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5907) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method) at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42) at org.eclipse.swt.widgets.Display.sleep(Display.java:4691) at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:368) at com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:908) at org.eclipse.ui.internal.Workbench$3.eventLoopIdle(Workbench.java:498) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) !ENTRY com.aptana.js.core 4 0 2015-10-19 13:53:51.020 !MESSAGE (Build 4.3.1.201509222258) [ERROR] Expected JSFunction node when applying documentation; however, the node type was 'com.aptana.js.core.parsing.ast.JSIdentifierNode' instead. Source = resize !ENTRY org.eclipse.core.resources 4 2 2015-10-19 13:53:52.155 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 java.lang.ArrayIndexOutOfBoundsException !ENTRY org.eclipse.core.resources 4 566 2015-10-19 13:53:52.159 !MESSAGE Errors occurred during the build. !SUBENTRY 1 com.aptana.buildpath.core 4 75 2015-10-19 13:53:52.159 !MESSAGE Errors running builder 'Studio Unified Builder' on project 'TitaniumTest'. !STACK 0 java.lang.ArrayIndexOutOfBoundsException {code}

    Appcelerator JIRA | 1 year ago | Chris Williams
    java.lang.ArrayIndexOutOfBoundsException: -1
  3. 0

    CompositeEntityMapper initialization using wrong precondition

    GitHub | 2 years ago | tsbatista
    java.lang.ArrayIndexOutOfBoundsException: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Advanced Debug Menu Crash: java.lang.ArrayIndexOutOfBoundsException: -1

    GitHub | 2 years ago | kvverti
    java.lang.ArrayIndexOutOfBoundsException: -1
  6. 0

    java Pool implementation

    Stack Overflow | 1 year ago | Zapadlo
    java.lang.ArrayIndexOutOfBoundsException: -1

  1. asvid 14 times, last 6 months ago
  2. Saravana Kumar Chinnaraj 4 times, last 8 months ago
  3. muhammad zaid 1 times, last 8 months ago
3 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.ArrayIndexOutOfBoundsException

    -1

    at java.util.ArrayList.elementData()
  2. Java RT
    ArrayList.remove
    1. java.util.ArrayList.elementData(ArrayList.java:418)
    2. java.util.ArrayList.remove(ArrayList.java:495)
    2 frames
  3. com.aptana.js
    JSFileIndexingParticipant.index
    1. com.aptana.js.internal.core.inferencing.JSSymbolCollector.getSurroundingProperty(JSSymbolCollector.java:320)
    2. com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:272)
    3. com.aptana.js.core.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)
    4. com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
    5. com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:306)
    6. com.aptana.js.core.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)
    7. com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:291)
    8. com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:232)
    9. com.aptana.js.core.parsing.ast.JSStatementsNode.accept(JSStatementsNode.java:29)
    10. com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:291)
    11. com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:156)
    12. com.aptana.js.core.parsing.ast.JSIfNode.accept(JSIfNode.java:40)
    13. com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:291)
    14. com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:232)
    15. com.aptana.js.core.parsing.ast.JSStatementsNode.accept(JSStatementsNode.java:29)
    16. com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
    17. com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:471)
    18. com.aptana.js.core.parsing.ast.JSFunctionNode.accept(JSFunctionNode.java:46)
    19. com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
    20. com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:306)
    21. com.aptana.js.core.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)
    22. com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:291)
    23. com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:232)
    24. com.aptana.js.core.parsing.ast.JSStatementsNode.accept(JSStatementsNode.java:29)
    25. com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
    26. com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:471)
    27. com.aptana.js.core.parsing.ast.JSFunctionNode.accept(JSFunctionNode.java:46)
    28. com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
    29. com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:306)
    30. com.aptana.js.core.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)
    31. com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
    32. com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:539)
    33. com.aptana.js.core.parsing.ast.JSParseRootNode.accept(JSParseRootNode.java:51)
    34. com.aptana.js.core.parsing.ast.JSParseRootNode.getGlobals(JSParseRootNode.java:63)
    35. com.aptana.js.core.index.JSFileIndexingParticipant.getGlobals(JSFileIndexingParticipant.java:93)
    36. com.aptana.js.core.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:200)
    37. com.aptana.js.core.index.JSFileIndexingParticipant.index(JSFileIndexingParticipant.java:105)
    37 frames
  4. com.aptana.core
    UnifiedBuilder.build
    1. com.aptana.core.internal.build.IndexBuildParticipant.buildFile(IndexBuildParticipant.java:132)
    2. com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72)
    3. com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:614)
    4. com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:525)
    5. com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:497)
    6. com.aptana.core.build.UnifiedBuilder.incrementalBuild(UnifiedBuilder.java:263)
    7. com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:197)
    7 frames
  5. Core Resource Management
    BuildManager$2.run
    1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
    1 frame
  6. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  7. Core Resource Management
    BuildManager$1.run
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
    2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
    3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
    3 frames
  8. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  9. Core Resource Management
    Project.build
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
    2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
    3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:401)
    4. org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
    5. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    6. org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
    7. org.eclipse.core.internal.resources.Project.build(Project.java:114)
    7 frames
  10. Debug Core
    LaunchConfigurationDelegate$1.run
    1. org.eclipse.debug.core.model.LaunchConfigurationDelegate$1.run(LaunchConfigurationDelegate.java:430)
    1 frame
  11. Core Resource Management
    Workspace.run
    1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    2. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
    2 frames
  12. Debug Core
    LaunchConfiguration.launch
    1. org.eclipse.debug.core.model.LaunchConfigurationDelegate.buildProjects(LaunchConfigurationDelegate.java:437)
    2. org.eclipse.debug.core.model.LaunchConfigurationDelegate.buildForLaunch(LaunchConfigurationDelegate.java:130)
    3. org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
    4. org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
    4 frames
  13. org.eclipse.debug
    DebugUIPlugin$8.run
    1. org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
    2. org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
    2 frames
  14. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame