Hi all,

I have some patch for this situation. Could you review it and say if it is ok or not and if it's ok to be included in release?

In attachment you'll find patch against tag_0_9_6. I tried to attach simple eclipse test project which I used to debug the problem but mail wasn't accepted as too big for mail list.

Best regards,
Stoil


On 3/15/06, stoil valchkov <[EMAIL PROTECTED]> wrote:
Hi,

I got this:


java.lang.NullPointerException
    at org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.createSimpleType(SimpleTypeDefinition.java:141)
    at org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.getSimpleType(SimpleTypeUnmarshaller.java:162)
    at org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElement(SchemaUnmarshaller.java:642)
    at org.exolab.castor.xml.schema.reader.Sax2ComponentReader.endElement(Sax2ComponentReader.java:198)
    at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1392)
    at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1436)
    at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1205)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
    at org.exolab.castor.xml.schema.reader.ImportUnmarshaller.<init>(ImportUnmarshaller.java:196)
    at org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(SchemaUnmarshaller.java:524)
    at org.exolab.castor.xml.schema.reader.Sax2ComponentReader.startElement(Sax2ComponentReader.java:253)
    at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)
    at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1197)
    at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1862)
    at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1238)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
    at org.exolab.castor.xml.schema.reader.SchemaReader.read(SchemaReader.java:248)
    at Test1.main(Test1.java:39)

while trying to load file Fields.xsd. The case is extension by restriction of union. Castor is 0.9.6, but latest is the same I think. Do you have proposals how to fix this? I'm trying to find a solution but without luck yet.

Regards,
Stoil


-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to