Project: appceleratorstudio
Issue TISTUD-2988: NPE: An internal error occurred during: "Launching Titanium iOS on Device - [project name]"
When trying to debug on device for IOS I get the following error when testing in Titanium Studio, build: 3.0.1.201212051858: {code} !ENTRY org.eclipse.core.jobs 4 2 2012-12-06 09:12:44.737 !MESSAGE An internal error occurred during: "Launching Titanium iOS on Device - Test_Mac". !STACK 0 java.lang.NullPointerException com.appcelerator.titanium.mobile.cli.nodejs.IOSNodeJSCommandsHelper.build(IOSNodeJSCommandsHelper.java:143) com.appcelerator.titanium.mobile.cli.nodejs.IOSNodeJSCommandsHelper.installOnDevice(IOSNodeJSCommandsHelper.java:113) com.appcelerator.titanium.mobile.cli.IOSCommandsHelper.runOnDevice(IOSCommandsHelper.java:135) com.appcelerator.titanium.mobile.cli.nodejs.NodeTitaniumSDKCommandsHandler.run(NodeTitaniumSDKCommandsHandler.java:442) com.appcelerator.titanium.mobile.ui.iphone.launch.IOSDebugOnDeviceLaunchConfigurationDelegate.launch(IOSDebugOnDeviceLaunchConfigurationDelegate.java:47) org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937) org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} This is a regression as it does not happen in 3.0.0. Steps to reproduce: 1. Create a standard Titanium project. 2. Debug on device. 3. Click finish. Expected result: Debugging begins to build for device and steps the user through the process. Actual result: Above NPE is thrown. Error detection fails to close the Debug on Device session.
Story points: 5