RE: Re: Re: Getting NullPointerException when trying to get serialized object

2012-11-29 Thread Thierry Boileau
Hi Diego, of course, you can share the answer to stackoverflow. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3031994

RE: Re: Re: Getting NullPointerException when trying to get serialized object

2012-10-03 Thread Diego Felipe Muñoz Sáez
Thank you very much for your answer. I wanted to know if I could share it in Stackoverflow.com too, because I asked the same question there. Regards, Diego -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3011973

Re: Re: Getting NullPointerException when trying to get serialized object

2012-10-03 Thread Thierry Boileau
Hello Diego, I think it's fine if you share my answer of course! Best regards, Thierry Boileau Thank you very much, Thierry. > > I asked the same in Stackoverflow.com, if you don't have any problem I > will share your answer there too. > > > Hello Diego, > > > > the common classes between the s

Re: Getting NullPointerException when trying to get serialized object

2012-10-03 Thread Thierry Boileau
Hello Diego, the common classes between the server and client parts (such as the classes for the bean objects that are serialized/deserialized) must be located in the same packages. The reason is that the serialization/deserialization process leverages conventions, in particular convention regardi

RE: Getting NullPointerException when trying to get serialized object

2012-10-01 Thread Diego Felipe Muñoz Sáez
After trying many many many many things I made it work. I asked in the Restlet Mailing list too, and I will comment this same thing there. In the try/catch block I put this: Log.w("json get(MediaType)",cr.get(MediaType.APPLICATION_JSON).toString());