Hi Stoil, Is there any particular reason why you are supplying us with a patch against the 0.9.6 codebase ? Just wondering ...
Regards Werner > -----Original Message----- > From: Ralf Joachim [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 21. März 2006 08:46 > To: [email protected] > Subject: Re: [castor-user] NPE while parsing OAGIS schema-s > > Hi Stoil, > > thank you for working at this issue yourself even if I could > not take a look at your patch yet as it had been droped from > your mail. > > Could you please create a new issue at: > > http://jira.codehaus.org/browse/CASTOR > > and attach your patch and the test project there. We'll take > a look on what you have done and come back to you with > questions if neccessary. > > Regards > Ralf > > > stoil valchkov schrieb: > > 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] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Hi, > > > > I got this: > > > > > > java.lang.NullPointerException > > at > > > org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.creat > eSimpleType(SimpleTypeDefinition.java:141) > > at > > > org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.get > SimpleType(SimpleTypeUnmarshaller.java:162) > > at > > > org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElem > ent(SchemaUnmarshaller.java:642) > > at > > > org.exolab.castor.xml.schema.reader.Sax2ComponentReader.endEle > ment(Sax2ComponentReader.java:198) > > at > > > org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1392) > > at > > > org.apache.xerces.validators.common.XMLValidator.callEndElemen > t(XMLValidator.java:1436) > > at > > > org.apache.xerces.framework.XMLDocumentScanner$ContentDispatch er.dispatch(XMLDocumentScanner.java:1205) > > at > > > org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDo > cumentScanner.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.startEl > ement(SchemaUnmarshaller.java:524) > > at > > > org.exolab.castor.xml.schema.reader.Sax2ComponentReader.startE > lement(Sax2ComponentReader.java:253) > > at > > > org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340) > > at > > > org.apache.xerces.validators.common.XMLValidator.callStartElem > ent(XMLValidator.java:1197) > > at > > > org.apache.xerces.framework.XMLDocumentScanner.scanElement(XML > DocumentScanner.java:1862) > > at > > > org.apache.xerces.framework.XMLDocumentScanner$ContentDispatch er.dispatch(XMLDocumentScanner.java:1238) > > at > > > org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDo > cumentScanner.java:381) > > at > org.apache.xerces.framework.XMLParser.parse(XMLParser..java:1035) > > at > > > org.exolab.castor.xml.schema.reader.SchemaReader.read(SchemaRe > ader.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] > > ------------------------------------------------- > > ------------------------------------------------- > If you wish to unsubscribe from this list, please send an > empty message to the following address: > > [EMAIL PROTECTED] > ------------------------------------------------- > > > ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

