Symptom
- Unable to delete item/filecreated under a solution in SDK using Cloud Applications Studio.
- Delete operation from Solution Explorer fails.
- Error message: “StartIndex cannot be less than zero. Parameter name: startIndex”.
Environment
- SAP Cloud for Customer core applications
- ByDesign Studio Lifecycle Management
Reproducing the Issue
- Open Cloud Applications Studio and connect to the SDK DEV tenant.
- In Solution Explorer, navigate to the solution and locate CustomBO > ZCTIContext.
- Right-click ZCTIContext and choose Delete.
- Observe the error: “StartIndex cannot be less than zero. Parameter name: startIndex”.
Cause
A known issue in specific versions of the Cloud Applications Studio installer can cause the error “StartIndex cannot be less than zero” when deleting certain items. The issue is fixed in newer installer patches.
Resolution
- Update the local Cloud Applications Studio to the latest available (Copernicus) installer from the SAP ONE Support Launchpad Software Download Center.
- After updating, restart the Studio and retry deleting the item from Solution Explorer.
- If available, right-click the item and perform Undo Checkout, then attempt the deletion again.
- If deletion still fails, try deleting the item from the Project > Source Code Files view instead of Solution Explorer.
- If the issue persists after updating, contact support to request backend deletion of the affected item.
See Also
Keywords
cloud applications studio, cannot delete file, delete fails, startindex cannot be less than zero, startindex error, parameter name startindex, solution explorer, custombo, zcticontext, undo checkout, source code files view, studio installer update, copernicus, sdk dev, backend deletion , KBA , AP-RC-BDS-LM , ByDesign Studio Lifecycle Management , Problem
Product
SAP Cloud for Customer core applications all versions
SAP Knowledge Base Article - Public