Found in GWT Release (e.g. 1.5.3, 1.6 RC): 1.7.0
Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Windows XP / IE6
(hosted mode)
Detailed description (please be as specific as possible):
I've noticed that the method DOM.previewEvent does not call
UncaughtExceptionHandler.onUncaughtException(e) if an exception occurs. As
a result, exceptions don't get reported to the console. Specifically, I
don't see exceptions that occur in GXT's DND code. As a result, these
exceptions become very difficult to debug or even notice.
Shortest code snippet which demonstrates issue (please indicate where
actual result differs from expected result):
The only way that I know of reproducing this requires GXT, which certainly
isn't a snippet. I'd override DragSource's onDragStart() and throw new
NullPointerException(); on the first line. You'd see that no exception is
reported on the console.
Workaround if you have one:
I can think of no workaround other than to recompile GWT with a try/catch
wrapped around this method.
Links to relevant GWT Developer Forum posts:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/3eaa5b39991d4e6f
Originally reported on Google Code with ID 4113
Reported by
tietyt
on 2009-10-07 22:04:19