Announcement

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

    Client side Exception Handling

    SmartClient Version: v10.0p_2015-06-10/PowerEdition Deployment (built 2015-06-10)
    Browser Version : IE 11.0.9600.17843


    How to handle the onUncaughtException thats thrown from client . We are not getting proper error mesages here while deploying into the Application Server. IN the log we can see only the JavScript error and not the original Error, but in the development console we are getting.


    GWT.setUncaughtExceptionHandler(new GWT.UncaughtExceptionHandler() {
    @Override
    public void onUncaughtException(Throwable e) {
    Throwable unwrapped = unwrap(e);
    logger.log(Level.SEVERE, "APPLICATION ENTRY POINT : Unhandled Exception Thrown in Entry point : ", unwrapped);



    IN the Server always getting below Error:

    com.google.gwt.core.client.JavaScriptException: (TypeError)
    __gwt$exception: <skipped>: Cannot read property 'getData' of undefined


    The actual Error is NullPointerException
    Last edited by jaikumar; 21 Oct 2015, 18:37.

    #2
    Help>
    Last edited by jaikumar; 28 Oct 2015, 19:10.

    Comment


      #3
      Please let me know if the question is not valid or already responded to this question in the earlier forum? We are not getting response for the most of the messages, Is that any criteria to get the response?
      Last edited by jaikumar; 28 Oct 2015, 19:13.

      Comment


        #4
        Read the Debugging overview in the docs to read about the many ways in which you can get additional information.

        Comment

        Working...
        X