3.0M6 problem: cannot load XMLEditor/XSLEditor, etc.

Having trouble installing Oxygen? Got a bug to report? Post it all here.

Do you use standalone Oxygen or the Eclipse plugin?

Standalone
2
67%
Eclipse Plugin
1
33%
Cowboy Neal's Emacs plugin in secret development
0
No votes
 
Total votes: 3

nihilo
Posts: 31
Joined: Wed Jun 04, 2003 2:24 am

3.0M6 problem: cannot load XMLEditor/XSLEditor, etc.

Post by nihilo »

I've followed the instructions for 3.0M6 (download, unzip to plugins, cp appropriate jars to endorsed dir, restart), but when I try to open a file from within eclipse that should call oxygen, I get an error message like the following:

Unable to instantiate editor: com.oxygenxml.editor.editors.xsl.XSLEditor org.eclipse.core.runtime.CoreException: Plug-in com.oxygenxml.editor was unable to load class com.oxygenxml.editor.editors.xsl.XSLEditor

If I try to open an xml file, I get a similar error message about the xml editor.

The log message seems to indicate some kind of a version conflict:

!ENTRY org.eclipse.core.runtime 4 2 Jan 25, 2004 19:53:46.19
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
!STACK 1
org.eclipse.core.runtime.CoreException[1]: org.osgi.framework.BundleException: The bundle could not be resolved. Reason: probably another version has been chosen
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:445)
at org.eclipse.osgi.framework.internal.core.Bundle.start(Bundle.java:328)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:133)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:125)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:114)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:160)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:157)
at org.eclipse.ui.internal.EditorManager$3.run(EditorManager.java:638)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
at org.eclipse.core.runtime.Platform.run(Platform.java:457)
at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:636)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:623)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:433)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:421)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2047)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:1990)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:1977)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1972)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:265)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:96)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:94)
at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:111)
at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:300)
at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:624)
at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:388)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:406)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
at org.eclipse.core.runtime.Platform.run(Platform.java:457)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:404)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:614)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:703)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:209)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:204)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:233)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:967)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1845)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1625)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1506)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)
!ENTRY org.eclipse.core.runtime 4 1 Jan 25, 2004 19:53:46.23
!MESSAGE Plug-in com.oxygenxml.editor was unable to load class com.oxygenxml.editor.editors.xsl.XSLEditor.
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: probably another version has been chosen
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:445)
at org.eclipse.osgi.framework.internal.core.Bundle.start(Bundle.java:328)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:133)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:125)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:114)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:160)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:157)
at org.eclipse.ui.internal.EditorManager$3.run(EditorManager.java:638)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
at org.eclipse.core.runtime.Platform.run(Platform.java:457)
at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:636)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:623)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:433)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:421)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2047)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:1990)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:1977)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1972)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:265)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:96)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:94)
at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:111)
at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:300)
at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:624)
at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:388)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:406)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
at org.eclipse.core.runtime.Platform.run(Platform.java:457)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:404)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:614)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:703)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:209)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:204)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:233)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:967)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1845)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1625)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1506)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)
!SUBENTRY 1 org.eclipse.core.runtime 4 1 Jan 25, 2004 19:53:46.25
!MESSAGE Plug-in com.oxygenxml.editor was unable to load class com.oxygenxml.editor.editors.xsl.XSLEditor.
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: probably another version has been chosen
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:445)
at org.eclipse.osgi.framework.internal.core.Bundle.start(Bundle.java:328)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:133)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:125)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:114)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:160)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:157)
at org.eclipse.ui.internal.EditorManager$3.run(EditorManager.java:638)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
at org.eclipse.core.runtime.Platform.run(Platform.java:457)
at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:636)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:623)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:433)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:421)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2047)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:1990)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:1977)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1972)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:265)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:96)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:94)
at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:111)
at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:300)
at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:624)
at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:388)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:406)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
at org.eclipse.core.runtime.Platform.run(Platform.java:457)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:404)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:614)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:703)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:209)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:204)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:233)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:967)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1845)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1625)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1506)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)


Any idea what's going on here?

My Eclipse build is 3.0M6 (Build id: 200312182000).

thanks...
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

Please delete the .config from eclipse directory and (re)start eclipse. This is a known problem in Eclipse 3.0 M6 and everybody expects it to be fixed soon.

BTW I would add another option to your pool: Both the Standalone version and the Eclipse Plugin.

Best Regards,
George
nihilo
Posts: 31
Joined: Wed Jun 04, 2003 2:24 am

success

Post by nihilo »

george wrote:Hi,

Please delete the .config from eclipse directory and (re)start eclipse. This is a known problem in Eclipse 3.0 M6 and everybody expects it to be fixed soon.

BTW I would add another option to your pool: Both the Standalone version and the Eclipse Plugin.

Best Regards,
George
Thanks so much for the quick response! Deleting the .config directory fixed it, and all is working well. The new version looks great.

I probably should have made the poll clearer. I was trying to find out which version people use *primarily*, but you're right that many, perhaps most, of us use both the standalone and the plugin version. I prefer to use the plugin, because Eclipse provides so many other useful things that I use regularly (CVS, Ant, Java dev environment, etc.), but the standalone does have some nice things that the plugin doesn't, at least it used to (setting line width to 1000 and doing soft indent used to be possible only with standalone, but I see the plugin does this too now).

Btw, I just checked out the latest release a bit, after not using Oxygen much for a little while now (doing mostly non-xml stuff), and I have to say you guys continue to make incredible improvements -- unlike some products (with spy in the name) you introduce only extremely useful new features and are constantly improving the ones that are there.

Congratulations on such an awesome product!!
Post Reply