PradeepPydi Member since 2017 204 posts
Posted: 7 months ago
Last activity: 3 months 2 weeks ago

Error Message : java.lang.StringIndexOutOfBoundsException: String index out of range: -1 | End User Screen Display Error.

Hi Team,

Below mentioned error message has been displayed on the end user screen.Refer to the first attachment regarding the error screenshot. 

Object key:-Read/Write:true Error message:java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Couldnt find anything related to the issue facing end user in the logs but found a different stack trace (String index out of range: -2) during a different time period (refer to the second attachment for the log).

1) Why and when does the following exception "StringIndexOutOfBoundsException" occurs ?

2) What is the difference between "String index out of range: -1" vs "String index out of range: -2" ?

3) Any recommendations to avoid running into the same issue ?

Application EcoSystem : PRPC731,MSSQL,Tomcat 8.5.13

Pega Customer Service for Healthcare 7.31 Data Integration Java and Activities Healthcare and Life Sciences
Share this page LinkedIn