My Oracle Support Banner

Get 'java.lang.StringIndexOutOfBoundsException: String index out of range: -1' when Trying to Create Candidate (Doc ID 1299087.1)

Last updated on MARCH 30, 2021

Applies to:

Oracle iRecruitment - Version 12.1.3 and later
Information in this document applies to any platform.
***Checked for relevance on 09-Jun-2015***


When attempting to create a candidate, the following error occurs:

Error Page
You have encountered an unexpected error. Please contact your System Administrator for assistance. Click here for exception details.

Excerpts of error stack received:

Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at oracle.apps.fnd.framework.OAException.wrapperException(


## Detail 0 ##
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(


The issue can be reproduced at will with the following steps:
1. Responsibility: iRecruitment Recruiter or iRecruitment Manager.
2. Navigation: iRecruitment Home - Candidates tab - Prospect Pool tab.
3. Press Create Candidate button.
4. Get error message.


Upgraded from release 11.5 to release 12.1.3.


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

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