Yes, you need to serialize your objects, so they need to implement Serializable or Externalizable.&nbsp; As to the NPE, could you send me a stack trace?&nbsp; Need to know where it is happening to be able to debug.<br><br>gw<br><br>
<div><span class="gmail_quote">On 7/18/07, <b class="gmail_sendername">Alexander Shvedov</b> &lt;<a href="mailto:Alexander.Shvedov@dataart.com">Alexander.Shvedov@dataart.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
But when I implements Serializable to object that are put in cached (and<br>also all objects that are in that) the setting in cached is ok, but I<br>can not get them from cache. (NullPointerException &lt;but that can be the
<br>cause&gt;)<br><br>-----Original Message-----<br>Subject: Re: Memcached with Java Client<br><br>&gt; Hello! We&#39;re currently looking at memcached to use it in one of our<br>&gt; projects. When using java client I always have &quot;can not serialize&quot;
<br>&gt; message. Do all objects that are putted in memcached needs to be<br>&gt; serializable?<br><br><br>yes, they all must implement serializable.<br><br>Oezcan Acar<br>--<br>Mit freundlichen Grüßen<br><br>___________________________
<br><br>Özcan Acar, Dipl. Inf(FH)<br>Vorstand<br>Smart Web Business AG<br><br>Im Niederfeld 8<br>65462 Gustavsburg<br><br>+49 171 57 33 66 5<br><a href="mailto:acar@unitedinter.net">acar@unitedinter.net</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Greg Whalin