Skip to Content
author's profile photo Former Member
Former Member

Error while trying to load the application in Gateway

We have 1.24 SAPUI5 version but I have pointed my application to 1.22 as we have different environments have differnet versions and production have 1.22.3.

We are getting weired error shown below

1.Failed to load resource: the server responded with a status of 404 (NOT FOUND)


> But, when I looked at the resources that are loaded in the Developer Console, I see that sap-ui-code.js is available under 1.22/resources.

> why we are getting this error?

2. Uncaught TypeError: sap.ui.core.theming.Parameters._getThemeImage is not a function


> We were getting this when I use my custom theme, but even I remove the custom theme reference, I am getting the above error?

Is this anything to do with 1.22 version of SAPUI5?

We have 2 systems in our regression environment with one 1.24 and 1.22 - does this leads to any issues?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 23, 2015 at 05:37 AM

    Hi Suhaas,

    If you want to point 1.22, you should include the patch number as well. Whether it is 1.22.0, 1.22.1, 1.22.2, 1.22.3 etc...

    it should be -/sap/bc/ui5_ui5/sap/myapp/1.22.0/resources/sap-ui-core.js           //if it is 1.22.0
    it should be -/sap/bc/ui5_ui5/sap/myapp/1.22.3/resources/sap-ui-core.js          //if it is 1.22.3

    For more info -

    Documentation/ReleaseNotes/ReleaseNotes-1.22 – SAPUI5 Wiki (TIP CORE User Interface)

    Versions available on SAP HANA cloud platform -

    Available SAPUI5 versions on SAP HANA Cloud Platform

    I don't think it is a best practice to have two different libraries in different instances. It's better to move to one library version in common for all instances (Dev., QA and PrD).


    Sai Vellanki.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.