Unable to start plugin using MyEclipse 8.0

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ewinston
Posts: 7
Joined: Thu Feb 05, 2004 7:10 pm

Unable to start plugin using MyEclipse 8.0

Post by ewinston »

I have installed via pulse the OxygenXML 11.2 plugin. After this install, I get the following message when attempting to open an xml document :

Code: Select all


org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.oxygenxml.editor (176).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:125)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.core.internal.content.ContentType.getDescriber(ContentType.java:271)
at org.eclipse.core.internal.content.ContentTypeCatalog.collectMatchingByContents(ContentTypeCatalog.java:183)
at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:359)
at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:406)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:303)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:317)
at org.eclipse.core.internal.content.ContentTypeMatcher.getDescriptionFor(ContentTypeMatcher.java:86)
at org.eclipse.emf.ecore.resource.impl.PlatformContentHandlerImpl.contentDescription(PlatformContentHandlerImpl.java:92)
at org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.contentDescription(URIHandlerImpl.java:267)
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.contentDescription(ExtensibleURIConverterImpl.java:313)
at org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl.getContentTypeIdentifier(ResourceFactoryRegistryImpl.java:164)
at org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl.getFactory(ResourceFactoryRegistryImpl.java:130)
at org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl.getFactory(ResourceFactoryRegistryImpl.java:75)
at org.eclipse.wst.common.internal.emf.utilities.DefaultOverridableResourceFactoryRegistry.delegatedGetFactory(DefaultOverridableResourceFactoryRegistry.java:73)
at org.eclipse.jst.j2ee.common.internal.impl.J2EEResourceFactoryRegistry.delegatedGetFactory(J2EEResourceFactoryRegistry.java:27)
at org.eclipse.wst.common.internal.emf.utilities.DefaultOverridableResourceFactoryRegistry.getFactory(DefaultOverridableResourceFactoryRegistry.java:53)
at org.eclipse.wst.common.internal.emf.resource.FileNameResourceFactoryRegistry.getFactory(FileNameResourceFactoryRegistry.java:64)
at org.eclipse.wst.common.internal.emf.resource.FileNameResourceFactoryRegistry.getFactory(FileNameResourceFactoryRegistry.java:50)
at org.eclipse.jst.j2ee.internal.J2EEInit.initResourceFactories(J2EEInit.java:247)
at org.eclipse.jst.j2ee.internal.J2EEInit.init(J2EEInit.java:101)
at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit.invokePrereqInits(ArchiveInit.java:65)
at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit.init(ArchiveInit.java:38)
at org.eclipse.jst.j2ee.internal.plugin.J2EEPlugin.start(J2EEPlugin.java:507)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.wst.common.componentcore.internal.util.ComponentImplManager$ComponentImplDescriptor$1.run(ComponentImplManager.java:227)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.wst.common.componentcore.internal.util.ComponentImplManager$ComponentImplDescriptor.createFactory(ComponentImplManager.java:220)
at org.eclipse.wst.common.componentcore.internal.util.ComponentImplManager.getComponentImplFactory(ComponentImplManager.java:87)
at org.eclipse.wst.common.componentcore.internal.util.ComponentImplManager.findFactoryForProject(ComponentImplManager.java:125)
at org.eclipse.wst.common.componentcore.internal.util.ComponentImplManager.createComponent(ComponentImplManager.java:159)
at org.eclipse.wst.common.componentcore.ComponentCore.createComponent(ComponentCore.java:63)
at org.eclipse.jst.common.jdt.internal.classpath.FlexibleProjectContainer.computeClasspathEntries(FlexibleProjectContainer.java:174)
at org.eclipse.jst.common.jdt.internal.classpath.FlexibleProjectContainer.<init>(FlexibleProjectContainer.java:122)
at org.eclipse.jst.j2ee.internal.web.classpath.WebAppLibrariesContainer.<init>(WebAppLibrariesContainer.java:48)
at org.eclipse.jst.j2ee.internal.web.classpath.WebAppLibrariesContainerInitializer.initialize(WebAppLibrariesContainerInitializer.java:34)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2608)
at org.eclipse.jdt.internal.core.JavaModelManager$11.run(JavaModelManager.java:2514)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2554)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1773)
at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:3410)
at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:35)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.osgi.framework.BundleException: Exception in com.oxygenxml.editor.EditorPlugin.start() of bundle com.oxygenxml.editor.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
... 80 more
Caused by: org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.SWT.error(SWT.java:3770)
at org.eclipse.swt.widgets.Widget.error(Widget.java:450)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:261)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:356)
at org.eclipse.jface.window.Window.createShell(Window.java:487)
at org.eclipse.jface.window.Window.create(Window.java:430)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at com.oxygenxml.editor.J.HA.open(Unknown Source)
at com.oxygenxml.udc.A.A.ଚ(Unknown Source)
at com.oxygenxml.editor.C.A(Unknown Source)
at ro.sync.udc.A.F(Unknown Source)
at ro.sync.udc.A.A(Unknown Source)
at com.oxygenxml.editor.EditorPlugin$14.run(Unknown Source)
at com.oxygenxml.editor.EditorPlugin.executeAfterWorkbenchCreation(Unknown Source)
at com.oxygenxml.editor.EditorPlugin.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
... 85 more
Things were working fine with 11.1. And nothing else has changed other than the upgrade.

Thanks for any help.
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Unable to start plugin using MyEclipse 8.0

Post by adrian »

Hello,

Thank you for reporting the problem.
We are investigating it and we will provide a fix as soon as possible.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Unable to start plugin using MyEclipse 8.0

Post by adrian »

Hello,

@ewinston: A quick workaround for your problem is to delete the folder usageData from the com.oxygenxml options directory which depending on the operating system is located in:

Windows XP - [user-home-folder]/Application Data/com.oxygenxml
Windows Vista/7 - [user-home-folder]/AppData/Roaming/com.oxygenxml
Mac OS X - [user-home-folder]/Library/Preferences/com.oxygenxml
Linux - [user-home-folder]/.com.oxygenxml

Afterwards start MyEclipse, go to Help -> oXygen Improvement Program Options, select 'No, thank you' and press OK. This should disable the dialog that popped up causing the 'Invalid thread access'.

We will release a new build that addresses this problem very soon, hopefully today, and we will notify you on this thread.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Unable to start plugin using MyEclipse 8.0

Post by adrian »

I have split the topic. You can find the other messages related to the ZendStudio crash in:
ZendStudio crashes after upgrading to 11.2

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
ewinston
Posts: 7
Joined: Thu Feb 05, 2004 7:10 pm

Re: Unable to start plugin using MyEclipse 8.0

Post by ewinston »

Deleting that file seems to have fixed the problem. I can now open xml files again. I will try some other functions and restart MyEclipse a couple of times to insure that things are still okay.

Thanks!
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Unable to start plugin using MyEclipse 8.0

Post by adrian »

Hello,

The latest build(2010031913) should resolve the problems in MyEclipse:
http://www.oxygenxml.com/download_oxygenxml_editor.html

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
ewinston
Posts: 7
Joined: Thu Feb 05, 2004 7:10 pm

Re: Unable to start plugin using MyEclipse 8.0

Post by ewinston »

I have upgraded and while I can open files, I still need to delete the usageData directory before doing anything otherwise MyEclipse crashes when I try to open a file handled by the plugin.

I am using MyEclipse 8.0 on Linux X86 and the Sun JDK 1.6.

I will verify that this is actually happening. I have changed my startup script to automatically delete the usageData directory prior to starting to work around the problem.

Thanks,
Edward
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Unable to start plugin using MyEclipse 8.0

Post by adrian »

We have made yet another build of Oxygen(2010032411) that fixes a deadlock at plugin initialization time and a crash caused by the new spell checker(Hunspell) in Linux OSs:

Download from:
http://www.oxygenxml.com/download_oxygenxml_editor.html

Install in Eclipse from:
http://www.oxygenxml.com/InstData/Edito ... e/site.xml

Or simply Check for Updates from Eclipse/Zend Studio if you have installed Oxygen from the update site.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply