Could you post the class contents? Maybe we can see something in your
code.

On 22 Aug., 15:08, Stefan Ollinger <stefan.ollin...@gmx.de> wrote:
> Some days ago I had a similar problem. Development version worked fine,
> but the compiled version gave those errors. What I did to resolve them,
> was to build my project from scratch. At the end I had a compiled and
> working version, having the same codebase like before.
>
> In the progress of resolving the error I also changed some eclipse settings:
>
> - Google Plugin for Eclipse -> Default GWT Version from 2.2 to 2.3
> - Updated Maven Dependencies: GWT 2.2. to 2.3.0, GWT Maven Plugin 2.2 to
> 2.3.0-1
>
> Finally I cannot say where this behaviour results from, but this is how
> I solved the problem.
>
> Regards,
> Stefan
>
> Am 22.08.2011 14:16, schrieb J.Ganesan:
>
> > Any anonymous inner class you have ? That could be a problem.
>
> > J.Ganesan
> >www.DataStoreGwt.com
>
> > On Aug 22, 4:38 pm, Gianluigi<dava...@yahoo.it>  wrote:
> >> The problem is that the serialization behaviour is different from web and 
> >> hosted mode...
> >> I don't know how I should resolve this...
>
> >> ________________________________
> >> Da: Gianluigi<dava...@yahoo.it>
> >> A: Google Web Toolkit<google-web-toolkit@googlegroups.com>
> >> Inviato: Luned 22 Agosto 2011 10:30
> >> Oggetto: Insane RPC Serialization Error.
>
> >> Hi to all,
>
> >> It's several days I'm struggling with this error.
> >> I make a rpc call from GWT client to a server passing an object.
>
> >> This pojo contain several data ... and a String with some JSON stuff.
>
> >> The call in DEBUG mode works absolutely fine. Not only in debug mode, but 
> >> when I use the application connected with the GWT browser plugin.
>
> >> In production mode... the seralization fails!!! Nothing on server side. I 
> >> investigate the call in firebug... and the output is:
>
> >> Fri Aug 19 18:13:11 GMT+100 2011 
> >> com.google.gwt.logging.client.LogConfiguration
> >> SEVERE: null java.lang.ClassCastException: null
>
> >> at Unknown.collect_0(Unknown Source)
> >> at Unknown.createStackTrace_0(Unknown Source)
> >> at
> >>   Unknown.fillInStackTrace_0(Unknown Source)
> >> at Unknown.fillInStackTrace(Unknown Source)
> >> at Unknown.$fillInStackTrace(Unknown Source)
> >> at Unknown.$$init_14(Unknown Source)
> >> at Unknown.Throwable_0(Unknown Source)
> >> at Unknown.Exception_0(Unknown Source)
> >> at Unknown.RuntimeException_0(Unknown Source)
> >> at Unknown.ClassCastException_0(Unknown Source) at 
> >> Unknown.dynamicCast(Unknown Source)
> >> at Unknown.makeValue(Unknown Source)
> >> at Unknown.makeValue_0(Unknown Source)
> >> at Unknown.$extractField(Unknown Source)
> >> at Unknown.extractField(Unknown Source)
> >> at Unknown.$extractData_0(Unknown Source)
> >> at Unknown.$makeObject(Unknown Source)
> >> at Unknown.makeValue(Unknown Source)
> >> at Unknown.writeObject(Unknown Source)
> >> at Unknown.serialize_33(Unknown Source)
> >> at Unknown.serialize_28(Unknown Source)
> >> at Unknown.$serialize(Unknown Source)
> >> ...
>
> >> That error output comes thanks to the -Dgwt.style=PRETTY ... otherwise 
> >> would be obfuscated.
>
> >> I'm struggling with this error. How is it possible that in debug mode 
> >> works properly?
>
> >> Any hints to resolve the issue?! THANKS!
>
> >> Muzero
>
> >> --
> >> You received this message because you are subscribed to the Google Groups 
> >> "Google Web Toolkit" group.
> >> To post to this group, send email to google-web-toolkit@googlegroups.com.
> >> To unsubscribe from this group, send email to 
> >> google-web-toolkit+unsubscr...@googlegroups.com.
> >> For more options, visit this group 
> >> athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to