Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Cannot run XSDFindTypesMissingFacets in V1.1.0
Cannot run XSDFindTypesMissingFacets in V1.1.0 [message #20089] Sun, 04 May 2003 09:09 Go to next message
Eclipse UserFriend
Originally posted by: dirk.schesmer.divos.de

Hi there,

when trying to execute XSDFindTypesMissingFacets.java in the Eclipse 2.1
using the environment emf/xsd 1.1.0, the system reports thje errors printed
below. Can please anyone give me a hint what to do?

Thanks for help,

Dirk V. Schesmer

Shane, please try to update the compile parameters - especially names ans
locations of jars - when you have some time left over, thanks!

* <br/>set ECLIPSE=BASEDIR
* <br/>set
_CP=%CLASSPATH%;%ECLIPSE%/plugins/org.eclipse.core.boot/boot .jar;%
ECLIPSE%/plugins/org.eclipse.core.runtime/runtime.jar;%ECLIP SE%/plugins/org.
apache.xerces/xerces.jar;%ECLIPSE%/plugins/org.eclipse.core. resources/resour
ces.jar;%ECLIPSE%/plugins/org.eclipse.emf/emf.jar;%ECLIPSE%/ plugins/org.ecli
pse.xsd/xsd.jar;path-or-jar-containing-XSDFindTypesMissingFa cet
* <br/>java -classpath %_CP% -DECLIPSE=%ECLIPSE%
org.eclipse.xsd.util.XSDFindTypesMissingFacet [schema.xsd]
* </code>
* </p>

The error message produced when executing the software in Eclipe 2.1:

java.lang.VerifyError: (class: org/eclipse/xsd/util/XSDParser$2, method:
xmlDecl signature:
(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/ apache/xerces/xn
i/Augmentations;)V) Illegal use of nonvirtual function call

at org.eclipse.xsd.util.XSDParser$1.<init>(XSDParser.java:206)

at
org.eclipse.xsd.util.XSDParser$1$GiantHack.newSAXParser(XSDP arser.java:197)

at org.eclipse.xsd.util.XSDParser.<init>(XSDParser.java:386)

at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl. java:282)

at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:881)

at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:755)

at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetIm
pl.java:220)

at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetI
mpl.java:286)

at
org.eclipse.xsd.util.XSDFindTypesMissingFacets.loadSchemaUsi ngResourceSet(Un
known Source)

at org.eclipse.xsd.util.XSDFindTypesMissingFacets.main(Unknown Source)

Exception in thread "main"
Re: Cannot run XSDFindTypesMissingFacets in V1.1.0 [message #21046 is a reply to message #20089] Sun, 04 May 2003 11:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

--------------9FB854F7C854B0D327584658
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dirk,

This looks like the error one would get if the right xerces jars aren't the
classpath. The file plugins/org.eclipse.xsd.test/test/xsd-standalone-test.bat
is maintained with the classpath required for standalone execution. These two
are needed:

%ECLIPSE%/plugins/org.apache.xerces_4.0.7/xmlParserAPIs.jar;
%ECLIPSE%/plugins/org.apache.xerces_4.0.7/xercesImpl.jar;

"Dirk V. Schesmer" wrote:

> Hi there,
>
> when trying to execute XSDFindTypesMissingFacets.java in the Eclipse 2.1
> using the environment emf/xsd 1.1.0, the system reports thje errors printed
> below. Can please anyone give me a hint what to do?
>
> Thanks for help,
>
> Dirk V. Schesmer
>
> Shane, please try to update the compile parameters - especially names ans
> locations of jars - when you have some time left over, thanks!
>
> * <br/>set ECLIPSE=BASEDIR
> * <br/>set
> _CP=%CLASSPATH%;%ECLIPSE%/plugins/org.eclipse.core.boot/boot .jar;%
> ECLIPSE%/plugins/org.eclipse.core.runtime/runtime.jar;%ECLIP SE%/plugins/org.
> apache.xerces/xerces.jar;%ECLIPSE%/plugins/org.eclipse.core. resources/resour
> ces.jar;%ECLIPSE%/plugins/org.eclipse.emf/emf.jar;%ECLIPSE%/ plugins/org.ecli
> pse.xsd/xsd.jar;path-or-jar-containing-XSDFindTypesMissingFa cet
> * <br/>java -classpath %_CP% -DECLIPSE=%ECLIPSE%
> org.eclipse.xsd.util.XSDFindTypesMissingFacet [schema.xsd]
> * </code>
> * </p>
>
> The error message produced when executing the software in Eclipe 2.1:
>
> java.lang.VerifyError: (class: org/eclipse/xsd/util/XSDParser$2, method:
> xmlDecl signature:
> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/ apache/xerces/xn
> i/Augmentations;)V) Illegal use of nonvirtual function call
>
> at org.eclipse.xsd.util.XSDParser$1.<init>(XSDParser.java:206)
>
> at
> org.eclipse.xsd.util.XSDParser$1$GiantHack.newSAXParser(XSDP arser.java:197)
>
> at org.eclipse.xsd.util.XSDParser.<init>(XSDParser.java:386)
>
> at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl. java:282)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:881)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:755)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetIm
> pl.java:220)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetI
> mpl.java:286)
>
> at
> org.eclipse.xsd.util.XSDFindTypesMissingFacets.loadSchemaUsi ngResourceSet(Un
> known Source)
>
> at org.eclipse.xsd.util.XSDFindTypesMissingFacets.main(Unknown Source)
>
> Exception in thread "main"

--------------9FB854F7C854B0D327584658
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dirk,
<p>This looks like the error one would get if the right xerces jars aren't
the classpath.&nbsp; The file plugins/org.eclipse.xsd.test/test/xsd-standalone-test.bat
is maintained with the classpath required for standalone execution.&nbsp;
These two are needed:
<blockquote> %ECLIPSE%/plugins/org.apache.xerces_4.0.7/xmlParserAPIs.jar;
<br>%ECLIPSE%/plugins/org.apache.xerces_4.0.7/xercesImpl.jar; </blockquote>

<p><br>"Dirk V. Schesmer" wrote:
<blockquote TYPE=CITE>Hi there,
<p>when trying to execute XSDFindTypesMissingFacets.java in the Eclipse
2.1
<br>using the environment emf/xsd 1.1.0, the system reports thje errors
printed
<br>below. Can please anyone give me a hint&nbsp; what to do?
<p>Thanks for help,
<p>Dirk V. Schesmer
<p>Shane, please try to update the compile parameters - especially names
ans
<br>locations of jars - when you have some time left over, thanks!
<p>* &lt;br/>set ECLIPSE=BASEDIR
<br>* &lt;br/>set
<br> _CP=%CLASSPATH%;%ECLIPSE%/plugins/org.eclipse.core.boot/boot .jar;%
<br> ECLIPSE%/plugins/org.eclipse.core.runtime/runtime.jar;%ECLIP SE%/plugins/org.
<br> apache.xerces/xerces.jar;%ECLIPSE%/plugins/org.eclipse.core. resources/resour
<br> ces.jar;%ECLIPSE%/plugins/org.eclipse.emf/emf.jar;%ECLIPSE%/ plugins/org.ecli
<br> pse.xsd/xsd.jar;path-or-jar-containing-XSDFindTypesMissingFa cet
<br>* &lt;br/>java -classpath %_CP% -DECLIPSE=%ECLIPSE%
<br>org.eclipse.xsd.util.XSDFindTypesMissingFacet [schema.xsd]
<br>* &lt;/code>
<br>* &lt;/p>
<p>The error message produced when executing the software in Eclipe 2.1:
<p>java.lang.VerifyError: (class: org/eclipse/xsd/util/XSDParser$2, method:
<br>xmlDecl signature:
<br> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/ apache/xerces/xn
<br>i/Augmentations;)V) Illegal use of nonvirtual function call
<p>at org.eclipse.xsd.util.XSDParser$1.&lt;init>(XSDParser.java:206)
<p>at
<br> org.eclipse.xsd.util.XSDParser$1$GiantHack.newSAXParser(XSDP arser.java:197)
<p>at org.eclipse.xsd.util.XSDParser.&lt;init>(XSDParser.java:386)
<p>at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl. java:282)
<p>at
<br> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:881)
<p>at
<br> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:755)
<p>at
<br> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetIm
<br>pl.java:220)
<p>at
<br> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetI
<br>mpl.java:286)
<p>at
<br> org.eclipse.xsd.util.XSDFindTypesMissingFacets.loadSchemaUsi ngResourceSet(Un
<br>known Source)
<p>at org.eclipse.xsd.util.XSDFindTypesMissingFacets.main(Unknown Source)
<p>Exception in thread "main"</blockquote>
</html>

--------------9FB854F7C854B0D327584658--
Re: Cannot run XSDFindTypesMissingFacets in V1.1.0 [message #21313 is a reply to message #21046] Mon, 05 May 2003 18:41 Go to previous message
Shane Curcuru is currently offline Shane CurcuruFriend
Messages: 30
Registered: July 2009
Member
I'd agree with Ed; suspect a Xerces version-mismatch first of all. Unless
of course it's just an error in the GiantHack class; I can't comment on
that one (at least not with a straight face!).

Also I'm not sure which specific file you're referring to - oh, wait: do
you mean the XSDFindTypesMissingFacet.java file in the current CVS tree's
Javadoc? I've already updated the example .bat files in my online article
to use %_XERCESVER% as a parameter for the version number in the path,
since it's been changing lately.

- Shane
Re: Cannot run XSDFindTypesMissingFacets in V1.1.0 [message #569729 is a reply to message #20089] Sun, 04 May 2003 11:20 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
--------------9FB854F7C854B0D327584658
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dirk,

This looks like the error one would get if the right xerces jars aren't the
classpath. The file plugins/org.eclipse.xsd.test/test/xsd-standalone-test.bat
is maintained with the classpath required for standalone execution. These two
are needed:

%ECLIPSE%/plugins/org.apache.xerces_4.0.7/xmlParserAPIs.jar;
%ECLIPSE%/plugins/org.apache.xerces_4.0.7/xercesImpl.jar;

"Dirk V. Schesmer" wrote:

> Hi there,
>
> when trying to execute XSDFindTypesMissingFacets.java in the Eclipse 2.1
> using the environment emf/xsd 1.1.0, the system reports thje errors printed
> below. Can please anyone give me a hint what to do?
>
> Thanks for help,
>
> Dirk V. Schesmer
>
> Shane, please try to update the compile parameters - especially names ans
> locations of jars - when you have some time left over, thanks!
>
> * <br/>set ECLIPSE=BASEDIR
> * <br/>set
> _CP=%CLASSPATH%;%ECLIPSE%/plugins/org.eclipse.core.boot/boot .jar;%
> ECLIPSE%/plugins/org.eclipse.core.runtime/runtime.jar;%ECLIP SE%/plugins/org.
> apache.xerces/xerces.jar;%ECLIPSE%/plugins/org.eclipse.core. resources/resour
> ces.jar;%ECLIPSE%/plugins/org.eclipse.emf/emf.jar;%ECLIPSE%/ plugins/org.ecli
> pse.xsd/xsd.jar;path-or-jar-containing-XSDFindTypesMissingFa cet
> * <br/>java -classpath %_CP% -DECLIPSE=%ECLIPSE%
> org.eclipse.xsd.util.XSDFindTypesMissingFacet [schema.xsd]
> * </code>
> * </p>
>
> The error message produced when executing the software in Eclipe 2.1:
>
> java.lang.VerifyError: (class: org/eclipse/xsd/util/XSDParser$2, method:
> xmlDecl signature:
> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/ apache/xerces/xn
> i/Augmentations;)V) Illegal use of nonvirtual function call
>
> at org.eclipse.xsd.util.XSDParser$1.<init>(XSDParser.java:206)
>
> at
> org.eclipse.xsd.util.XSDParser$1$GiantHack.newSAXParser(XSDP arser.java:197)
>
> at org.eclipse.xsd.util.XSDParser.<init>(XSDParser.java:386)
>
> at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl. java:282)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:881)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:755)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetIm
> pl.java:220)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetI
> mpl.java:286)
>
> at
> org.eclipse.xsd.util.XSDFindTypesMissingFacets.loadSchemaUsi ngResourceSet(Un
> known Source)
>
> at org.eclipse.xsd.util.XSDFindTypesMissingFacets.main(Unknown Source)
>
> Exception in thread "main"

--------------9FB854F7C854B0D327584658
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dirk,
<p>This looks like the error one would get if the right xerces jars aren't
the classpath.&nbsp; The file plugins/org.eclipse.xsd.test/test/xsd-standalone-test.bat
is maintained with the classpath required for standalone execution.&nbsp;
These two are needed:
<blockquote> %ECLIPSE%/plugins/org.apache.xerces_4.0.7/xmlParserAPIs.jar;
<br>%ECLIPSE%/plugins/org.apache.xerces_4.0.7/xercesImpl.jar; </blockquote>

<p><br>"Dirk V. Schesmer" wrote:
<blockquote TYPE=CITE>Hi there,
<p>when trying to execute XSDFindTypesMissingFacets.java in the Eclipse
2.1
<br>using the environment emf/xsd 1.1.0, the system reports thje errors
printed
<br>below. Can please anyone give me a hint&nbsp; what to do?
<p>Thanks for help,
<p>Dirk V. Schesmer
<p>Shane, please try to update the compile parameters - especially names
ans
<br>locations of jars - when you have some time left over, thanks!
<p>* &lt;br/>set ECLIPSE=BASEDIR
<br>* &lt;br/>set
<br> _CP=%CLASSPATH%;%ECLIPSE%/plugins/org.eclipse.core.boot/boot .jar;%
<br> ECLIPSE%/plugins/org.eclipse.core.runtime/runtime.jar;%ECLIP SE%/plugins/org.
<br> apache.xerces/xerces.jar;%ECLIPSE%/plugins/org.eclipse.core. resources/resour
<br> ces.jar;%ECLIPSE%/plugins/org.eclipse.emf/emf.jar;%ECLIPSE%/ plugins/org.ecli
<br> pse.xsd/xsd.jar;path-or-jar-containing-XSDFindTypesMissingFa cet
<br>* &lt;br/>java -classpath %_CP% -DECLIPSE=%ECLIPSE%
<br>org.eclipse.xsd.util.XSDFindTypesMissingFacet [schema.xsd]
<br>* &lt;/code>
<br>* &lt;/p>
<p>The error message produced when executing the software in Eclipe 2.1:
<p>java.lang.VerifyError: (class: org/eclipse/xsd/util/XSDParser$2, method:
<br>xmlDecl signature:
<br> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/ apache/xerces/xn
<br>i/Augmentations;)V) Illegal use of nonvirtual function call
<p>at org.eclipse.xsd.util.XSDParser$1.&lt;init>(XSDParser.java:206)
<p>at
<br> org.eclipse.xsd.util.XSDParser$1$GiantHack.newSAXParser(XSDP arser.java:197)
<p>at org.eclipse.xsd.util.XSDParser.&lt;init>(XSDParser.java:386)
<p>at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl. java:282)
<p>at
<br> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:881)
<p>at
<br> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:755)
<p>at
<br> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetIm
<br>pl.java:220)
<p>at
<br> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetI
<br>mpl.java:286)
<p>at
<br> org.eclipse.xsd.util.XSDFindTypesMissingFacets.loadSchemaUsi ngResourceSet(Un
<br>known Source)
<p>at org.eclipse.xsd.util.XSDFindTypesMissingFacets.main(Unknown Source)
<p>Exception in thread "main"</blockquote>
</html>

--------------9FB854F7C854B0D327584658--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Cannot run XSDFindTypesMissingFacets in V1.1.0 [message #570601 is a reply to message #21046] Mon, 05 May 2003 18:41 Go to previous message
Shane Curcuru is currently offline Shane CurcuruFriend
Messages: 30
Registered: July 2009
Member
I'd agree with Ed; suspect a Xerces version-mismatch first of all. Unless
of course it's just an error in the GiantHack class; I can't comment on
that one (at least not with a straight face!).

Also I'm not sure which specific file you're referring to - oh, wait: do
you mean the XSDFindTypesMissingFacet.java file in the current CVS tree's
Javadoc? I've already updated the example .bat files in my online article
to use %_XERCESVER% as a parameter for the version number in the path,
since it's been changing lately.

- Shane
Previous Topic:A Diagnostic Message for the Valid Schema
Next Topic:A Test with http://www.w3.org/2001/XMLSchema.xsd
Goto Forum:
  


Current Time: Thu Apr 25 10:38:38 GMT 2024

Powered by FUDForum. Page generated in 0.03825 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top