Bug 321 - Internal Error when adding an extension point (1GJP22U)
Summary: Internal Error when adding an extension point (1GJP22U)
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 21:40 EDT by Tod Creasey CLA
Modified: 2001-12-02 17:13 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2001-10-10 21:40:06 EDT
When I tried to add an extension point to a plugin I was defining I got
"Internal Error - Widget is disposed"

STEPS
	1) Create a PDE project
	2) Open the plugin.xml
	3) Select the extension points tab
	4) add an extension point for org.eclipse.ui.preferencePages
	5) Hit OK

Exception

org.eclipse.swt.SWTException: Invalid thread access
	at org.eclipse.swt.SWT.error(SWT.java:1708)
	at org.eclipse.swt.SWT.error(SWT.java:1642)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:368)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Composite.getChildren(Composite.java(Compiled Code))
	at org.eclipse.pde.internal.editor.manifest.AlertSection.update(AlertSection.java:259)
	at org.eclipse.pde.internal.editor.manifest.AlertSection.resourceChanged(AlertSection.java:251)
	at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:122)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:758)
	at org.eclipse.core.runtime.Platform.run(Platform.java:393)
	at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:137)
	at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:42)
	at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:62)
	at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:111)
	at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java(Compiled Code))
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1202)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:78)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:98)


NOTES:
Comment 1 DJ Houghton CLA 2001-10-24 07:08:45 EDT
PRODUCT VERSION: build 135
 

Comment 2 Rodrigo Peretti CLA 2001-11-20 18:51:18 EST
Moving to PDE UI.
Comment 3 Dejan Glozic CLA 2001-12-02 17:13:18 EST
This is fixed by moving AlertSection update code into asyncExec block
(thread-safe).