Project: appceleratorstudio
Issue TISTUD-6336: NPE after first launch of Studio
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. {code} !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 com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.defaultSDKPath(IOSSDKConfigurer.java:51) com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.createAdvancedSettingsComposite(IOSSDKConfigurer.java:59) com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.(BasePlatformConfigurationComposite.java:322) com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.(IOSSDKConfigurer.java:41) com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.(IOSSDKConfigurer.java:39) com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer.doCreateComposite(IOSSDKConfigurer.java:141) com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.createConfigurationContents(BaseMobilePlatformConfigurer.java:122) com.appcelerator.titanium.ui.wizard.PlatformsListConfigurationPage.createConfigurationContents(PlatformsListConfigurationPage.java:181) com.appcelerator.titanium.ui.wizard.PlatformsListConfigurationPage.createControl(PlatformsListConfigurationPage.java:155) org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174) org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736) org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608) org.eclipse.jface.window.Window.create(Window.java:432) org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104) com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:48) com.appcelerator.titanium.ui.TitaniumUIPlugin$6.runInUIThread(TitaniumUIPlugin.java:425) org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3976) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3653) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140) org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) org.eclipse.equinox.launcher.Main.run(Main.java:1450) {code}
Story points: 3