I've looked through SmartGwtEntryPoint source code.
Seems like Exception handler works fine. The problem is that GWT.log() doesn't write messages to developer console.
What can be the cause?
Announcement
Collapse
No announcement yet.
X
-
A repeat, at the CLIENT side. If you don't like NullPointerException, throw any you like, supported by GWT compiler.
That means gwt compiler translates this into javascript, causing a javascript error. SmartGwt exception handler should catch it and log into developer console (as it's stated here), but it just eats it without any messages in the log.
Leave a comment:
-
The Developer Console will log JavaScript errors, but this is not a JavaScript error, it's a thrown Java exception.
Leave a comment:
-
Exception is not logged in the developer console
SmartClient Version: v8.3d_2012-10-22/Pro Deployment (built 2012-10-22)
GWT version: 2.5.0.rc1
I'm just doing
at the client side.Code:throw new NullPointerException("I wanna see it");
I see alert window saying:
but no sign of the exception can be found in developer console log.Uncaught exception escaped : com.google.gwt.event.shared.UmbrellaException
Exception caught: null
See the Development console log for details.
Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.
Developer console functions correctly in all other ways. Debug messages and other stuff is logged correctly.
Maybe it's connected with gwt version.Tags: None
Leave a comment: