Updating an Appraisal for a Terminated Employee Errors With java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt (Doc ID 1476888.1)

Last updated on JULY 12, 2016

Applies to:

Oracle Performance Management - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

From R12.1.3 onwards, HR Professionals and Main Appraisers will be able to update appraisals of terminated workers that are in planned, saved, on-going and Pending Approval (only HR Professionals)status and complete them.
HR Professionals will only be able to update overall ratings and comments while Main Appraisers will be able to update all parts of the appraisal.

 

On : 12.1.3 version, Appraisals
  
  When attempting to update an Appraisal for a terminated employee,
  the following error occurs.
  
  ERROR
  -----------------------
  Exception Details.
  oracle.apps.fnd.framework.OAException:
  java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  at
  oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAExce
  ption.java:996)
  at
  oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
  at
  oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
  at
  oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAAppli
  cationModuleImpl.java:762)
  at
  oracle.apps.per.selfservice.appraisals.webui.MAAppraisePageCO.processRequest(
  MAAppraisePageCO.java:148)
  at
  oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelpe
  r.java:600)
  at
  oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWeb
  BeanContainerHelper.java:252)
  at
  oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayou
  tHelper.java:1182)
  at
  oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(
  OAPageLayoutBean.java:1569)
  at
  oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebB
  eanHelper.java:968)
  
  ## Detail 0 ##
  java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  at java.lang.String.charAt(String.java:687)
  at oracle.sql.NUMBER.toBytes(NUMBER.java:1751)
  at oracle.sql.NUMBER.stringToBytes(NUMBER.java:3507)
  at oracle.sql.NUMBER.(NUMBER.java:295)
  
  
  
  STEPS
  -----------------------
  The issue can be reproduced at will with the following steps:
  1. Employee terminated between the start and end date of the Appraisal.
  2. Manager Self service - Appraisal
  3.Click on Update Appraisal for the terminated Employee

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms