Project: appceleratorstudio
Issue TISTUD-7653: Can't create modules(Android or IOS) from appc studio 4.1.1.201507141126
*Seeing this issue with:* * Appc CLI 4.1.2 with SDK 4.1.0.GA * Appc CLI 4.1.2 with latest master * Appc CLI 4.2.0-1 with 4.1.0.GA h5.Steps To Reproduce: 1. Using appc studio 4.1.1.201507141126 try to create a module(android or IOS). h5.Actual Results: 1. We can't create a module. 2. In studio logs we get: {code} !ENTRY org.eclipse.ui 4 0 2015-07-28 12:40:33.627 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException com.appcelerator.titanium.ui.ide.wizard.NewMobileModuleProjectCreationPage.validatePlatforms(NewMobileModuleProjectCreationPage.java:431) com.appcelerator.titanium.ui.ide.wizard.NewMobileModuleProjectCreationPage.createControl(NewMobileModuleProjectCreationPage.java:228) org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:178) org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759) org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622) org.eclipse.jface.window.Window.create(Window.java:435) org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101) org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:95) org.eclipse.jface.action.Action.runWithEvent(Action.java:519) org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:483) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) org.eclipse.equinox.launcher.Main.run(Main.java:1465) {code} h5.Expected Results: 1. We should be able to create modules(android & IOS) from appc studio.
Story points: 3