geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Blandin" <blan...@intalio.com>
Subject RE: Next Castor Error
Date Fri, 17 Oct 2003 23:30:11 GMT
Hi Aaron,

Can you please send me the XML Schemas from which you are trying to
generate Java classes?
I've just tried generating sources using the XML Schemas located in the
CVS
(http://cvs.apache.org/viewcvs/incubator-geronimo/modules/xbeans/src/sch
ema/) and all seems fine on my side.

Thanks,
Arnaud

> -----Original Message-----
> From: Aaron Mulder [mailto:ammulder@alumni.princeton.edu] 
> Sent: Friday, October 17, 2003 6:01 PM
> To: geronimo-dev@incubator.apache.org
> Subject: Next Castor Error
> 
> 
> 	I changed the namespace flag in the properties file.  
> Now I've got 
> a new and different error.  :)
> 
> Aaron
> 
>     [echo] Generating sources for 
> /home/ammulder/cvs/geronimo/modules/xbeans/src/schema/geronimo
> -application-client.xsd
>     [java] -- Disabling generation of Marshalling framework methods 
> (marshall, unmarshall, validate).
>     [java] Exception in thread "main" java.lang.NullPointerException
>     [java]      at 
> org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUn
> marshaller.endElement(SimpleContentRestrictionUnmarshaller.java:374)
>     [java]      at 
> org.exolab.castor.xml.schema.reader.SimpleContentUnmarshaller.
> endElement(SimpleContentUnmarshaller.java:218)
>     [java]      at 
> org.exolab.castor.xml.schema.reader.ComplexTypeUnmarshaller.en
> dElement(ComplexTypeUnmarshaller.java:421)
>     [java]      at 
> org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElem
> ent(SchemaUnmarshaller.java:463)
>     [java]      at 
> org.exolab.castor.xml.schema.reader.Sax2ComponentReader.endEle
> ment(Sax2ComponentReader.java:198)
>     [java]      at 
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
>     [java]      at 
> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyEleme
> nt(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartEleme
> nt(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragment
> ContentDispatcher.dispatch(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu
> ment(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     [java]      at 
> org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     [java]      at org.apache.xerces.parsers.XMLParser.parse(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     [java]      at 
> org.exolab.castor.xml.schema.reader.IncludeUnmarshaller.<init>
> (IncludeUnmarshaller.java:126)
>     [java]      at 
> org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startEl
> ement(SchemaUnmarshaller.java:418)
>     [java]      at 
> org.exolab.castor.xml.schema.reader.Sax2ComponentReader.startE
> lement(Sax2ComponentReader.java:253)
>     [java]      at 
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unkno
> wn Source)
>     [java]      at 
> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyEleme
> nt(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartEleme
> nt(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragment
> ContentDispatcher.dispatch(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu
> ment(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     [java]      at 
> org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     [java]      at org.apache.xerces.parsers.XMLParser.parse(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     [java]      at 
> org.exolab.castor.xml.schema.reader.ImportUnmarshaller.<init>(
ImportUnmarshaller.java:178)
>     [java]      at 
> org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startEl
> ement(SchemaUnmarshaller.java:423)
>     [java]      at 
> org.exolab.castor.xml.schema.reader.Sax2ComponentReader.startE
> lement(Sax2ComponentReader.java:253)
>     [java]      at 
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unkno
> wn Source)
>     [java]      at 
> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyEleme
> nt(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartEleme
> nt(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragment
> ContentDispatcher.dispatch(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu
> ment(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     [java]      at 
> org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     [java]      at org.apache.xerces.parsers.XMLParser.parse(Unknown 
> Source)
>     [java]      at 
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     [java]      at 
> org.exolab.castor.builder.SourceGenerator.generateSource(Sourc
> eGenerator.java:372)
>     [java]      at 
> org.exolab.castor.builder.SourceGenerator.generateSource(Sourc
> eGenerator.java:425)
>     [java]      at 
> org.exolab.castor.builder.SourceGenerator.main(SourceGenerator
> .java:760)
> 


Mime
View raw message