HI All,
Even I am getting a NullPointer Exception while unmarshalling .
On going through the archive list
http://hypermail.linklord.com/castor-dev/2004/Apr/3930.html I found my problem cud be
a this same bug and
wanted to know whether its fixed in the nightly build
Regards
Nita
-----Original Message-----
From: Avinash Gangadharan [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 12, 2004 2:52 AM
To: '[EMAIL PROTECTED]'
Subject: [castor-user] NullPointerException on Unmarshal
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
This e-mail and any files transmitted with it are for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user