Overview:
When implementing Data Change Requests(DCRs) for Accounts using the Lightning feature, the user gets the following error:
Ending position out of bounds: -1
Root Cause:
This error occurs when the customer org has the following feature enabled: Enables VF pages to be served from the salesforce.com domain.
Solution:
Please raise a Veeva support ticket. Veeva Support sends the request to Salesforce Support to disable this option.
Related Documentation:
CRM Help Documentation: Editing DCRs