Home » Archived » XML Schema Definition (XSD) » schema loading problems
schema loading problems [message #40905] |
Sun, 11 April 2004 22:13 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
i have downloaded the new emf, emf-xsd-sdo-SDK-I200404080727, and the
new eclipse sdk, eclipse-SDK-I20040407-linux-gtk. the new emf and the
older emf, emf-xsd-sdo-SDK-I200403250631, both run fine with m8,
eclipse-SDK-I20040326-linux-gtk (the first two configurations below).
neither the new emf nor the older emf allow me to load the same xsd
files (no details available, just the red x) when run with the new
eclipse, eclipse-SDK-I20040407-linux-gtk, (the second two
configurations below).
thank you
norwood sisson
cd $HOME/m8
unzip -q eclipse-SDK-I20040326-linux-gtk
unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
unzip -q GEF-SDK-I20040401 -d eclipse
unzip -q GEF-examples-I20040401 -d eclipse
cd eclipse
pwd
../eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
cd $HOME/m8
unzip -q eclipse-SDK-I20040326-linux-gtk
unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
unzip -q GEF-SDK-I20040408 -d eclipse
unzip -q GEF-examples-I20040408 -d eclipse
cd eclipse
pwd
../eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
cd $HOME/m8
unzip -q eclipse-SDK-I20040407-linux-gtk
unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
unzip -q GEF-SDK-I20040401 -d eclipse
unzip -q GEF-examples-I20040401 -d eclipse
cd eclipse
pwd
../eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
cd $HOME/m8
unzip -q eclipse-SDK-I20040407-linux-gtk
unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
unzip -q GEF-SDK-I20040408 -d eclipse
unzip -q GEF-examples-I20040408 -d eclipse
cd eclipse
pwd
../eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
|
|
|
Re: schema loading problems [message #41032 is a reply to message #40905] |
Mon, 12 April 2004 11:09 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Hi,
We've only tested against M8. Does it work for that latest Eclipse
Window's integration driver, but not with the one for Linux? Have you
checked the workspace/.metadata/.log for clues?
user@domain.invalid wrote:
> i have downloaded the new emf, emf-xsd-sdo-SDK-I200404080727, and the
> new eclipse sdk, eclipse-SDK-I20040407-linux-gtk. the new emf and the
> older emf, emf-xsd-sdo-SDK-I200403250631, both run fine with m8,
> eclipse-SDK-I20040326-linux-gtk (the first two configurations below).
> neither the new emf nor the older emf allow me to load the same xsd
> files (no details available, just the red x) when run with the new
> eclipse, eclipse-SDK-I20040407-linux-gtk, (the second two
> configurations below).
>
> thank you
> norwood sisson
>
> cd $HOME/m8
> unzip -q eclipse-SDK-I20040326-linux-gtk
> unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
> unzip -q GEF-SDK-I20040401 -d eclipse
> unzip -q GEF-examples-I20040401 -d eclipse
> cd eclipse
> pwd
> ./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>
> cd $HOME/m8
> unzip -q eclipse-SDK-I20040326-linux-gtk
> unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
> unzip -q GEF-SDK-I20040408 -d eclipse
> unzip -q GEF-examples-I20040408 -d eclipse
> cd eclipse
> pwd
> ./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>
> cd $HOME/m8
> unzip -q eclipse-SDK-I20040407-linux-gtk
> unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
> unzip -q GEF-SDK-I20040401 -d eclipse
> unzip -q GEF-examples-I20040401 -d eclipse
> cd eclipse
> pwd
> ./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>
> cd $HOME/m8
> unzip -q eclipse-SDK-I20040407-linux-gtk
> unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
> unzip -q GEF-SDK-I20040408 -d eclipse
> unzip -q GEF-examples-I20040408 -d eclipse
> cd eclipse
> pwd
> ./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
|
|
|
Re: schema loading problems [message #41063 is a reply to message #41032] |
Mon, 12 April 2004 15:31 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
This is a multi-part message in MIME format.
--------------020505090403070800030603
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
i have no information about the windows configurations.
attached are the two log files for the two following linux configurations.
thank you
norwood sisson
Ed Merks wrote:
> Hi,
>
> We've only tested against M8. Does it work for that latest Eclipse
> Window's integration driver, but not with the one for Linux? Have you
> checked the workspace/.metadata/.log for clues?
>
>>cd $HOME/m8
>>unzip -q eclipse-SDK-I20040407-linux-gtk
>>unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
>>unzip -q GEF-SDK-I20040401 -d eclipse
>>unzip -q GEF-examples-I20040401 -d eclipse
>>cd eclipse
>>pwd
>>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
>>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>>
>>cd $HOME/m8
>>unzip -q eclipse-SDK-I20040407-linux-gtk
>>unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
>>unzip -q GEF-SDK-I20040408 -d eclipse
>>unzip -q GEF-examples-I20040408 -d eclipse
>>cd eclipse
>>pwd
>>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
>>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>
>
--------------020505090403070800030603
Content-Type: text/plain;
name="log1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="log1"
!SESSION Apr 12, 2004 08:19:27.286 ---------------------------------------------
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
!ENTRY org.eclipse.emf.codegen.ecore.ui 2 0 Apr 12, 2004 08:19:27.287
!MESSAGE
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$20.execute(EMFProjectWizard.java:1614)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$XMLSchemaModelPage.refreshXMLSchemaModel(EMFProject Wizard.java:1687)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$15.widgetSelected(EMFProjectWizard.java:1427)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
at org.eclipse.jface.window.Window.open(Window.java:650)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:109)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1561)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1532)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:140)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:279)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:241)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
at org.eclipse.core.launcher.Main.run(Main.java:692)
at org.eclipse.core.launcher.Main.main(Main.java:676)
Caused by: java.lang.NullPointerException
at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(Elem entNode2.java:432)
at org.apache.crimson.tree.ElementNode2.hasAttributeNS(ElementN ode2.java:388)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEcoreAttribute(XSDE coreBuilder.java:1752)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClass(XSDEcore Builder.java:589)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClassifier(XSD EcoreBuilder.java:318)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEClassifier(XSDEcor eBuilder.java:270)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEStructuralFeature( XSDEcoreBuilder.java:1490)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1592)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1542)
... 44 more
--------------020505090403070800030603
Content-Type: text/plain;
name="log2"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="log2"
!SESSION Apr 12, 2004 08:22:41.593 ---------------------------------------------
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
!ENTRY org.eclipse.emf.codegen.ecore.ui 2 0 Apr 12, 2004 08:22:41.594
!MESSAGE
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$20.execute(EMFProjectWizard.java:1614)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$XMLSchemaModelPage.refreshXMLSchemaModel(EMFProject Wizard.java:1687)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$15.widgetSelected(EMFProjectWizard.java:1427)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
at org.eclipse.jface.window.Window.open(Window.java:650)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:109)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1561)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1532)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:140)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:279)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:241)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
at org.eclipse.core.launcher.Main.run(Main.java:692)
at org.eclipse.core.launcher.Main.main(Main.java:676)
Caused by: java.lang.NullPointerException
at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(Elem entNode2.java:432)
at org.apache.crimson.tree.ElementNode2.hasAttributeNS(ElementN ode2.java:388)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEcoreAttribute(XSDE coreBuilder.java:1772)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClass(XSDEcore Builder.java:600)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClassifier(XSD EcoreBuilder.java:329)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEClassifier(XSDEcor eBuilder.java:281)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEStructuralFeature( XSDEcoreBuilder.java:1510)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1612)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1562)
... 44 more
--------------020505090403070800030603--
|
|
|
Re: schema loading problems [message #41095 is a reply to message #41063] |
Mon, 12 April 2004 17:27 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is the stack trace that the Crimsom DOM implementation produces I know there was talk about removing the org.apache.xerces plugin. Perhaps it's
gone in that driver. You'll need to specify a non-buggy DOM implementation to make this work.
user@domain.invalid wrote:
> i have no information about the windows configurations.
> attached are the two log files for the two following linux configurations.
>
> thank you
> norwood sisson
>
> Ed Merks wrote:
> > Hi,
> >
> > We've only tested against M8. Does it work for that latest Eclipse
> > Window's integration driver, but not with the one for Linux? Have you
> > checked the workspace/.metadata/.log for clues?
> >
> >>cd $HOME/m8
> >>unzip -q eclipse-SDK-I20040407-linux-gtk
> >>unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
> >>unzip -q GEF-SDK-I20040401 -d eclipse
> >>unzip -q GEF-examples-I20040401 -d eclipse
> >>cd eclipse
> >>pwd
> >>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> >>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> >>
> >>cd $HOME/m8
> >>unzip -q eclipse-SDK-I20040407-linux-gtk
> >>unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
> >>unzip -q GEF-SDK-I20040408 -d eclipse
> >>unzip -q GEF-examples-I20040408 -d eclipse
> >>cd eclipse
> >>pwd
> >>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> >>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> >
> >
>
> ------------------------------------------------------------ ------------
> !SESSION Apr 12, 2004 08:19:27.286 ---------------------------------------------
> java.version=1.4.2_04
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> !ENTRY org.eclipse.emf.codegen.ecore.ui 2 0 Apr 12, 2004 08:19:27.287
> !MESSAGE
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$20.execute(EMFProjectWizard.java:1614)
> at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
> at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$XMLSchemaModelPage.refreshXMLSchemaModel(EMFProject Wizard.java:1687)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$15.widgetSelected(EMFProjectWizard.java:1427)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
> at org.eclipse.jface.window.Window.open(Window.java:650)
> at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:109)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
> at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1561)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1532)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:140)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:279)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:241)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
> at org.eclipse.core.launcher.Main.run(Main.java:692)
> at org.eclipse.core.launcher.Main.main(Main.java:676)
> Caused by: java.lang.NullPointerException
> at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(Elem entNode2.java:432)
> at org.apache.crimson.tree.ElementNode2.hasAttributeNS(ElementN ode2.java:388)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEcoreAttribute(XSDE coreBuilder.java:1752)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClass(XSDEcore Builder.java:589)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClassifier(XSD EcoreBuilder.java:318)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEClassifier(XSDEcor eBuilder.java:270)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEStructuralFeature( XSDEcoreBuilder.java:1490)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1592)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1542)
> ... 44 more
>
> ------------------------------------------------------------ ------------
> !SESSION Apr 12, 2004 08:22:41.593 ---------------------------------------------
> java.version=1.4.2_04
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> !ENTRY org.eclipse.emf.codegen.ecore.ui 2 0 Apr 12, 2004 08:22:41.594
> !MESSAGE
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$20.execute(EMFProjectWizard.java:1614)
> at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
> at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$XMLSchemaModelPage.refreshXMLSchemaModel(EMFProject Wizard.java:1687)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$15.widgetSelected(EMFProjectWizard.java:1427)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
> at org.eclipse.jface.window.Window.open(Window.java:650)
> at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:109)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
> at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1561)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1532)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:140)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:279)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:241)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
> at org.eclipse.core.launcher.Main.run(Main.java:692)
> at org.eclipse.core.launcher.Main.main(Main.java:676)
> Caused by: java.lang.NullPointerException
> at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(Elem entNode2.java:432)
> at org.apache.crimson.tree.ElementNode2.hasAttributeNS(ElementN ode2.java:388)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEcoreAttribute(XSDE coreBuilder.java:1772)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClass(XSDEcore Builder.java:600)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClassifier(XSD EcoreBuilder.java:329)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEClassifier(XSDEcor eBuilder.java:281)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEStructuralFeature( XSDEcoreBuilder.java:1510)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1612)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1562)
> ... 44 more
|
|
|
Re: schema loading problems [message #41126 is a reply to message #41095] |
Mon, 12 April 2004 19:03 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
if -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
does not specify a non-buggy DOM implementation, what will?
thank you
norwood sisson
Ed Merks wrote:
> This is the stack trace that the Crimsom DOM implementation produces I know there was talk about removing the org.apache.xerces plugin. Perhaps it's
> gone in that driver. You'll need to specify a non-buggy DOM implementation to make this work.
>
>
> user@domain.invalid wrote:
>
>
>>i have no information about the windows configurations.
>>attached are the two log files for the two following linux configurations.
>>
>>thank you
>>norwood sisson
>>
>>Ed Merks wrote:
>>
>>>Hi,
>>>
>>>We've only tested against M8. Does it work for that latest Eclipse
>>>Window's integration driver, but not with the one for Linux? Have you
>>>checked the workspace/.metadata/.log for clues?
>>>
>>>
>>>>cd $HOME/m8
>>>>unzip -q eclipse-SDK-I20040407-linux-gtk
>>>>unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
>>>>unzip -q GEF-SDK-I20040401 -d eclipse
>>>>unzip -q GEF-examples-I20040401 -d eclipse
>>>>cd eclipse
>>>>pwd
>>>>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
>>>>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>>>>
>>>>cd $HOME/m8
>>>>unzip -q eclipse-SDK-I20040407-linux-gtk
>>>>unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
>>>>unzip -q GEF-SDK-I20040408 -d eclipse
>>>>unzip -q GEF-examples-I20040408 -d eclipse
>>>>cd eclipse
>>>>pwd
>>>>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
>>>>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>>>
|
|
|
Re: schema loading problems [message #41157 is a reply to message #41126] |
Mon, 12 April 2004 19:15 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Is there an org.apache.xerces plugin in the Eclipse driver that you have? There's been talk of removing it, so maybe that's happened now, in which case the
workaround won't work because there's no directory where it's pointing. You just need to point at a directory with the jars that are in the Xerces plugin,
or some other good implementation of JAXP.
user@domain.invalid wrote:
> if -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> does not specify a non-buggy DOM implementation, what will?
>
> thank you
> norwood sisson
>
> Ed Merks wrote:
>
> > This is the stack trace that the Crimsom DOM implementation produces I know there was talk about removing the org.apache.xerces plugin. Perhaps it's
> > gone in that driver. You'll need to specify a non-buggy DOM implementation to make this work.
> >
> >
> > user@domain.invalid wrote:
> >
> >
> >>i have no information about the windows configurations.
> >>attached are the two log files for the two following linux configurations.
> >>
> >>thank you
> >>norwood sisson
> >>
> >>Ed Merks wrote:
> >>
> >>>Hi,
> >>>
> >>>We've only tested against M8. Does it work for that latest Eclipse
> >>>Window's integration driver, but not with the one for Linux? Have you
> >>>checked the workspace/.metadata/.log for clues?
> >>>
> >>>
> >>>>cd $HOME/m8
> >>>>unzip -q eclipse-SDK-I20040407-linux-gtk
> >>>>unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
> >>>>unzip -q GEF-SDK-I20040401 -d eclipse
> >>>>unzip -q GEF-examples-I20040401 -d eclipse
> >>>>cd eclipse
> >>>>pwd
> >>>>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> >>>>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> >>>>
> >>>>cd $HOME/m8
> >>>>unzip -q eclipse-SDK-I20040407-linux-gtk
> >>>>unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
> >>>>unzip -q GEF-SDK-I20040408 -d eclipse
> >>>>unzip -q GEF-examples-I20040408 -d eclipse
> >>>>cd eclipse
> >>>>pwd
> >>>>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> >>>>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> >>>
|
|
|
Re: schema loading problems [message #41255 is a reply to message #41157] |
Tue, 13 April 2004 16:26 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Ed
emf-xsd does load schemas when i have downloaded xerces from apache.org
as in the following configuration.
it would also be easier for me and other dummies if you would be more
explicit in your explanations. phrases like "You'll need to specify a
non-buggy DOM implementation", "some other good implementation of JAXP",
and "Frank,
The file example you show looks like an XMI serialization of an instance
that should be serialized as XML. Following the tutorial steps, a file
like this is produced:" would be more meaningful if you stated something
like "xerces from apache.org" and if you named the tutorial you are
referencing.
thank you
norwood sisson
cd $HOME/m8a
unzip -q eclipse-SDK-I20040407-linux-gtk
unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
unzip -q GEF-SDK-I20040408 -d eclipse
unzip -q GEF-examples-I20040408 -d eclipse
unzip -q Xerces-J-bin.2.6.2 -d eclipse/plugins
cd eclipse
../eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
-Djava.endorsed.dirs=plugins/xerces-2_6_2
Ed Merks wrote:
> Is there an org.apache.xerces plugin in the Eclipse driver that you have? There's been talk of removing it, so maybe that's happened now, in which case the
> workaround won't work because there's no directory where it's pointing. You just need to point at a directory with the jars that are in the Xerces plugin,
> or some other good implementation of JAXP.
>
|
|
|
Re: schema loading problems [message #41286 is a reply to message #41255] |
Tue, 13 April 2004 17:57 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Norwood,
Your point is well taken. I'm often very stretched for time and am too impatient to specify background that may or may not be needed. I do try to respond quickly
so that follow up questions will get a quick reply.
user@domain.invalid wrote:
> Ed
>
> emf-xsd does load schemas when i have downloaded xerces from apache.org
> as in the following configuration.
> it would also be easier for me and other dummies if you would be more
> explicit in your explanations. phrases like "You'll need to specify a
> non-buggy DOM implementation", "some other good implementation of JAXP",
> and "Frank,
> The file example you show looks like an XMI serialization of an instance
> that should be serialized as XML. Following the tutorial steps, a file
> like this is produced:" would be more meaningful if you stated something
> like "xerces from apache.org" and if you named the tutorial you are
> referencing.
>
> thank you
> norwood sisson
>
> cd $HOME/m8a
> unzip -q eclipse-SDK-I20040407-linux-gtk
> unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
> unzip -q GEF-SDK-I20040408 -d eclipse
> unzip -q GEF-examples-I20040408 -d eclipse
> unzip -q Xerces-J-bin.2.6.2 -d eclipse/plugins
> cd eclipse
> ./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> -Djava.endorsed.dirs=plugins/xerces-2_6_2
>
> Ed Merks wrote:
> > Is there an org.apache.xerces plugin in the Eclipse driver that you have? There's been talk of removing it, so maybe that's happened now, in which case the
> > workaround won't work because there's no directory where it's pointing. You just need to point at a directory with the jars that are in the Xerces plugin,
> > or some other good implementation of JAXP.
> >
|
|
|
Re: schema loading problems [message #585386 is a reply to message #40905] |
Mon, 12 April 2004 11:09 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
Hi,
We've only tested against M8. Does it work for that latest Eclipse
Window's integration driver, but not with the one for Linux? Have you
checked the workspace/.metadata/.log for clues?
user@domain.invalid wrote:
> i have downloaded the new emf, emf-xsd-sdo-SDK-I200404080727, and the
> new eclipse sdk, eclipse-SDK-I20040407-linux-gtk. the new emf and the
> older emf, emf-xsd-sdo-SDK-I200403250631, both run fine with m8,
> eclipse-SDK-I20040326-linux-gtk (the first two configurations below).
> neither the new emf nor the older emf allow me to load the same xsd
> files (no details available, just the red x) when run with the new
> eclipse, eclipse-SDK-I20040407-linux-gtk, (the second two
> configurations below).
>
> thank you
> norwood sisson
>
> cd $HOME/m8
> unzip -q eclipse-SDK-I20040326-linux-gtk
> unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
> unzip -q GEF-SDK-I20040401 -d eclipse
> unzip -q GEF-examples-I20040401 -d eclipse
> cd eclipse
> pwd
> ./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>
> cd $HOME/m8
> unzip -q eclipse-SDK-I20040326-linux-gtk
> unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
> unzip -q GEF-SDK-I20040408 -d eclipse
> unzip -q GEF-examples-I20040408 -d eclipse
> cd eclipse
> pwd
> ./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>
> cd $HOME/m8
> unzip -q eclipse-SDK-I20040407-linux-gtk
> unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
> unzip -q GEF-SDK-I20040401 -d eclipse
> unzip -q GEF-examples-I20040401 -d eclipse
> cd eclipse
> pwd
> ./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>
> cd $HOME/m8
> unzip -q eclipse-SDK-I20040407-linux-gtk
> unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
> unzip -q GEF-SDK-I20040408 -d eclipse
> unzip -q GEF-examples-I20040408 -d eclipse
> cd eclipse
> pwd
> ./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: schema loading problems [message #585403 is a reply to message #41032] |
Mon, 12 April 2004 15:31 |
user Messages: 296 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------020505090403070800030603
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
i have no information about the windows configurations.
attached are the two log files for the two following linux configurations.
thank you
norwood sisson
Ed Merks wrote:
> Hi,
>
> We've only tested against M8. Does it work for that latest Eclipse
> Window's integration driver, but not with the one for Linux? Have you
> checked the workspace/.metadata/.log for clues?
>
>>cd $HOME/m8
>>unzip -q eclipse-SDK-I20040407-linux-gtk
>>unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
>>unzip -q GEF-SDK-I20040401 -d eclipse
>>unzip -q GEF-examples-I20040401 -d eclipse
>>cd eclipse
>>pwd
>>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
>>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>>
>>cd $HOME/m8
>>unzip -q eclipse-SDK-I20040407-linux-gtk
>>unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
>>unzip -q GEF-SDK-I20040408 -d eclipse
>>unzip -q GEF-examples-I20040408 -d eclipse
>>cd eclipse
>>pwd
>>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
>>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>
>
--------------020505090403070800030603
Content-Type: text/plain;
name="log1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="log1"
!SESSION Apr 12, 2004 08:19:27.286 ---------------------------------------------
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
!ENTRY org.eclipse.emf.codegen.ecore.ui 2 0 Apr 12, 2004 08:19:27.287
!MESSAGE
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$20.execute(EMFProjectWizard.java:1614)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$XMLSchemaModelPage.refreshXMLSchemaModel(EMFProject Wizard.java:1687)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$15.widgetSelected(EMFProjectWizard.java:1427)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
at org.eclipse.jface.window.Window.open(Window.java:650)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:109)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1561)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1532)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:140)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:279)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:241)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
at org.eclipse.core.launcher.Main.run(Main.java:692)
at org.eclipse.core.launcher.Main.main(Main.java:676)
Caused by: java.lang.NullPointerException
at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(Elem entNode2.java:432)
at org.apache.crimson.tree.ElementNode2.hasAttributeNS(ElementN ode2.java:388)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEcoreAttribute(XSDE coreBuilder.java:1752)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClass(XSDEcore Builder.java:589)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClassifier(XSD EcoreBuilder.java:318)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEClassifier(XSDEcor eBuilder.java:270)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEStructuralFeature( XSDEcoreBuilder.java:1490)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1592)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1542)
... 44 more
--------------020505090403070800030603
Content-Type: text/plain;
name="log2"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="log2"
!SESSION Apr 12, 2004 08:22:41.593 ---------------------------------------------
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
!ENTRY org.eclipse.emf.codegen.ecore.ui 2 0 Apr 12, 2004 08:22:41.594
!MESSAGE
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$20.execute(EMFProjectWizard.java:1614)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$XMLSchemaModelPage.refreshXMLSchemaModel(EMFProject Wizard.java:1687)
at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$15.widgetSelected(EMFProjectWizard.java:1427)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
at org.eclipse.jface.window.Window.open(Window.java:650)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:109)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1561)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1532)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:140)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:279)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:241)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
at org.eclipse.core.launcher.Main.run(Main.java:692)
at org.eclipse.core.launcher.Main.main(Main.java:676)
Caused by: java.lang.NullPointerException
at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(Elem entNode2.java:432)
at org.apache.crimson.tree.ElementNode2.hasAttributeNS(ElementN ode2.java:388)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEcoreAttribute(XSDE coreBuilder.java:1772)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClass(XSDEcore Builder.java:600)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClassifier(XSD EcoreBuilder.java:329)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEClassifier(XSDEcor eBuilder.java:281)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEStructuralFeature( XSDEcoreBuilder.java:1510)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1612)
at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1562)
... 44 more
--------------020505090403070800030603--
|
|
|
Re: schema loading problems [message #585421 is a reply to message #41063] |
Mon, 12 April 2004 17:27 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
This is the stack trace that the Crimsom DOM implementation produces I know there was talk about removing the org.apache.xerces plugin. Perhaps it's
gone in that driver. You'll need to specify a non-buggy DOM implementation to make this work.
user@domain.invalid wrote:
> i have no information about the windows configurations.
> attached are the two log files for the two following linux configurations.
>
> thank you
> norwood sisson
>
> Ed Merks wrote:
> > Hi,
> >
> > We've only tested against M8. Does it work for that latest Eclipse
> > Window's integration driver, but not with the one for Linux? Have you
> > checked the workspace/.metadata/.log for clues?
> >
> >>cd $HOME/m8
> >>unzip -q eclipse-SDK-I20040407-linux-gtk
> >>unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
> >>unzip -q GEF-SDK-I20040401 -d eclipse
> >>unzip -q GEF-examples-I20040401 -d eclipse
> >>cd eclipse
> >>pwd
> >>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> >>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> >>
> >>cd $HOME/m8
> >>unzip -q eclipse-SDK-I20040407-linux-gtk
> >>unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
> >>unzip -q GEF-SDK-I20040408 -d eclipse
> >>unzip -q GEF-examples-I20040408 -d eclipse
> >>cd eclipse
> >>pwd
> >>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> >>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> >
> >
>
> ------------------------------------------------------------ ------------
> !SESSION Apr 12, 2004 08:19:27.286 ---------------------------------------------
> java.version=1.4.2_04
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> !ENTRY org.eclipse.emf.codegen.ecore.ui 2 0 Apr 12, 2004 08:19:27.287
> !MESSAGE
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$20.execute(EMFProjectWizard.java:1614)
> at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
> at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$XMLSchemaModelPage.refreshXMLSchemaModel(EMFProject Wizard.java:1687)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$15.widgetSelected(EMFProjectWizard.java:1427)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
> at org.eclipse.jface.window.Window.open(Window.java:650)
> at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:109)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
> at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1561)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1532)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:140)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:279)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:241)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
> at org.eclipse.core.launcher.Main.run(Main.java:692)
> at org.eclipse.core.launcher.Main.main(Main.java:676)
> Caused by: java.lang.NullPointerException
> at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(Elem entNode2.java:432)
> at org.apache.crimson.tree.ElementNode2.hasAttributeNS(ElementN ode2.java:388)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEcoreAttribute(XSDE coreBuilder.java:1752)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClass(XSDEcore Builder.java:589)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClassifier(XSD EcoreBuilder.java:318)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEClassifier(XSDEcor eBuilder.java:270)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEStructuralFeature( XSDEcoreBuilder.java:1490)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1592)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1542)
> ... 44 more
>
> ------------------------------------------------------------ ------------
> !SESSION Apr 12, 2004 08:22:41.593 ---------------------------------------------
> java.version=1.4.2_04
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> !ENTRY org.eclipse.emf.codegen.ecore.ui 2 0 Apr 12, 2004 08:22:41.594
> !MESSAGE
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$20.execute(EMFProjectWizard.java:1614)
> at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1559)
> at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:302)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:252)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 756)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$XMLSchemaModelPage.refreshXMLSchemaModel(EMFProject Wizard.java:1687)
> at org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProje ctWizard$15.widgetSelected(EMFProjectWizard.java:1427)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:670 )
> at org.eclipse.jface.window.Window.open(Window.java:650)
> at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:109)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:550)
> at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:502)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:435)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1953)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1726)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1561)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1532)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:257)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:140)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:90)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:279)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:241)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:117)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
> at org.eclipse.core.launcher.Main.run(Main.java:692)
> at org.eclipse.core.launcher.Main.main(Main.java:676)
> Caused by: java.lang.NullPointerException
> at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(Elem entNode2.java:432)
> at org.apache.crimson.tree.ElementNode2.hasAttributeNS(ElementN ode2.java:388)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEcoreAttribute(XSDE coreBuilder.java:1772)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClass(XSDEcore Builder.java:600)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.computeEClassifier(XSD EcoreBuilder.java:329)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEClassifier(XSDEcor eBuilder.java:281)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.getEStructuralFeature( XSDEcoreBuilder.java:1510)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1612)
> at org.eclipse.xsd.ecore.XSDEcoreBuilder.generate(XSDEcoreBuild er.java:1562)
> ... 44 more
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Re: schema loading problems [message #585448 is a reply to message #41126] |
Mon, 12 April 2004 19:15 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
Is there an org.apache.xerces plugin in the Eclipse driver that you have? There's been talk of removing it, so maybe that's happened now, in which case the
workaround won't work because there's no directory where it's pointing. You just need to point at a directory with the jars that are in the Xerces plugin,
or some other good implementation of JAXP.
user@domain.invalid wrote:
> if -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> does not specify a non-buggy DOM implementation, what will?
>
> thank you
> norwood sisson
>
> Ed Merks wrote:
>
> > This is the stack trace that the Crimsom DOM implementation produces I know there was talk about removing the org.apache.xerces plugin. Perhaps it's
> > gone in that driver. You'll need to specify a non-buggy DOM implementation to make this work.
> >
> >
> > user@domain.invalid wrote:
> >
> >
> >>i have no information about the windows configurations.
> >>attached are the two log files for the two following linux configurations.
> >>
> >>thank you
> >>norwood sisson
> >>
> >>Ed Merks wrote:
> >>
> >>>Hi,
> >>>
> >>>We've only tested against M8. Does it work for that latest Eclipse
> >>>Window's integration driver, but not with the one for Linux? Have you
> >>>checked the workspace/.metadata/.log for clues?
> >>>
> >>>
> >>>>cd $HOME/m8
> >>>>unzip -q eclipse-SDK-I20040407-linux-gtk
> >>>>unzip -q emf-xsd-sdo-SDK-I200403250631 -d eclipse
> >>>>unzip -q GEF-SDK-I20040401 -d eclipse
> >>>>unzip -q GEF-examples-I20040401 -d eclipse
> >>>>cd eclipse
> >>>>pwd
> >>>>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> >>>>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> >>>>
> >>>>cd $HOME/m8
> >>>>unzip -q eclipse-SDK-I20040407-linux-gtk
> >>>>unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
> >>>>unzip -q GEF-SDK-I20040408 -d eclipse
> >>>>unzip -q GEF-examples-I20040408 -d eclipse
> >>>>cd eclipse
> >>>>pwd
> >>>>./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> >>>>-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> >>>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Re: schema loading problems [message #585520 is a reply to message #41255] |
Tue, 13 April 2004 17:57 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
Norwood,
Your point is well taken. I'm often very stretched for time and am too impatient to specify background that may or may not be needed. I do try to respond quickly
so that follow up questions will get a quick reply.
user@domain.invalid wrote:
> Ed
>
> emf-xsd does load schemas when i have downloaded xerces from apache.org
> as in the following configuration.
> it would also be easier for me and other dummies if you would be more
> explicit in your explanations. phrases like "You'll need to specify a
> non-buggy DOM implementation", "some other good implementation of JAXP",
> and "Frank,
> The file example you show looks like an XMI serialization of an instance
> that should be serialized as XML. Following the tutorial steps, a file
> like this is produced:" would be more meaningful if you stated something
> like "xerces from apache.org" and if you named the tutorial you are
> referencing.
>
> thank you
> norwood sisson
>
> cd $HOME/m8a
> unzip -q eclipse-SDK-I20040407-linux-gtk
> unzip -q emf-xsd-sdo-SDK-I200404080727 -d eclipse
> unzip -q GEF-SDK-I20040408 -d eclipse
> unzip -q GEF-examples-I20040408 -d eclipse
> unzip -q Xerces-J-bin.2.6.2 -d eclipse/plugins
> cd eclipse
> ./eclipse -vm /home/nerd/j2sdk1.4.2_04/bin/java -vmargs -mx256m -ms128m
> -Djava.endorsed.dirs=plugins/xerces-2_6_2
>
> Ed Merks wrote:
> > Is there an org.apache.xerces plugin in the Eclipse driver that you have? There's been talk of removing it, so maybe that's happened now, in which case the
> > workaround won't work because there's no directory where it's pointing. You just need to point at a directory with the jars that are in the Xerces plugin,
> > or some other good implementation of JAXP.
> >
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Goto Forum:
Current Time: Mon Sep 23 09:30:55 GMT 2024
Powered by FUDForum. Page generated in 0.07637 seconds
|