Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-2988

NPE: An internal error occurred during: "Launching Titanium iOS on Device - [project name]"

    Details

      Description

      When trying to debug on device for IOS I get the following error when testing in Titanium Studio, build: 3.0.1.201212051858:

      !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
      	at com.appcelerator.titanium.mobile.cli.nodejs.IOSNodeJSCommandsHelper.build(IOSNodeJSCommandsHelper.java:143)
      	at com.appcelerator.titanium.mobile.cli.nodejs.IOSNodeJSCommandsHelper.installOnDevice(IOSNodeJSCommandsHelper.java:113)
      	at com.appcelerator.titanium.mobile.cli.IOSCommandsHelper.runOnDevice(IOSCommandsHelper.java:135)
      	at com.appcelerator.titanium.mobile.cli.nodejs.NodeTitaniumSDKCommandsHandler.run(NodeTitaniumSDKCommandsHandler.java:442)
      	at com.appcelerator.titanium.mobile.ui.iphone.launch.IOSDebugOnDeviceLaunchConfigurationDelegate.launch(IOSDebugOnDeviceLaunchConfigurationDelegate.java:47)
      	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
      	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
      	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
      	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              sgibly Shalom Gibly
              Reporter:
              cheadley Clayton Headley
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: