Community
Participate
Working Groups
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)
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.
What is the newest build you tried it with?
Fixed in GM3.
New Gerrit change created: https://git.eclipse.org/r/c/osee/org.eclipse.osee/+/191270
Gerrit change https://git.eclipse.org/r/c/osee/org.eclipse.osee/+/191270 was merged to [dev]. Commit: http://git.eclipse.org/c/osee/org.eclipse.osee.git/commit/?id=ac6821a0e80b90cbb844c99dcc373ceece816143