Collection aborts with 'java.lang.StringIndexOutOfBoundsException: String index out of range: -1' error in RSA Identity Governance & Lifecycle
Originally Published: 2015-11-10
Article Number
Applies To
RSA Version/Condition: 6.9.1, 7.0.x, 7.1.x, 7.2.x
Issue
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Cause
EXAMPLE:
In the query below, the email address is manipulated by the SQL query used to collect its value as follows:
select FIRST_NAME, LAST_NAME, (SUBSTR(EMAIL,1,INSTR(EMAIL,'@')-1)) as SHORT_EMAIL from USERS
The INSTR function is used to return the position of a substring (SUBSTR) in a string. This query takes an email address and truncates everything after the '@' sign. For example, cblossom@mailinator.com would become cblossom. If there is a value in the email field that does not have the '@', the error will occur and the collection will fail. For example, an email address of cblossommailinator.com. would cause this failure.
Resolution
Related Articles
The services fail to start after editing the table-map.xml or index-concentrator-custom.xml files 280Number of Views RSA Identity Governance & Lifecycle startup fails with "Unable to start service WorkflowService. java.lang.IndexOutOfBound… 119Number of Views "Invalid column index" error in RSA Identity Governance and Lifecycle review "Total Entitlements not in Review" 41Number of Views Why am I seeing an error when accessing myRSA stating that it is configured to block access from my country? 70Number of Views RSA MFA Agent 9.0 for PAM - Installation and Configuration Guide for Oracle and RHEL (Spanish) 20Number of Views
Trending Articles
How to download and install the AFX Server Archive in RSA Identity Governance & Lifecycle RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide The Template ({Connector Template Name}) has missing file content error when creating AFX Connectors in RSA Identity Gover… Downloading RSA Authentication Manager license files or RSA Software token seed records Troubleshooting RSA MFA Agent for Microsoft Windows
Don't see what you're looking for?