We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

SOAP Provisioning java.lang.StringIndexOutOfBoundsException: String index out of range

RajeshA
Regular Contributor
Regular Contributor

Hello Saviynt Team,

We are using Saviynt as a Ticketing System for SAP GRC as described under https://forums.saviynt.com/t5/saviynt-knowledge-base/saviynt-is-a-ticketing-system-for-sap-grc/ta-p/...

while processing add access tasks, we are receiving java.lang.StringIndexOutOfBoundsException: String index out of range: This happens only for some tasks and not for all. I was unable to identify the difference why we are seeing this error for some tasks and not for others. Can you please let me know why we see this error. I am attaching the logs.

I believe this error is happening even before Saviynt is trying to hit SAP GRC. In the logs, You can see both failure scenarios and success scenarios.

  1. when you check for java.lang.StringIndexOutOfBoundsException: String index out of range:  you are going to get list of all tasks which are failed. Since our provisioning job runs every 15 mins, you will notice, same task with same error again in next 15 mins run.)
  2. To get success scenarios you can try searching for this keyword {"task.provisioningcomments":"Request created successfully","TASK.TICKETID"

Logs also contains grantaccesssjosn that is printed, which is configured in SAP GRC soap connector. 

1 REPLY 1

SB
Saviynt Employee
Saviynt Employee

It could be due to the number of entitlements (character length). Can you try the below and see if it helps to confirm the same

1. Pick a user with no Entitlement assigned and assign 2 Ent.

2. Pick the same user again and assign 2 more entitlements.

3. Now submit another request for this same but this time assign around 40 entitlements and see if we get the same error.


Regards,
Sahil