Project: appceleratorstudio
Issue TISTUD-6037: After SDK update fails, cannot cancel the process
After encountering an error during the SDK configuration process (screenshot4.png) I was unable to cancel the studio process "Installing/Updating a Mobile SDK" (screenshot1.png). Even after waiting 5 minutes it did not cancel and needed a Studio restart to resolve. I spoke to [~mxia] about the issue and the reason you need to cancel the studio process is because after the update error in the SDK tool occurs, the only option you have is to "hide". Previously that button would have been "configure". Attached the studio and diagnostic logs. Let me know if I need to clarify. {code} !ENTRY com.appcelerator.titanium.update.core 4 2 2014-01-15 14:30:51.435 !MESSAGE Problems occurred when invoking code from plug-in: "com.appcelerator.titanium.update.core". !STACK 0 java.util.ConcurrentModificationException java.util.LinkedHashMap$LinkedHashIterator.remove(LinkedHashMap.java:364) com.appcelerator.titanium.update.core.TitaniumSDKUpdater.fireUpdateCompletedEvent(TitaniumSDKUpdater.java:795) com.appcelerator.titanium.update.core.TitaniumSDKUpdater.access$1(TitaniumSDKUpdater.java:787) com.appcelerator.titanium.update.core.TitaniumSDKUpdater$5.done(TitaniumSDKUpdater.java:875) org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) org.eclipse.core.internal.jobs.Worker.run(Worker.java:70) !ENTRY org.eclipse.ui 4 0 2014-01-15 15:07:34.376 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException org.eclipse.jface.fieldassist.ControlDecoration.addControlListeners(ControlDecoration.java:602) org.eclipse.jface.fieldassist.ControlDecoration.(ControlDecoration.java:476) org.eclipse.jface.fieldassist.ControlDecoration.(ControlDecoration.java:428) com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.setError(BasePlatformConfigurationComposite.java:949) com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.validate(BasePlatformConfigurationComposite.java:924) com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite$1.widgetSelected(BasePlatformConfigurationComposite.java:228) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651) org.eclipse.jface.window.Window.runEventLoop(Window.java:826) org.eclipse.jface.window.Window.open(Window.java:802) com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:50) com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:79) com.appcelerator.titanium.ui.portal.processor.MobileSDKConfigurationProcessor$1.run(MobileSDKConfigurationProcessor.java:126) {code}
Story points: 5