Symptom
Error: "java.lang.IllegalStateException: java.lang.IllegalStateException: com.successfactors.db.dao.DAOException: HibernateException on updating instance of type class com.successfactors.hris.bean.eo.EmpPayCompRecurringEO" occurs when editing an existing Compensation Record.
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 Employee Central
- Compensation Information
Reproducing the Issue
- Go to People Profile Page, navigate to Compensation Information block
- Click clock icon, choose a record
- Click Edit button, the current Compensation data is as below
- Change the Pay Component fro BASE_CN to CAR_CN, then add a new BASE_CN
- Error pops up when click save button
Cause
Pay Component is a key value when checking duplicate record.
For the existing record, the data has been stored in database thus the error will pop up when the same pay component is added.
Resolution
Instead of changing Pay Component to another and add the same pay component again, please add the new pay component directly.
This error happens only when editing Compensation history record, it will no show up when adding new record.
Keywords
compensation information, compensation, salary, pay component, change, edit, history, system identifier, A different object with the same identifier value was already associated with the session, EmpPayCompRecurringEO , KBA , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , Problem