Page 1 of 1

Error adding XML catalog using Oxygen XML 6.0 and 3.1 M7

Posted: Tue Jun 07, 2005 7:48 pm
by solomono
Hi
When I add an XML catalog from the preferences pane and hit the apply button, I get an window
displaying java.lang.ArrayStoreException.
when I look in the log i see the foloowing stack trace

java.lang.ClassCastException
at com.oxygenxml.editor.preferences.XMLCatalogPage$3.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
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:2921)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:66)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
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:2921)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
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)


also in the log are the folowing messages that probably ocurred at startup

!ENTRY org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Cannot bind to an undefined command: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.joinElement'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.prettyPrintElement'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.canonicalize'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.sign'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.verifySignature'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.selectElement'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.selectContent'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.selectAttributes'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.editor.debugScenario'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Cannot bind to an undefined command: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.debugger.pause'.
!SUBENTRY 1 org.eclipse.ui 2 0 2005-06-07 12:36:53.989
!MESSAGE Defining a key binding with no key sequence has no effect: plug-in='com.oxygenxml.editor', commandId='com.oxygenxml.debugger.run'.

The end result is that I can no longer validate my XML documents

Solomon

Posted: Tue Jun 07, 2005 8:02 pm
by solomono
Hi ,
I found a previous post and the information on the new build. I apologize for not checking for a similar problem first.

Solomon