Symptom
- An issue occurs when attempting to submit the Personal Data Collection step.
- The error message displayed is:`java.lang.IllegalStateException: java.lang.NullPointerException: Cannot invoke "com.successfactors.user.bean.UserBean.getUserId()" because "user" is null`.
Environment
SAP Successfactors Onboarding
Reproducing the Issue
- Login as candidate.
- Complete Personal Data collection step.
- Encounter the error upon submission.
Cause
There is an inactive user associated with the onboardee either as a manager or in the job relationship section.
Resolution
- Crosscheck if the Hiring Manager or any other user associated with the specific candidate is inactive.
- If an inactive user is identified, make the user active in the system.
- Alternatively, associate a different user who is already active in the system with the candidate.
- Once the above steps are completed, attempt to resubmit the Personal Data Collection step.
Keywords
personal data collection, rehire with new employment, java.lang.IllegalStateException, user is null, sap successfactors onboarding, hiring manager inactive, external candidate error, onboarding template submission error, inactive user, personal data submission error, Hire template, external code, object , KBA , LOD-SF-OBX-PDC , Personal Data Collection , Problem
Product
SAP SuccessFactors Onboarding
SAP Knowledge Base Article - Public