ClassCastException in Eclipse 3.0M

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

ClassCastException in Eclipse 3.0M

Post by Joel »

I am unable to open XSD files in Eclipse 3.0.M6 and 3.0M7. The stacktrace of the logs is below. Am I missing a dependent plugin? Thanks.


!ENTRY org.eclipse.core.runtime 4 2 Feb 18, 2004 10:53:57.779
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
!STACK 0
java.lang.ClassCastException
at com.oxygenxml.editor.editors.xml.OxygenXMLEditorActionBarContributor.k(Unknown Source)
at com.oxygenxml.editor.editors.xml.OxygenXMLEditorActionBarContributor.setActiveEditor(Unknown Source)
at org.eclipse.ui.internal.EditorActionBars.partChanged(EditorActionBars.java:200)
at org.eclipse.ui.internal.WorkbenchPage$2.run(WorkbenchPage.java:467)
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.WorkbenchPage.activatePart(WorkbenchPage.java:459)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2497)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:448)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2061)
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.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1955)
at org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:112)
at org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:84)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:271)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:509)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:461)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:408)
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)
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Joel,

Please make sure you open the schema with oXygen, select Open With -> Oxygen XSD Editor from the contextual menu (right click in Windows).

Best Regards,
George
Post Reply