Problems in Eclipse 3.1 M5

<oXygen/> general issues.
ksader
Posts: 6
Location: Geosynchronus Orbit

Problems in Eclipse 3.1 M5

Fri Apr 08, 2005 6:17 pm

I've got oxygen 5.0 installed just fine, but I run into issues opening .xml files. I'm running JDK 1.5.

It starts with a dialog that says
"Unable to create part"

After *that* useful message, I get the following stack trace in my .log

!ENTRY org.eclipse.ui.workbench 4 2 2005-04-08 10:26:30.297
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.createDatatypeValidatorFactory(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.IntegratedParserConfiguration.<init>(Unknown Source)
at org.apache.xerces.parsers.IntegratedParserConfiguration.<init>(Unknown Source)
at ro.sync.xml.parser.ParserCreator.newXRValid(Unknown Source)
at ro.sync.A.F.D.D.<init>(Unknown Source)
at ro.sync.A.F.M.A(Unknown Source)
at ro.sync.A.F.N.B(Unknown Source)
at com.oxygenxml.editor.editors.xml.XMLEditor.learnStructure(Unknown Source)
at com.oxygenxml.editor.editors.xml.XMLEditor.createPartControl(Unknown Source)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:148)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.ui.internal.PartPane.doCreateChildControl(PartPane.java:144)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:349)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:218)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1043)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1009)
at org.eclipse.ui.internal.EditorStack.setVisibleEditor(EditorStack.java:170)
at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:359)
at org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAreaHelper.java:283)
at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:794)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:780)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:903)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:654)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:640)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2312)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2244)
at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:2236)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2222)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2217)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:299)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:231)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:124)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:164)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:150)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:300)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:798)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:659)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:657)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:876)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:975)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268)
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)


any ideas, thanks,
Keith Sader
george
Site Admin
Posts: 2100

Fri Apr 08, 2005 7:26 pm

Hi Keith,

One observation: the latest version of oXygen is 5.1, not 5.0.
From the stack trace it seems a conflict with another Xerces. Please make sure you did not set Xerces as an endorsed library for the Java you use to run Eclipse.

Best Regards,
George
ksader
Posts: 6
Location: Geosynchronus Orbit

Fri Apr 08, 2005 8:43 pm

Sorry, I am running 5.1. That's the version that's plugged into eclipse.

I don't think I've set Xerces as an endorsed library. Where would I find that?

thanks,
Keith Sader.
george
Site Admin
Posts: 2100

Mon Apr 11, 2005 10:41 am

To find the endorsed folder go to Help->About Eclipse platform and choose the Configuration Details option. There look for the java.endorsed.dirs entry, its value points to the endorsed folder.

Best Regards,
George

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 4 guests