java.lang.NullPointerException: null

Appcelerator JIRA | Kondal Kolipaka | 1 year ago
  1. 0

    Sometimes Appcelerator Studio is throwing NPE while working on editor related actions. This is an intermittent issue and can't be reproduced. This causes painting issues on studio. This happens only in Mac OS X El Capitan version. Here is the related Eclipse bug. https://bugs.eclipse.org/bugs/show_bug.cgi?id=434393 Here is the NPE log: {code:java} The following data will be sent: ------ STATUS ------ pluginId org.eclipse.ui pluginVersion 3.106.1.v20141002-1150 code 0 severity 4 message Unhandled event loop exception fingerprint 3f4dc902 stacktrace Exception:java.lang.NullPointerException: null 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(OS.java:-2) 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(OS.java:-2) 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:936) 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(NativeMethodAccessorImpl.java:-2) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) ------ REPORT ------ name Kondal Kolipaka email kkolipaka@appcelerator.com comment productVersion 4.8.0.qualifier productName Appcelerator Studio javaRuntimeVersion 1.7.0_80-b15 osgiWs cocoa osgiOs MacOSX osgiOsVersion 10.11.4 osgiArch x86_64 {code}

    Appcelerator JIRA | 1 year ago | Kondal Kolipaka
    java.lang.NullPointerException: null
  2. 0

    Sometimes Appcelerator Studio is throwing NPE while working on editor related actions. This is an intermittent issue and can't be reproduced. This causes painting issues on studio. This happens only in Mac OS X El Capitan version. Here is the related Eclipse bug. https://bugs.eclipse.org/bugs/show_bug.cgi?id=434393 Here is the NPE log: {code:java} !ENTRY org.eclipse.ui 4 0 2015-11-04 12:19:35.916 !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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) {code}

    Appcelerator JIRA | 1 year ago | Kondal Kolipaka
    java.lang.NullPointerException
  3. 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.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.NullPointerException

    2 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.NullPointerException

      null

      at org.eclipse.swt.widgets.Control.internal_new_GC()
    2. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:2118)
      2. org.eclipse.swt.graphics.GC.cocoa_new(GC.java:207)
      3. org.eclipse.swt.widgets.Tree.sendMeasureItem(Tree.java:2613)
      4. org.eclipse.swt.widgets.Tree.cellSize(Tree.java:288)
      5. org.eclipse.swt.widgets.Display.windowProc(Display.java:5528)
      5 frames
    3. org.eclipse.swt
      OS.objc_msgSendSuper_stret
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper_stret(OS.java:-2)
      1 frame
    4. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.expansionFrameWithFrame_inView(Widget.java:798)
      2. org.eclipse.swt.widgets.Tree.expansionFrameWithFrame_inView(Tree.java:1283)
      3. org.eclipse.swt.widgets.Display.windowProc(Display.java:5907)
      3 frames
    5. org.eclipse.swt
      NSRunLoop.runMode
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(OS.java:-2)
      2. org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
      2 frames
    6. RWT
      Display.sleep
      1. org.eclipse.swt.widgets.Display.sleep(Display.java:4691)
      1 frame
    7. Workbench
      WorkbenchAdvisor.eventLoopIdle
      1. org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:368)
      1 frame
    8. com.appcelerator.titanium
      IDEWorkbenchAdvisor.eventLoopIdle
      1. com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:936)
      1 frame
    9. Eclipse UI
      Workbench$3.eventLoopIdle
      1. org.eclipse.ui.internal.Workbench$3.eventLoopIdle(Workbench.java:498)
      1 frame
    10. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1155)
      1 frame
    11. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    12. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      1 frame
    13. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      1 frame
    14. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      1 frame
    15. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    16. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      1 frame
    17. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    18. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)
      1 frame
    19. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    20. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    21. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    22. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      4 frames