My test case produces a different error but it might be related.

It is a null pointer exception… you’ll see..

Here ya go.. just replace the hard coded string to the mapping file based on where you unzip it..

 

Thanks a lot for your help

 

I haven’t included an xml file ( other than the mapping ) because I don’t actually get to the point of serialization (so long as the logList is included as part of my serialization … really the LogList object is just part of a greater set of objects which all work perfect. ).

 

Thanks

 

Luke Galea

Software Development

BlueCat Networks

905-762-5225

 

-----Original Message-----
From: Arnaud Blandin [mailto:[EMAIL PROTECTED]]
Sent: April 5, 2002 12:36 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Castor getting confused on unmarshalling

 

Hi Luke,

 

In order to give you full help, can you send us a test case a little as possible that addresses your issue. Even better you can try to write a small CTF test case and send it to us

(in your case you just need a TestDescriptor.xml file, the xml and the java object).

 

Arnaud

 

-----Original Message-----
From: Luke Galea [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 8:38 AM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Castor getting confused on unmarshalling

 

I am using the latest daily snapshot and am trying to serialize to xml. I have had few problems until a came to a specific simple object..  Marshalling is unsuccessfull but on unmarshalling it is attempting to parse the java class string (xsi:java type) as an int.. and an integer parse exception is occurring.

 

I tried putting an entry in the mapping file for it and shutting auto complete off.. but that results in a null pointer exception in line 832 of marshall.

 

Any ideas?

 

Luke Galea

Software Development

BlueCat Networks

905-762-5225

 

Attachment: test.zip
Description: test.zip

Reply via email to