Skip to Content
avatar image
Former Member

Unhandled Error: Cannot read property 'message' of undefined

when I try to deploy my sap ui5 application to SCP, I get the above error. The version I am using 1.46.9. But even If i use the latest one, I get the same error.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 01, 2017 at 10:41 AM
    -1

    Hi Manik,

    This might have caused when you are trying to evoke a message toast or variable called "message" which will be initialised but not declared.

    Yes, as the previous valuable comments say that you share the screen or the error report, or to start with try cntr+f (search) and type in message in the view as well as controller to see where have you used it. This can help you to drill down to the issue.

    Please do let me know if you need further assistance with the same.

    Thanks,

    Ashwin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 31, 2017 at 02:29 PM

    Hello, can you attach a screen of the error?.

    Greetings!

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 01, 2017 at 08:11 AM

    Hi,

    In order to try and understand where this error is coming from, please add the sap-ide-debug=true parameter to the URL of your Web IDE and launch it again. This will make Web IDE load with all its resources not preloaded, which means that Web IDE might load slower than usual.

    Then execute the action again and attach here the exact error stack from the console log of the browser.

    After that, don't forget to remove the URL parameter.

    Regards,
    Michal.

    Add comment
    10|10000 characters needed characters exceeded