The debugger and the Development Mode console seem to be oblivious
whenever my GWT code trips a NullPointerException.  There's no error
output at all, and the breakpoint on "Exceptions caught and uncaught"
do nothing.  However, my code stops working (naturally).

Looking at the Firebug console, I do see
"java.lang.NullPointerException" in red with no other information.
The only way to reliably hunt down NPEs is to GWT-compile in Detailed
mode and then use Firebug *without* connecting to the GWT server.  The
javascript console output is verbose enough for me to identify the
offending code and fix the NPEs.

Is anyone else experiencing the same problem?

I'm not sure when this behavior started, but I don't think it's always
been that way.  I'm pretty sure the NPE-hiding behavior started when I
upgraded to GWT 2.0 release (previously I was working with trunk).
2.0.1 and 2.0.2 exhibit the same behavior.

Thanks,
Jeff

-- 
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.

Reply via email to