just a guess:
I think, that an exception is thrown in this case
if you don't explicitly handle it anywhere, GWT's uncaught-exception
handler will get it
and AFAIK, the default UEH will only write the exception to the hosted
mode console
so maybe this will get you a step further:
set a custom exception handler: GWT.setUncaughtExceptionHandler() that
writes a log message that will be displayed in the firebug console ( I
am using gwt-log for this)
this may at least reveal what kind of exception occurs (if any)
here's what I do (pseudo-code):
when the app starts, I replace the default exception handler with my
own one (but remember the default):
private final UncaughtExceptionHandler
originalUncaughtExceptionHandler;
originalUncaughtExceptionHandler = GWT.getUncaughtExceptionHandler
();
GWT.setUncaughtExceptionHandler(new UncaughtExceptionHandler() {
public void onUncaughtException(Throwable t) {
Log.warn("AppController: Uncaught exception handled: ", t);
/*
* if we cannot handle this exception we pass control to the
original uncaught exception handler in hosted mode
* the exception will be logged to the gwt console. in web mode
the
originalUncaughtExceptionHandler will be null
*/
if (originalUncaughtExceptionHandler != null) {
originalUncaughtExceptionHandler.onUncaughtException(t);
}
}
}
On Jul 31, 10:32 pm, Chris <[email protected]> wrote:
> Thanks for the suggestion. For the most part, I can't install a
> packet sniffer into the clients network/machine. However, I did
> install a couple of tools into the browser (firebug being the main
> one) and I do see that the response is at least registering with
> firebug.
>
> It's just not evaluated or throwing an error. I guess my next step is
> to start putting in debug statements everywhere I think the path might
> be breaking....
>
> Thanks for the idea. I always wonder about how other people debug
> hard issues that can't be replicated in a controlled environment.
>
> Chris....
>
> On Jul 31, 12:25 am, Joe Cole <[email protected]> wrote:
>
> > If you can, install ethereal (it has a new name) on the client and
> > monitor your server logs at the same time. That usually helps in
> > issues like this.
>
> > Joe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---