Yes, you need to serialize your objects, so they need to implement Serializable or Externalizable. As to the NPE, could you send me a stack trace? Need to know where it is happening to be able to debug.
gw On 7/18/07, Alexander Shvedov <[EMAIL PROTECTED]> wrote:
But when I implements Serializable to object that are put in cached (and also all objects that are in that) the setting in cached is ok, but I can not get them from cache. (NullPointerException <but that can be the cause>) -----Original Message----- Subject: Re: Memcached with Java Client > Hello! We're currently looking at memcached to use it in one of our > projects. When using java client I always have "can not serialize" > message. Do all objects that are putted in memcached needs to be > serializable? yes, they all must implement serializable. Oezcan Acar -- Mit freundlichen Grüßen ___________________________ Özcan Acar, Dipl. Inf(FH) Vorstand Smart Web Business AG Im Niederfeld 8 65462 Gustavsburg +49 171 57 33 66 5 [EMAIL PROTECTED]
-- Greg Whalin
