Bug 135160 - [MPE] "SWTException: Widget is disposed" when removing an editor from MPE
Summary: [MPE] "SWTException: Widget is disposed" when removing an editor from MPE
Status: CLOSED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-04-05 17:31 EDT by Simon Archer CLA
Modified: 2009-08-30 02:09 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Archer CLA 2006-04-05 17:31:40 EDT
Using Eclipse 3.2/M6

Sorry for just posting a stack trace, I realize that this is not optimal, but I do not know specifics under which this happened.

org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:3374)
	at org.eclipse.swt.SWT.error(SWT.java:3297)
	at org.eclipse.swt.SWT.error(SWT.java:3268)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:432)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:327)
	at org.eclipse.swt.widgets.Widget.getData(Widget.java:485)
	at org.eclipse.ui.part.MultiPageEditorPart.getEditor(MultiPageEditorPart.java:417)
	at org.eclipse.ui.part.MultiPageEditorPart.removePage(MultiPageEditorPart.java:644)
	at org.eclipse.ui.forms.editor.FormEditor.removePage(FormEditor.java:359)
	at org.eclipse.pde.internal.ui.editor.plugin.ManifestEditor.updateFirstThreePages(ManifestEditor.java:314)
	at org.eclipse.pde.internal.ui.editor.plugin.ManifestEditor.contextAdded(ManifestEditor.java:300)
	at org.eclipse.pde.internal.ui.editor.context.InputContextManager.fireContextChange(InputContextManager.java:244)
	at org.eclipse.pde.internal.ui.editor.plugin.PluginInputContextManager.fireContextChange(PluginInputContextManager.java:55)
	at org.eclipse.pde.internal.ui.editor.context.InputContextManager.putContext(InputContextManager.java:126)
	at org.eclipse.pde.internal.ui.editor.plugin.ManifestEditor.monitoredFileAdded(ManifestEditor.java:221)
	at org.eclipse.pde.internal.ui.editor.context.InputContextManager.fireStructureChange(InputContextManager.java:235)
	at org.eclipse.pde.internal.ui.editor.context.InputContextManager.structureChanged(InputContextManager.java:206)
	at org.eclipse.pde.internal.ui.editor.context.InputContextManager.access$1(InputContextManager.java:200)
	at org.eclipse.pde.internal.ui.editor.context.InputContextManager$2.run(InputContextManager.java:195)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3323)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2969)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
	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:324)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 1 Wassim Melhem CLA 2006-04-26 00:49:27 EDT
This is a legitimate call to remove an existent page from the manifest editor.

Moving to platform/ui where the code is failing.

FYI, it appears as though this happened when the user had a 3.0 style plugin (ie. no manifest.mf) and pressed the link in the Content section of the Overview page of the editor to 'Create an OSGi bundle manifest).
Comment 2 Paul Webster CLA 2006-04-28 12:55:07 EDT
Simon, were there any other errors in the log?  This happens a lot when another action fails part way through.

PW
Comment 3 Simon Archer CLA 2006-04-28 13:13:59 EDT
Hm, I've not seen this one since moving to RC1, so perhaps it was exactly that, a side effect of some other gremlins.  Maybe we can close this for now.
Comment 4 Paul Webster CLA 2006-09-28 15:17:40 EDT
Is this still a problem in 3.3?

PW
Comment 5 Simon Archer CLA 2006-09-28 16:02:11 EDT
I have not seen this recently.
Comment 6 Paul Webster CLA 2006-09-28 20:08:17 EDT
Oh, this is a dup of another bug that PDE recently fixed.

PW
Comment 7 Denis Roy CLA 2009-08-30 02:09:09 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.