Folks,
    I'm getting a NPE when I unmarshal a xml. Before posting my code mapping
and my data xml, I wanted to check if there is something I must be missing
which is a common error.
My mapping is pretty bug and there are 19 Java classes corresponding to the
mapping. So I do not want to post all that.


java.lang.NullPointerException
java.lang.NullPointerException
        at
org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:900)
        at
org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:1038
)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:605)
        at main.main(main.java:28)


Avinash



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to