Community
Participate
Working Groups
Build 20051014 Linux-GTK I have no idea if my steps are relevent, but here's what I did: 1. Created a new plug-in project with defaults selected except I turned off the bit about referencing the UI. 2. Went to the Extensions tab and defined a new application extension. 3. Created my new IPlatformRunnable (switched to Java editor and wrote some code). 4. Came back to the Plug-in Manifest Editor and saved. 5. Clicked the "Dependencies" tab. My CPU got pegged for a few seconds and then the tab failed to realize (the content is just a gray box). The same thing happens now everytime I click on the Overview, Dependencies, Runtime, Extension Points, or Build tabs but the other tabs are fine. The following exception was logged: java.lang.IllegalArgumentException: Widget has the wrong parent at org.eclipse.swt.SWT.error(SWT.java:3246) at org.eclipse.swt.SWT.error(SWT.java:3185) at org.eclipse.swt.SWT.error(SWT.java:3156) at org.eclipse.swt.widgets.Widget.error(Widget.java:420) at org.eclipse.swt.widgets.Control.setMenu(Control.java:2830) at org.eclipse.ui.forms.widgets.ScrolledForm.<init>(ScrolledForm.java:54) at org.eclipse.ui.forms.widgets.FormToolkit.createScrolledForm(FormToolkit.java:597) at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:147) at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:444) at org.eclipse.pde.internal.ui.editor.PDEFormEditor.pageChange(PDEFormEditor.java:234) at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:200) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1051) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1075) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:912) at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3178) at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1962) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:294) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1051) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2942) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2630) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1763) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1727) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:371) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:375) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
Note that the editor appears fine after closing and reopening.
Janek, could you please look into it. I suspect it may be a bug in Forms or Platform/UI, as we have not done work in this area recently. In which case, forward to Platform/UI.
It seems like it is coming from Platform/UI, can't find any traces of problems on the PDE end. Forwarding ...
Is this still a problem in 3.3? PW
This bug was forward to Platform-UI for investigation. Was it investigated?
No, and is unlikely to be investigated in the 3.3 timeframe. PW
interest. PW
It seems to have been a transient state, cannot reproduce. PW
I have the same problem with Eclipse 3.3.0 Build id: I20070625-1500. Just upgraded from eclipse 3.2 to 3.3 (WTP all in one), reinstalled all plugins (BIRT, subversion). Patched against gtk/cups bug with -Dorg.eclipse.swt.internal.gtk.disablePrinters and -XX:MaxPermSize=96m The system worked fine for about two hours, then started complaining about wrong parent when switching tabs (Properties, Data Explorer, Palette and so on). Cannot find any special condition that may cause the problem. I closed and reopened eclipse and repeated almost exactly the operations I was doing before the error appeared (I was using BIRT, new report, new scripted data source, new dataset) but eclipse works fine now, no error dialogs. See stacktrace and other info below. Thanks, gv uname -a Linux sottosviluppo 2.6.20.3 #1 SMP Wed Mar 14 10:31:33 CET 2007 i686 GNU/Linux libgtk2.0-bin version 2.10.6-0ubuntu3.1 java version "1.5.0_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03) Java HotSpot(TM) Server VM (build 1.5.0_09-b03, mixed mode) extract from stacktrace: java.lang.IllegalArgumentException: Widget has the wrong parent at org.eclipse.swt.SWT.error(SWT.java:3547) at org.eclipse.swt.SWT.error(SWT.java:3481) at org.eclipse.swt.SWT.error(SWT.java:3452) at org.eclipse.swt.widgets.Widget.error(Widget.java:438) at org.eclipse.swt.widgets.Composite.setTabList(Composite.java:1277) at org.eclipse.ui.internal.WorkbenchPage.updateTabList(WorkbenchPage.java:3858) at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:3851) at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:617) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:857) at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:609) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3380) at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2928) at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265) at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:229) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1125) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1106) at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1142) at org.eclipse.swt.widgets.Control.gtk_button_press_event(Control.java:2353) at org.eclipse.swt.widgets.Composite.gtk_button_press_event(Composite.java:627) at org.eclipse.swt.widgets.Tree.gtk_button_press_event(Tree.java:1769) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1474) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4234) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3973) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5593) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1192) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1487) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2969) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
Reproduced in 3.3 PW
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.