Symptom
An error occurs when completing the New Hire Data Review or when manually adding a candidate to onboarding. The error message displayed is:
"java.lang.IllegalStateException: java.lang.ClassCastException: class com.successfactors.hris.bean.eo.EmpEmploymentInfoEO$HibernateProxy$29aVV46v cannot be cast to class org.hibernate.proxy.LazyInitializer (com.successfactors.hris.bean.eo.EmpEmploymentInfoEO$HibernateProxy$29aVV46v and org.hibernate.proxy.LazyInitializer are in unnamed module of loader java.net.URLClassLoader @6b00f608)"
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Navigate to the Onboarding Dashboard
- Attempt to complete the New Hire Data Review or manually add a candidate to onboarding.
Cause
The issue is caused by an unsupported rule active in the Onboarding context.
Resolution
- Navigate to Manage Business Configuration > entity in there the rule is configured.
- Select Take Action > Make Correction.
- Scroll down to the rules list.
- Find the rule > Details > Context > Change "Onboarding" option to "No".
To identify the rule causing the issue, a ticket can be raised to support.
Keywords
Onboarding, obx, New, Hire, Data, Review, Error, java.lang.IllegalStateException, java.lang.ClassCastException, Manage, Business, Configuration, rule, Onboarding, context. , KBA , LOD-SF-OBX-NHR , Onboardee Data Review , Problem