SAP Knowledge Base Article - Preview

3805708 - Checkout Shipping Page Infinite Loading After JDK 21 Upgrade in SAP Commerce Cloud with Spartacus 4.x

Symptom

After upgrading SAP Commerce Cloud to JDK 21, the checkout shipping section loads infinitely and the order process cannot be triggered. The rest of the storefront (product listing, cart, login) works normally. Only the checkout flow is affected.

The browser network returns net::ERR_CACHE_MISS with HTTP status 0 — the request is never sent to the backend. This is confirmed by the HAR file        

  Sample HAR file Analysis:                                                                                                                                                                                                              

  "response": {                                                                                                                                                                                                      

    "status": 0,                                                                                                                                                                                                     

    "_error": "net::ERR_CACHE_MISS",                                                                                                                                                                                 

    "_fetchedViaServiceWorker": false                                                                                                                                                                                

  },                                                                                                                                                                                                                 

  "timings": {                                                                                                                                                                                                       

    "blocked": 7.498,                                                                                                                                                                                                

    "dns": -1,                                                                                                                                                                                                       

    "connect": -1,                                                                                                                                                                                                   

    "send": 0,                                                                                                                                                                                                       

    "wait": 0,                                                                                                                                                                                                       

    "receive": 0                                                                                                                                                                                                     

  }                                                                                                                                                                                                                  

 

The backend (OCC API) is healthy — all API calls that reached the server returned HTTP 200. This can be confirmed by thread dump analysis showing the hybrisHTTP worker threads in WAITING (idle) state with no deadlocks or blocked threads.


Read more...

Environment

  Product: SAP Commerce Cloud                                                                                                                                                                                 

  Component: Composable Storefront / Spartacus JS Storefront                                                                                                                                                         

  Version Affected: Spartacus 4.x (specifically 4.38 and earlier)                                                                                                                                                    

  SAP Commerce Version: 2211-jdk21.15 or later  

Product

SAP Commerce Cloud all versions

Keywords

SAP Commerce Cloud CCv2 Spartacus Composable Storefront Spartacus 4.x , Spartacus 4.38,  ERR_CACHE_MISS , Compatibility matrix, Angular version, Angular CLI, HAR file analysis, JDK 21 upgrade , KBA , CEC-SCC-PLA-PL , Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.