My Oracle Support Banner

"String Index Out Of Range: -1" While Removing SAP Roles (Doc ID 2631371.1)

Last updated on AUGUST 02, 2021

Applies to:

Identity Manager - Version 12.2.1.3.0 and later
Identity Manager Connector - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 version of SAP User Management

Following  issue is encountered with SAP User Management Application connector (v. 12.2.1.3.0) in CUA mode on SAP ECC 6.0 (SAP_BASIS 701 level 6).

When removing SAP roles (SAP ACTIVITYGROUPS), the connector fails with error “String index out of range: -1”


The stack trace look like:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1967)
at
org.identityconnectors.sap.SAPCreateUpdateBase.removeAttributeValues(SAPCreateUpdateBase.java:1920)
at
org.identityconnectors.sap.SAPConnector.removeAttributeValues(SAPConnector.java:386)
at
org.identityconnectors.framework.impl.api.local.operations.UpdateImpl.removeAttributeValues(UpdateImpl.java:149)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.