Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • vostapenko
    replied
    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?

    Leave a comment:


  • vostapenko
    replied
    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:


  • Isomorphic
    replied
    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

    Code:
    throw new NullPointerException("I wanna see it");
    at the client side.

    I see alert window saying:

    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.
    but no sign of the exception can be found in developer console log.

    Developer console functions correctly in all other ways. Debug messages and other stuff is logged correctly.

    Maybe it's connected with gwt version.
Working...
X