Compiler java.lang.StackOverflowError

162 views
Skip to first unread message

hezjing

unread,
Jul 1, 2009, 8:52:50 AM7/1/09
to gwt
Hi

I know this is not a new problem, and I resolved this problem the 1st time by setting -Xss1024k.

Now it comes back again, but the problem still exist after I increased the stack size to -Xss8M, -Xss16M or -Xss64M.


I would like to try out the patch described in the comment 21 of http://code.google.com/p/google-web-toolkit/issues/detail?id=3510,
but may I know where should I save the gwt-dev-patch.jar if I'm using Google plugin?

I tried to copy gwt-dev-patch.jar to the directory where the gwt-dev-tools.jar is found,
C:\eclipse\configuration\org.eclipse.osgi\bundles\589\1\.cp\libs

but that doesn't seem to resolve the problem :-(


Do you have any idea?



--

Hez

hezjing

unread,
Jul 1, 2009, 11:13:18 PM7/1/09
to gwt
Hi

I temporary avoid this StackOverflowError by compiling the project to only one browser,

--- module.xml ---
<set-property name="user.agent" value="ie6" />


with my current VM arguments set to -Xss64M and -Xmx512M.

I probably have to compile to the different browsers one by one.


Really, I have no glue what are the appropriate values of -Xss and the -Xmx  :-(


--

Hez

Carl Pritchett

unread,
Jul 2, 2009, 8:00:21 PM7/2/09
to Google Web Toolkit
Also the GWT patch will probably help with this issue:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/1342916873cd523b?hl=en

I no longer see the -Xss property after adding the patch jar to my
classpath

hezjing

unread,
Jul 3, 2009, 8:34:54 AM7/3/09
to Google-We...@googlegroups.com
Thanks, Carl!

I think the link you provided is pointing to this thread :-)

I'm not sure if you're talking about issue 3510?
I managed to apply the gwt-dev-patch.jar in Eclipse following these steps:

Right click Project
Build Path -> Configure Build Path...
Select Libraries tab -> Add External JARs... -> Select gwt-dev-patch.jar
Select Order and Export tab -> Move gwt-dev-patch.jar after src path


The problem was me don't know to configure the path in Eclipse to pick up gwt-dev-patch.jar correctly!


Thank you!
--

Hez

Carl Pritchett

unread,
Jul 10, 2009, 3:40:06 AM7/10/09
to Google Web Toolkit
Right you are - it's 3510, I tried to get recursive on you - here's
the real link http://code.google.com/p/google-web-toolkit/issues/detail?id=3510

Glad to help

On Jul 3, 10:34 pm, hezjing <hezj...@gmail.com> wrote:
> Thanks, Carl!
> I think the link you provided is pointing to this thread :-)
>
> I'm not sure if you're talking about issue 3510?
> I managed to apply the gwt-dev-patch.jar in Eclipse following these steps:
>
> Right click Project
> Build Path -> Configure Build Path...
> Select Libraries tab -> Add External JARs... -> Select gwt-dev-patch.jar
> Select Order and Export tab -> Move gwt-dev-patch.jar after src path
>
> The problem was me don't know to configure the path in Eclipse to pick
> up gwt-dev-patch.jar correctly!
>
> Thank you!
>
> On Fri, Jul 3, 2009 at 8:00 AM, Carl Pritchett <bogusggem...@gmail.com>wrote:
>
>
>
>
>
> > Also the GWT patch will probably help with this issue:
>
> >http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
Reply all
Reply to author
Forward
0 new messages