SAP Knowledge Base Article - Public

3227190 - CR for Eclipse - Javascript file sap-ui-core.js version hosted on openui5.hana.ondemand.com is not found

Symptom

When viewing a report in the CrystalReports viewer using Crystal Reports for Eclipse, an error is returned stating that  sap-ui-core.js page cannot be found.
I recently had an issue where the Eclipse SDK, as we had deployed for our customers, stopped working because the included javascript files referred to an external javascript library hosted on openui5.hana.ondemand.com, and the version they referenced, 1.70.0, was removed.

Environment

SAP Crystal Reports for Eclipse

Reproducing the Issue

View a Crystal Report that propmts for a parameter value using the viewer for Crystal Reports for Eclipse.
An error will be thrown:  https://openui5.hana.ondemand.com/1.70.0/resources/sap-ui-core.js cannot be found.

Cause

version 1.70.0 was removed from the download site

Resolution

Replace the version used in this URL to use the 1.71.xx url in both allinone.js and UI5Bootstrap.js

For example, change the below referenced URL from

"https://openui5.hana.ondemand.com/1.70.0/resources/sap-ui-core.js" to

"https://openui5.hana.ondemand.com/1.71.46/resources/sap-ui-core.js" in the following two files:

  • \crystalreportviewers\allInOne.js
  • \crystalreportviewers\js\ui5prompting\UI5Bootstrap.js

Note: Versions hosted on openui5.hana.ondemand.com are updated regularly and only patches for the last 12 months are kept to ensure outdated versions are no longer posing and potential security risks.

Referenced Open UI5 version will also be updated in latest Crystal Reports for Eclipse SPs, which can be downloaded from below link:
https://help.sap.com/docs/SUPPORT_CONTENT/crystalreports/3354088796.html

If the version specified in your js files is no longer available, select and update to a recent patch that is available.   It may be necessary to plan on updating the version once or twice per year to avoid this error and an unexpected break in your application.

See Also

“End of Cloud Provisioning” (EoCP) plan is published at Available SAPUI5 versions on SAP Business Technology Platform (ondemand.com)

Keywords

java, openui5, eclipse, parameter, ui5 , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem

Product

SAP Crystal Reports, version for Eclipse all versions