Skip to content
Bug Barometer

"java.lang.IndexOutOfBoundsException" Error when attempting to deploy Experience Cloud site

Salesforce says this works as designed.

Summary

When attempting to deploy a Experience Cloud site via change-set, it fails with the following error:

"API Name Type Line Column Error Message
Return_To_Office1 Site.com 0 0 java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 72
0 0 Package Installation Failure"

This is happening because the Soft deleted components are not getting hard deleted during experience bundle deployment

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Working as Expected with 1 report

    Nov 30, 2026

Also open in DXP (Digital Experience Platform)