Project: Eclipse_Platform_UI
Bug 5993 Widget has the wrong parent
Reported: 2001-11-16 06:15:58 | Status: resolved fixed

Build 20011115 1. Open the Synchronize view 2. Undock it 3. Close it 4. Select a project and synchronize with team stream Observe: You get the following stack trace in the .log: Log: Fri Nov 16 12:26:08 CET 2001 2 org.eclipse.ui 2 Problems occurred when invoking code from plug-in: org.eclipse.ui. java.lang.IllegalArgumentException: Widget has the wrong parent at org.eclipse.swt.SWT.error(SWT.java:1863) at org.eclipse.swt.SWT.error(SWT.java:1809) at org.eclipse.swt.widgets.Widget.error(Widget.java:366) at org.eclipse.swt.widgets.Composite.setTabList(Composite.java:392) at org.eclipse.ui.internal.WorkbenchPage.updateTabList (WorkbenchPage.java:1548) at org.eclipse.ui.internal.WorkbenchPage.access$0 (WorkbenchPage.java:1543) at org.eclipse.ui.internal.WorkbenchPage$1.run(WorkbenchPage.java:122) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java(Compiled Code)) at org.eclipse.core.runtime.Platform.run(Platform.java(Compiled Code)) at org.eclipse.ui.internal.WorkbenchPage.activatePart (WorkbenchPage.java:116) at org.eclipse.ui.internal.WorkbenchPage.setActivePart (WorkbenchPage.java:1405) at org.eclipse.ui.internal.WorkbenchPage.activate (WorkbenchPage.java:106) at org.eclipse.ui.internal.WorkbenchPage.busyShowView (WorkbenchPage.java:333) at org.eclipse.ui.internal.WorkbenchPage.access$11 (WorkbenchPage.java:308) at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:1489) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56) at org.eclipse.ui.internal.WorkbenchPage.showView (WorkbenchPage.java:1486) at org.eclipse.ui.internal.WorkbenchPage.showView (WorkbenchPage.java:1476) at org.eclipse.vcm.internal.ui.sync.SyncView.findInActivePerspective (SyncView.java:119) at org.eclipse.vcm.internal.ui.sync.SyncAction.run(SyncAction.java:112) at org.eclipse.ui.internal.PluginAction.run(PluginAction.java:125) at org.eclipse.jface.action.Action.runWithEvent(Action.java:453) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent (ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0 (ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java:47) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(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.run(Workbench.java:712) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:820) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:502) at org.eclipse.core.launcher.UIMain.main(UIMain.java:52)

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java