SAP Knowledge Base Article - Public

3674290 - Error when submitting personal data collection step - Onboarding

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

  1. Login as candidate.
  2. Complete Personal Data collection step.
  3. 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

  1. Crosscheck if the Hiring Manager or any other user associated with the specific candidate is inactive.
  2. If an inactive user is identified, make the user active in the system.
  3. Alternatively, associate a different user who is already active in the system with the candidate.
  4. 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