Project: Eclipse_Platform_UI
Bug 64908 [Tasks] Task tag creation and locked workspace
Reported: 2004-06-01 06:36:36 | Status: verified fixed

RC1 - lock workspace - select some text in editor - execute edit->Task Tag observe: the workbench dialog pops up to create task tags - press OK observe: nothing happens - press Cancel You get the following exception in the log: !ENTRY org.eclipse.ui 4 0 Jun 01, 2004 12:32:42.886 !MESSAGE Widget is disposed !STACK 0 org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:2691) at org.eclipse.swt.SWT.error(SWT.java(Inlined Compiled Code)) at org.eclipse.swt.SWT.error(SWT.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Widget.error(Widget.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Control.getMonitor(Control.java:851) at org.eclipse.jface.window.Window.getInitialLocation(Window.java:473) at org.eclipse.jface.window.Window.initializeBounds(Window.java:615) at org.eclipse.jface.dialogs.Dialog.initializeBounds(Dialog.java:590) at org.eclipse.jface.window.Window.create(Window.java:351) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:925) at org.eclipse.jface.window.Window.open(Window.java:637) at org.eclipse.ui.internal.progress.BlockedJobsDialog$1.runInUIThread (BlockedJobsDialog.java:206) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java(Compiled Code)) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java(Compiled Code)) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java (Inlined Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop (EventLoopProgressMonitor.java(Compiled Code)) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled (EventLoopProgressMonitor.java:90) at org.eclipse.core.internal.jobs.ThreadJob.isCanceled (ThreadJob.java:116) at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:146) at org.eclipse.core.internal.jobs.ImplicitJobs.begin (ImplicitJobs.java:87) at org.eclipse.core.internal.jobs.JobManager.beginRule (JobManager.java:170) at org.eclipse.core.internal.resources.WorkManager.checkIn (WorkManager.java:95) at org.eclipse.core.internal.resources.Workspace.prepareOperation (Workspace.java:1628) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1668) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1693) at org.eclipse.ui.views.tasklist.TaskPropertiesDialog.saveChanges (TaskPropertiesDialog.java:514) at org.eclipse.ui.views.tasklist.TaskPropertiesDialog.okPressed (TaskPropertiesDialog.java:476) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:365) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java (Compiled Code)) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop (EventLoopProgressMonitor.java(Compiled Code)) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled (EventLoopProgressMonitor.java:90) at org.eclipse.core.internal.jobs.ThreadJob.isCanceled (ThreadJob.java:116) at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:146) at org.eclipse.core.internal.jobs.ImplicitJobs.begin (ImplicitJobs.java:87) at org.eclipse.core.internal.jobs.JobManager.beginRule (JobManager.java:170) at org.eclipse.core.internal.resources.WorkManager.checkIn (WorkManager.java:95) at org.eclipse.core.internal.resources.Workspace.prepareOperation (Workspace.java:1628) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1668) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1693) at org.eclipse.ui.views.tasklist.TaskPropertiesDialog.saveChanges (TaskPropertiesDialog.java:514) at org.eclipse.ui.views.tasklist.TaskPropertiesDialog.okPressed (TaskPropertiesDialog.java:476) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:365) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java (Compiled Code)) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop (EventLoopProgressMonitor.java(Compiled Code)) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled (EventLoopProgressMonitor.java:90) at org.eclipse.core.internal.jobs.ThreadJob.isCanceled (ThreadJob.java:116) at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:146) at org.eclipse.core.internal.jobs.ImplicitJobs.begin (ImplicitJobs.java:87) at org.eclipse.core.internal.jobs.JobManager.beginRule (JobManager.java:170) at org.eclipse.core.internal.resources.WorkManager.checkIn (WorkManager.java:95) at org.eclipse.core.internal.resources.Workspace.prepareOperation (Workspace.java:1628) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1668) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1693) at org.eclipse.ui.views.tasklist.TaskPropertiesDialog.saveChanges (TaskPropertiesDialog.java:514) at org.eclipse.ui.views.tasklist.TaskPropertiesDialog.okPressed (TaskPropertiesDialog.java:476) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:365) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java (Compiled Code)) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop (EventLoopProgressMonitor.java(Compiled Code)) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled (EventLoopProgressMonitor.java:90) at org.eclipse.core.internal.jobs.ThreadJob.isCanceled (ThreadJob.java:116) at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:146) at org.eclipse.core.internal.jobs.ImplicitJobs.begin (ImplicitJobs.java:87) at org.eclipse.core.internal.jobs.JobManager.beginRule (JobManager.java:170) at org.eclipse.core.internal.resources.WorkManager.checkIn (WorkManager.java:95) at org.eclipse.core.internal.resources.Workspace.prepareOperation (Workspace.java:1628) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1668) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1693) at org.eclipse.ui.views.tasklist.TaskPropertiesDialog.saveChanges (TaskPropertiesDialog.java:514) at org.eclipse.ui.views.tasklist.TaskPropertiesDialog.okPressed (TaskPropertiesDialog.java:476) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:365) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java (Compiled Code)) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop (EventLoopProgressMonitor.java(Compiled Code)) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled (EventLoopProgressMonitor.java:90) at org.eclipse.core.internal.jobs.ThreadJob.isCanceled (ThreadJob.java:116) at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:146) at org.eclipse.core.internal.jobs.ImplicitJobs.begin (ImplicitJobs.java:87) at org.eclipse.core.internal.jobs.JobManager.beginRule (JobManager.java:170) at org.eclipse.core.internal.resources.WorkManager.checkIn (WorkManager.java:95) at org.eclipse.core.internal.resources.Workspace.prepareOperation (Workspace.java:1628) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1668) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1693) at org.eclipse.ui.views.tasklist.TaskPropertiesDialog.saveChanges (TaskPropertiesDialog.java:514) at org.eclipse.ui.views.tasklist.TaskPropertiesDialog.okPressed (TaskPropertiesDialog.java:476) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:365) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java (Compiled Code)) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.jface.window.Window.runEventLoop(Window.java(Compiled Code)) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ui.texteditor.AddTaskAction.run(AddTaskAction.java:58) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.ui.actions.RetargetAction.runWithEvent (RetargetAction.java:212) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent (ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1334) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:253) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:334) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:638) at org.eclipse.core.launcher.Main.main(Main.java:622)

Files changed in fix:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerProperties.java