org.eclipse.swt.SWTException: Invalid thread access

<oXygen/> general issues.
hamsta
Posts: 4

org.eclipse.swt.SWTException: Invalid thread access

Sun Nov 20, 2005 1:59 pm

org.eclipse.swt.SWTException: Invalid thread access at com.oxygenxml.editor.license.B.A(Unknown Source)

Seems to be an easy fixable problem.

Code: Select all

org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.compatibility.PluginActivator.start() of bundle com.oxygenxml.editor.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:255)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:116)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1235)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
at org.eclipse.core.internal.content.ContentType.getDescriber(ContentType.java:271)
at org.eclipse.core.internal.content.ContentTypeCatalog.collectMatchingByContents(ContentTypeCatalog.java:185)
at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:361)
at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:396)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:305)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:319)
at org.eclipse.core.internal.content.ContentTypeMatcher.getDescriptionFor(ContentTypeMatcher.java:87)
at org.eclipse.core.internal.resources.ContentDescriptionManager.readDescription(ContentDescriptionManager.java:400)
at org.eclipse.core.internal.resources.ContentDescriptionManager.getDescriptionFor(ContentDescriptionManager.java:309)
at org.eclipse.core.internal.resources.File.getContentDescription(File.java:271)
at org.eclipse.core.internal.filebuffers.TextFileBufferManager.isTextFileLocation(TextFileBufferManager.java:163)
at org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect(TextFileBufferManager.java:103)
at org.eclipse.pde.internal.builders.XMLErrorReporter.<init>(XMLErrorReporter.java:68)
at org.eclipse.pde.internal.builders.ManifestErrorReporter.<init>(ManifestErrorReporter.java:30)
at org.eclipse.pde.internal.builders.ExtensionsErrorReporter.<init>(ExtensionsErrorReporter.java:61)
at org.eclipse.pde.internal.builders.ManifestConsistencyChecker.checkFile(ManifestConsistencyChecker.java:77)
at org.eclipse.pde.internal.builders.ManifestConsistencyChecker.checkThisProject(ManifestConsistencyChecker.java:44)
at org.eclipse.pde.internal.builders.ManifestConsistencyChecker.build(ManifestConsistencyChecker.java:33)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3262)
at org.eclipse.swt.SWT.error(SWT.java:3185)
at org.eclipse.swt.SWT.error(SWT.java:3156)
at org.eclipse.swt.widgets.Display.error(Display.java:971)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:631)
at org.eclipse.swt.widgets.Display.getActiveShell(Display.java:1103)
at com.oxygenxml.editor.license.B.A(Unknown Source)
at com.oxygenxml.editor.license.B.<init>(Unknown Source)
at com.oxygenxml.editor.license.B.A(Unknown Source)
at com.oxygenxml.editor.EditorPlugin.start(Unknown Source)
at org.eclipse.core.internal.compatibility.PluginActivator.start(PluginActivator.java:30)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
... 49 more
Root exception:
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3262)
at org.eclipse.swt.SWT.error(SWT.java:3185)
at org.eclipse.swt.SWT.error(SWT.java:3156)
at org.eclipse.swt.widgets.Display.error(Display.java:971)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:631)
at org.eclipse.swt.widgets.Display.getActiveShell(Display.java:1103)
at com.oxygenxml.editor.license.B.A(Unknown Source)
at com.oxygenxml.editor.license.B.<init>(Unknown Source)
at com.oxygenxml.editor.license.B.A(Unknown Source)
at com.oxygenxml.editor.EditorPlugin.start(Unknown Source)
at org.eclipse.core.internal.compatibility.PluginActivator.start(PluginActivator.java:30)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:255)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:116)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1235)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
at org.eclipse.core.internal.content.ContentType.getDescriber(ContentType.java:271)
at org.eclipse.core.internal.content.ContentTypeCatalog.collectMatchingByContents(ContentTypeCatalog.java:185)
at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:361)
at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:396)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:305)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:319)
at org.eclipse.core.internal.content.ContentTypeMatcher.getDescriptionFor(ContentTypeMatcher.java:87)
at org.eclipse.core.internal.resources.ContentDescriptionManager.readDescription(ContentDescriptionManager.java:400)
at org.eclipse.core.internal.resources.ContentDescriptionManager.getDescriptionFor(ContentDescriptionManager.java:309)
at org.eclipse.core.internal.resources.File.getContentDescription(File.java:271)
at org.eclipse.core.internal.filebuffers.TextFileBufferManager.isTextFileLocation(TextFileBufferManager.java:163)
at org.eclipse.core.internal.filebuffers.TextFileBufferManager.createFileBuffer(TextFileBufferManager.java:394)
at org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect(TextFileBufferManager.java:103)
at org.eclipse.pde.internal.builders.XMLErrorReporter.<init>(XMLErrorReporter.java:68)
at org.eclipse.pde.internal.builders.ManifestErrorReporter.<init>(ManifestErrorReporter.java:30)
at org.eclipse.pde.internal.builders.ExtensionsErrorReporter.<init>(ExtensionsErrorReporter.java:61)
at org.eclipse.pde.internal.builders.ManifestConsistencyChecker.checkFile(ManifestConsistencyChecker.java:77)
at org.eclipse.pde.internal.builders.ManifestConsistencyChecker.checkThisProject(ManifestConsistencyChecker.java:44)
at org.eclipse.pde.internal.builders.ManifestConsistencyChecker.build(ManifestConsistencyChecker.java:33)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
sorin_ristache
Posts: 4144

Mon Nov 21, 2005 12:18 pm

Hello,

Try this patched <oXygen/> plugin (the zip archive is here). First you have to uninstall the current version.

Regards,
Sorin

Return to “Other Issues”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest