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
Artifacts to gather in RSA Identity Governance & Lifecycle 3.88KNumber of Views Cannot avoid circuit breaker abort for scheduled Identity Data Collector (IDC) collections in RSA Identity Governance & Li… 165Number of Views Troubleshooting AFX Connector issues in RSA Identity Governance & Lifecycle 1.3KNumber of Views How to Update the Root (Server) and Client Certificates in RSA Identity Governance & Lifecycle 2.26KNumber of Views RSA Identity Governance & Lifecycle installation fails with the following error: <install directory path>/staging/deploy/… 731Number of Views
Trending Articles
RSA Authentication Manager Patch Updates Deploying RSA Authenticator 6.2.2 for Windows Using DISM RSA Authenticator for iOS and Android Administrator Guide - Mobile Lock RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows RSA Release Notes for RSA Authentication Manager 8.8
Don't see what you're looking for?