Question
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
Hello,
The attached stack is coming from PegaRULES-ALERTS log right. I'm surprise you not having any further details on PegaRULES logs.
Can you double check?