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
- [castor-user] NPE while parsing OAGIS schema-s stoil valchkov
- [castor-user] NPE while parsing OAGIS schema-s stoil valchkov
- Re: [castor-user] NPE while parsing OAGIS schema-... Ralf Joachim
- Re: [castor-user] NPE while parsing OAGIS sch... stoil valchkov
- RE: [castor-user] NPE while parsing OAGIS schema-s Werner Guttmann
- Re: [castor-user] NPE while parsing OAGIS schema-... stoil valchkov

