Project: appceleratorstudio
Issue TISTUD-2026: Widget is disposed in WizardNewRedHatProjectCreationPage.getProjectName()
Edge case, but I believe it happened because I had an indexing job running in the background as I was trying to create a project. I kept pressing the "Finish" button but nothing would happen. {code} !ENTRY org.eclipse.ui 4 0 2012-07-30 19:35:15.883 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTException: Widget is disposed org.eclipse.swt.SWT.error(SWT.java:4282) org.eclipse.swt.SWT.error(SWT.java:4197) org.eclipse.swt.SWT.error(SWT.java:4168) org.eclipse.swt.widgets.Widget.error(Widget.java:774) org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:568) org.eclipse.swt.widgets.Text.getText(Text.java:1113) com.appcelerator.titanium.openshift.wizard.WizardNewRedHatProjectCreationPage.getProjectName(WizardNewRedHatProjectCreationPage.java:443) com.appcelerator.titanium.openshift.wizard.WizardNewRedHatProjectCreationPage.getProjectRemoteURL(WizardNewRedHatProjectCreationPage.java:430) com.appcelerator.titanium.openshift.wizard.AbstractNewRedHatProjectWizard.performFinish(AbstractNewRedHatProjectWizard.java:214) org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827) org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432) org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613) org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:123) org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled(EventLoopProgressMonitor.java:97) org.eclipse.core.internal.jobs.ThreadJob.isCanceled(ThreadJob.java:146) org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:235) org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:199) org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:92) org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:286) org.eclipse.team.core.RepositoryProvider.map(RepositoryProvider.java:94) com.aptana.git.core.model.GitRepositoryManager.attachExisting(GitRepositoryManager.java:211) com.aptana.git.core.model.GitRepositoryManager.createOrAttach(GitRepositoryManager.java:314) com.appcelerator.titanium.openshift.wizard.AbstractNewRedHatProjectWizard.performFinish(AbstractNewRedHatProjectWizard.java:196) org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827) org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432) org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613) org.eclipse.jface.window.Window.runEventLoop(Window.java:825) org.eclipse.jface.window.Window.open(Window.java:801) org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:117) org.eclipse.jface.action.Action.runWithEvent(Action.java:498) org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 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:344) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:622) org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) org.eclipse.equinox.launcher.Main.run(Main.java:1410) {code}
Story points: 3