SerializationException in 1.4.10

0 views
Skip to first unread message

Luiz Nunes

unread,
Jun 11, 2007, 10:59:14 AM6/11/07
to Google-We...@googlegroups.com
Please,

I am heaving problems with hosted mode after I update to GWT 1.4.10RC.
The application is always throwing SerializationException... after analyzing the method onAfterResponseSerialized it seems that the servlet is not locating or is not serializing the RemoteService interface.

The exception message that appears to the client is: This application is out of date, please click the refresh button on your browser.

It works fine in web mode and compiled gwt mode. the problem is when I deploy in my web server.
I used deploy fine with 1.2.2 version.

I am fighting with this problem for the past 3 days now.

Thank you all.

Dan

unread,
Jun 11, 2007, 11:18:20 AM6/11/07
to Google Web Toolkit
Are you packaging an old GWT-User.jar with your .WAR file?

On Jun 11, 10:59 am, "Luiz Nunes" <lasnu...@gmail.com> wrote:
> Please,
>
> I am heaving problems with hosted mode after I update to GWT 1.4.10RC.
> The application is always throwing SerializationException... after analyzing

> the method *onAfterResponseSerialized* it seems that the servlet is not

Rafa de Castro

unread,
Jun 11, 2007, 11:44:18 AM6/11/07
to Google Web Toolkit
There are times that the error appears when a response is not
serialized correctly. You can try and check if all returning values of
your RPCs are deserialized correctly.


On Jun 11, 4:59 pm, "Luiz Nunes" <lasnu...@gmail.com> wrote:
> Please,
>
> I am heaving problems with hosted mode after I update to GWT 1.4.10RC.
> The application is always throwing SerializationException... after analyzing

> the method *onAfterResponseSerialized* it seems that the servlet is not

Luiz Nunes

unread,
Jun 11, 2007, 12:28:46 PM6/11/07
to Google-We...@googlegroups.com
I pack the gwt-servlet.jar (it is wrong?).
I think that the .war would be using the old jar but I already try remove and add manually, but the problem persist.

Luiz Nunes

unread,
Jun 11, 2007, 12:30:59 PM6/11/07
to Google-We...@googlegroups.com
I am trying only one method, which give me this error. It receives no parameter and return a array of strings.

Miguel Méndez

unread,
Jun 11, 2007, 2:15:44 PM6/11/07
to Google-We...@googlegroups.com
There is a known issue with web mode and class loaders caused by the RPC refactoring.  See issue 1138 for more details.
--
Miguel

Luiz Nunes

unread,
Jun 11, 2007, 9:56:25 PM6/11/07
to Google-We...@googlegroups.com
problem solved... just move the gwt-servlet.jar from the ear lib to WEB-INF/lib.
thank you so much for the help.

just wonder now why this change in the 1.4 version.

Miguel Méndez

unread,
Jun 12, 2007, 10:06:50 AM6/12/07
to Google-We...@googlegroups.com
It was an oversight in the RemoteServiceServlet refactoring.  I'm testing the fix now.
--
Miguel
Reply all
Reply to author
Forward
0 new messages