I just want to say that I use HttpClient from apache commons project. It
doesn't looks like serializable that's why I created MyClient extends
HttpClient implements Serializable. But that can be the cause. 

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dustin Sallings
Sent: Thursday, July 19, 2007 8:43 PM
To: Alexander Shvedov
Cc: [email protected]
Subject: Re: Deserialization on Java Client

 

 

On Jul 19, 2007, at 3:41 , Alexander Shvedov wrote:





The serialization problem is solved now. I have object A which contains
object B as private field. Then store object A in cache. During
deserialization I can get object A without problems, but when I get
objectA().getB() it returns null. Does anybody have any suggestions?

 

            It's not possible to say for sure without seeing your code.
If you reproduce the serialization cycle in a unit test, the answer will
probably be obvious, though.

 

-- 

Dustin Sallings





 

Reply via email to