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

Launching iOS app with process logging on throws NPE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Titanium Studio 1.0.7
    • Fix Version/s: Titanium Studio 1.0.7
    • Component/s: iOS
    • Labels:
      None

      Description

      1. Create a new mobile iOS App
      2. Turn on process logging (Preferences > Studio > Troubleshooting > Specific components > Shell)
      3. Try and launch an iOS app. Get the following in your log file:

       
      !ENTRY org.eclipse.core.jobs 4 2 2011-10-24 14:07:11.321
      !MESSAGE An internal error occurred during: "Launching Titanium iPhone Simulator - testmobil".
      !STACK 0
      java.lang.NullPointerException
      	at com.aptana.core.util.ProcessUtil.doRun(ProcessUtil.java:297)
      	at com.aptana.core.util.ProcessUtil.run(ProcessUtil.java:265)
      	at com.aptana.core.util.ProcessUtil.run(ProcessUtil.java:227)
      	at com.aptana.core.util.ProcessUtil.run(ProcessUtil.java:246)
      	at com.appcelerator.titanium.core.TitaniumSDKTools.run(TitaniumSDKTools.java:47)
      	at com.appcelerator.titanium.mobile.iphone.launching.IOSSimulatorLaunchConfigurationDelegate.launch(IOSSimulatorLaunchConfigurationDelegate.java:112)
      	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:928)
      	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      Appears to only affect the release+ branch. workingDirectory can be null, so we get a NPE.

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              ingo Ingo Muschenetz
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: