java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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 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) {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.
    via by Clayton Headley,
  • 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 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) {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.
    via by Clayton Headley,
    • 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)
    No Bugmate found.