Output Transformation Server OTS - Error "java.lang.StringIndexOutOfBoundsException...." may appear when applying the first patch P1
In Output Transformation Server, when applying the first patch, the following message may appear "java.lang.StringIndexOutOfBoundsException....".
Versions:
25.2 + 25.4
Summary:
We have identified an issue affecting customers applying the first patch on top of the General Availability (GA) build of Output Transformation Server (OTS) versions 25.2 and 25.4. When attempting to apply the patch, customers may encounter an error caused by case‑sensitive processing of patch file names.
Resolution:
To successfully apply the first patch for OTS versions 25.2 and 25.4, please follow these steps:
- Download the patch ZIP file from the standard distribution site.
- Place the ZIP file into the directory: <OTS_home>\modules
- "ots" becomes "OTS"
- "patch" becomes "Patch"
- "patchof" becomes "PatchOf"
For example:
Original file: ots_patch_25.4.1-6442_(patchof)_25.4.0-3950.zip
Renamed file: OTS_Patch_25.4.1-6442_(PatchOf)_25.4.0-3950.zip
Run the patch update script: <OTS_home>\maint\CheckForPatches.bat
- This rebuilds:
- <OTS_home>\bin\Bootstrap.jar
- <OTS_home>\maint\CheckForPatches.bat
Once this workaround is applied one time, the updated Bootstrap will correctly recognize future patch filenames. All subsequent patches will be installed normally without needing this workaround again.