stack overflow with RPC with hierarchical objects

3 views
Skip to first unread message

HappyEngineer

unread,
Nov 16, 2006, 6:55:39 AM11/16/06
to Google Web Toolkit
I'm using GWT 1.2.11.

Let's say I have an object Node. Node contains a Collection of Node.
So, it's a hierarchy of Node objects.

I've found that if the hierarchy goes too deep (maybe 6 levels), GWT
will complain about a stack overflow at line 0.

Is this a known issue? If not then I'll try to create a test case and
post it here.

A workaround that works for me is to create a list of all the children
for all the nodes and then reassemble it all on the client side.
However, it's a pain in the neck to have to do it.

Miguel Méndez

unread,
Nov 16, 2006, 4:46:31 PM11/16/06
to Google-We...@googlegroups.com
Hello HappyEngineer,

What platform are you experiencing this on?  Please let me know and we can get to the bottom of it.

Thanks,

HappyEngineer

unread,
Nov 16, 2006, 6:33:49 PM11/16/06
to Google Web Toolkit
I'm using GWT 1.2.11 with Eclipse 3.2 on WinXP.

I don't see the error when viewing the app in a normal browser with the
app running in Jetty, but that might just be because script error
alerting isn't turned on in the browser.

HappyEngineer

unread,
Nov 16, 2006, 6:35:21 PM11/16/06
to Google Web Toolkit
Also, I get the error regardless of whether I use arrays or collections
in the serialized object.

Reply all
Reply to author
Forward
0 new messages