Deserialization on Java Client
Alexander.Shvedov at dataart.com
Thu Jul 19 17:01:38 UTC 2007
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: memcached-bounces at lists.danga.com
[mailto:memcached-bounces at lists.danga.com] On Behalf Of Dustin Sallings
Sent: Thursday, July 19, 2007 8:43 PM
To: Alexander Shvedov
Cc: memcached at lists.danga.com
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the memcached