cancel
Showing results for 
Search instead for 
Did you mean: 

Cache problem! Some UI5 apps not starting with 404 NOT found error!

omakinen
Participant
0 Kudos

Hi all!

Client ran report /UI5/APP_INDEX_CALCULATE in their on-premise Gateway and now some of the UI5 apps won't start. They used to work fine but now they give error like this:

File sap/z_nnnnxxyyrep/~A59C1CCD5B9A12053A6295CC654CCA77~5 NOT found!


File sap/z_nnnn_xx_yy/~93B3FFA1E94141A9D0982DB0523F9996~5 NOT found!

Launchpad is started with URL: /sap/bc/ui2/flp

But if I start it with /sap/bc/ui2/flp?sap-ushell-nocb=X# then the apps start up fine!

This clearly points to cache mechanisms but I haven't been able to get them working again. I have run all the clearing tricks I know of:

  • /IWFND/CACHE_CLEANUP
  • /IWBEP/CACHE_CLEANUP
  • Clearing browser cache
  • report /UI2/CHIP_SYNCHRONIZE_CACHE
  • report /UI5/RESET_CACHEBUSTER
  • report /UI2/DELETE_CACHE_AFTER_IMP
  • report /UI2/DELETE_CACHE
  • report /UI2/PAGE_CACHE_RESET
  • report /UI2/INVALIDATE_GLOBAL_CACHES
  • report /UI2/INVALIDATE_CLIENT_CACHES
  • report /UI5/APP_INDEX_CALCULATE
  • SMICM server Cache -> Invalidate Locally
  • SMICM server Cache -> Invalidate Globally

- Gateway has SAP_UI 740 SP 12.

- SAPUI5 libraries are of version 1.28.9.

- The non-working apps are quite old, they use just index.html and they don't have SAPUI5.Component defined in LPD_CUST. But so are some of the other apps which are working happily.

Any further tips?

Thanks in advance!

br,

Ossi M

Accepted Solutions (1)

Accepted Solutions (1)

omakinen
Participant
0 Kudos

Hello all!

Eventually this problem was solved by updating the SAPUI5 libraries to a more recent version!

Maybe this helps someone with a similar mysterious cache bug! I still can't understand what broke the two apps.

Br,

Ossi

Answers (2)

Answers (2)

omakinen
Participant
0 Kudos

Hi!

One correction to my original post. I learned that the customer had run the report /UI5/APP_INDEX_CALCULATE before and the apps did work after it. So this wasn't the first time.


Nobody has changed these two older apps but they did add one new app to the Launchpad a while ago, if that has any relevance. And that new app starts fine.

What could we do to resurrect those two apps?

thanks,

Ossi

former_member185875
Contributor
0 Kudos

Hi  Ossi M,

I am not sure about the sequence you followed, please try below 3 steps in sequence

1. Run report /UI2/INVALIDATE_GLOBAL_CACHES

2. Run report /UI5/APP_INDEX_CALCULATE

3. Launchpad is started with URL: /sap/bc/ui2/flp


Thanks,

Lakshman Balanagu.

omakinen
Participant
0 Kudos

Hi!

Thanks for tip. I tried but it didn't make any difference.

One small observation which might give someone an idea. If I manually add the /index.html to the end of the URL, the app loads! Like this:

sap/z_nnnnxxyyrep/~A59C1CCD5B9A12053A6295CC654CCA77~5/index.html

br,

Ossi