Bug 20148 - invalid thread access on 'create plugin JARs'
Summary: invalid thread access on 'create plugin JARs'
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords: readme
Depends on: 20323
Blocks:
  Show dependency tree
 
Reported: 2002-06-13 08:44 EDT by Adam Kiezun CLA
Modified: 2022-03-01 12:16 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 Adam Kiezun CLA 2002-06-13 08:44:50 EDT
F3
.make a plugin.xml file empty 
.select and run 'create plugin JARs'

org.eclipse.swt.SWTException: Invalid thread access
	at org.eclipse.swt.SWT.error(SWT.java:2117)
	at org.eclipse.swt.SWT.error(SWT.java:2049)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:368)
	at org.eclipse.swt.widgets.Shell.<init>(Shell.java:232)
	at org.eclipse.swt.widgets.Shell.<init>(Shell.java:310)
	at org.eclipse.jface.window.Window.createShell(Window.java:310)
	at org.eclipse.jface.window.Window.create(Window.java:276)
	at org.eclipse.jface.window.Window.open(Window.java:526)
	at org.eclipse.jface.dialogs.MessageDialog.openError
(MessageDialog.java:318)
	at org.eclipse.pde.internal.ui.feature.BuildPluginAction.ensureValid
(BuildPluginAction.java:143)
	at org.eclipse.pde.internal.ui.feature.BuildPluginAction.doBuildPlugin
(BuildPluginAction.java:115)
	at org.eclipse.pde.internal.ui.feature.BuildPluginAction.access$0
(BuildPluginAction.java:112)
	at org.eclipse.pde.internal.ui.feature.BuildPluginAction$2.run
(BuildPluginAction.java:53)
	at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1361)
	at org.eclipse.pde.internal.ui.feature.BuildPluginAction$1.run
(BuildPluginAction.java:60)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:98)
Comment 1 Aldo Eisma CLA 2002-06-24 08:43:46 EDT
Apparently this problem has not been fixed yet, because I also get the invalid 
thread access when trying to build a plugin.

In my case the plugin.xml is valid.

It seems that the problem is that I have a "Local addition not under CVS 
control" in my plugin. After committing it to cvs I can create the plugin jar.

Apart from the invalid thread access error, I do not think ensureValid is 
supposed to reject a plugin that has a sverity:info task associated with it.
Comment 2 Dejan Glozic CLA 2002-06-24 09:09:55 EDT
What is the newest build you tried it with?
Comment 3 Dejan Glozic CLA 2002-06-25 19:37:00 EDT
Fixed in GM3.
Comment 4 Eclipse Genie CLA 2022-02-28 13:04:53 EST
New Gerrit change created: https://git.eclipse.org/r/c/osee/org.eclipse.osee/+/191270