Details

    • Story Points:
      3

      Description

      This is a regression.

      Test Steps:
      1. Uninstall Xcode or move Xcode to a directory in which the CLI cannot pick up
      2. Launch Studio with a new workspace
      3. Wait untill Studio loads.

      Actual Result:
      NPE occurs.

       
       
      !ENTRY org.eclipse.e4.ui.css.core 4 0 2014-04-16 10:13:06.457
      !MESSAGE CSS property 'maximize-visible' has been deprecated: renamed as swt-maximize-visible
       
      !ENTRY org.eclipse.e4.ui.css.core 4 0 2014-04-16 10:13:06.458
      !MESSAGE CSS property 'minimize-visible' has been deprecated: renamed as swt-minimize-visible
       
      !ENTRY org.eclipse.ui 4 4 2014-04-16 10:13:33.613
      !MESSAGE An internal error has occurred.
      !STACK 0
      java.lang.NullPointerException
      	at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.defaultSDKPath(IOSSDKConfigurer.java:51)
      	at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.createAdvancedSettingsComposite(IOSSDKConfigurer.java:59)
      	at com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.<init>(BasePlatformConfigurationComposite.java:322)
      	at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.<init>(IOSSDKConfigurer.java:41)
      	at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.<init>(IOSSDKConfigurer.java:39)
      	at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer.doCreateComposite(IOSSDKConfigurer.java:141)
      	at com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.createConfigurationContents(BaseMobilePlatformConfigurer.java:122)
      	at com.appcelerator.titanium.ui.wizard.PlatformsListConfigurationPage.createConfigurationContents(PlatformsListConfigurationPage.java:181)
      	at com.appcelerator.titanium.ui.wizard.PlatformsListConfigurationPage.createControl(PlatformsListConfigurationPage.java:155)
      	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
      	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
      	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608)
      	at org.eclipse.jface.window.Window.create(Window.java:432)
      	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
      	at com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:48)
      	at com.appcelerator.titanium.ui.TitaniumUIPlugin$6.runInUIThread(TitaniumUIPlugin.java:425)
      	at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3976)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3653)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
       
      
      

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              dpandey Deepti Pandey
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: