Symptom
The Employee Central History Processor Job fails with java.lang.IndexOutOfBoundsException Error.
**Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental**
Environment
SAP SuccessFactors Variable Pay
Reproducing the Issue
Running the Employee History Processor Job and returns the following failure within it's job details: java.lang.IndexOutOfBoundsException Error
Cause
This is often caused by Job Information records Start Date > End Date for one (or more) employee(s).
For Example:
Employee Mike's Job Info Start Date: 10/30/2017 and End Date: 10/29/2017
Resolution
To determine which employees are affected, you can run a Person and Employment Info as of Date domain Table Report.
- Go to Reporting
- Click New
- Select Table, then Select
- Click the dropdown and select Person and Employment Export, then Select
- Give your report a name
- Within the Columns Section select the following:
- User ID
- start-date
- end-date
- Hit Save, then Generate
- Export as Excel and compare the start-date and end-date values.
Should you find a difference where the end-date is not greater than the start-date, then please have this employee(s) records corrected.
Once done the history processor should complete without this error.
Keywords
Employee Central History Processor Job, IndexOutOfBoundsException, Import Employee History from Employee Central, java.lang.IndexOutOfBoundsException , KBA , LOD-SF-VRP-EC , Employee Central data, configuration , LOD-SF-VRP-HIS , History Data, History Processor , LOD-SF-VRP , Variable Pay Programs , Problem