Debugging the serialization process for GWT-RPC

0 views
Skip to first unread message

Eric

unread,
Nov 23, 2009, 10:11:14 AM11/23/09
to Google Web Toolkit
Hello all,

I'm fairly new to GWT. I have had one RPC service working for about 3
weeks. Last week I implemented a second one. No problems. In the
last couple days I Implemented a third service not unlike the first 2,
but I did have to make some changes to my model classes.

Suddenly the first service returns 500 errors if the return value is
not null. The exception says to "See server logs for details" but I
can't find any clues in the server logs at all. From everything I can
see on the "server" side everything completed normally.

I can put a breakpoint right before the return statement and
everything seems to be in order. Is there any way looking into what
problem may have been encountered while trying to serialize the retrun
value?

I'm using Eclipse 3.5 with the 1.7.1 version of the plugin.

Sorry for the lack of specifics, but any tangible error message is
exactly what I'm looking for.

Thanks,
Eric

Eric

unread,
Nov 23, 2009, 3:25:05 PM11/23/09
to Google Web Toolkit
OK. I made some progress. I added a couple properties to my model of
type "List<SomeOtherClass>". Removing those allows the rest of the
class to be serialized. I'm still not sure why those properties won't
work. My guess is that since they are populated through JPA, they
were some kind of funky list.

My main question remains, however. Where could I look to see "Can't
serialize this list" instead of "An error occured"?

Thanks,
Eric
Reply all
Reply to author
Forward
0 new messages