Problem with compiled app but not with dev mode

21 views
Skip to first unread message

Oliver Uvman

unread,
Nov 15, 2011, 2:16:19 PM11/15/11
to Google Web Toolkit
Hello!

I've got an GWT application that has been working (last working commit
https://github.com/OliverUv/Circulus/commit/881b38ce26a2af95969ebac3e931bd7b5c32e6c6
).

Now, however, the application only works in development mode but not
when compiled. Any help or advice about what kinds of errors can cause
this would be greatly appreciated.

Non-working version can be seen on http://2.michaeltyack.appspot.com

Regards,
Oliver Uvman

David Vree

unread,
Nov 15, 2011, 3:47:13 PM11/15/11
to Google Web Toolkit
I am certainly no expert, but I would think:

1) async server calls...order of results returned can be very
different on different machines
2) web server differences -- permissions, firewalls, servlet container
configuration
3) any kind of proxy or reverse proxy in front of the server?


On Nov 15, 2:16 pm, Oliver Uvman <embry...@gmail.com> wrote:
> Hello!
>
> I've got an GWT application that has been working (last working commithttps://github.com/OliverUv/Circulus/commit/881b38ce26a2af95969ebac3e...

Thomas Broyer

unread,
Nov 15, 2011, 7:45:17 PM11/15/11
to google-we...@googlegroups.com
Look at your browser's developer tools; there are uncaught exceptions. Looking at them I can see there's a ClassCastException, but I didn't dig deeper to try to find which class and where in the code.

Add a GWT.UncaughtExceptionHandler with some logging.

Oh, and BTW, do not commit war/WEB-INF/classes, war/WEB-INF/deploy, .gwt et at.

Oliver Uvman

unread,
Nov 18, 2011, 7:53:20 PM11/18/11
to Google Web Toolkit
Thanks for the replies! Setting up logging was easy, and after that it
took me a while to figure out that after upgrading to a new GWT
version, the gwt-query lib I used was no longer compatible. After
upgrading this one as well, my application works again.
I'll also take your good advice and exclude those folders from my git
repo.
Thanks again!
Warm regards // Oliver Uvman
Reply all
Reply to author
Forward
0 new messages