SAP Knowledge Base Article - Public

2399539 - Error on Hire with dependent details - setPersonIdExternal

Symptom

On trying to save a new Hire with dependent details, we face below error:

Wrapped Exception: while trying to invoke the method com.successfactors.hris.bean.eo.PersonEO.setPersonIdExternal(java.lang.String) of a null object loaded from local variable 'personEO'.

 

The same error is not present when we hire with no dependents.

Environment

Employee Central: New Hire

Reproducing the Issue

Add dependent details while doing new Hire.

Save new hire, an error pops-up:

Capture.jpg

Cause

A config UI is created from ‘Manage business configuration’ with person Type as Dependent.

None of the fields are enabled:

Capture.jpg

 

Now do new hire:

If you do not maintain dependent info on new hire, No issues. However, if you maintain dependent details>

Nothing is shown under Biographical information section of dependent:

Capture.jpg

 

 

At this point if you proceed, you will face error on saving new hire:

Capture.PNG

 

Resolution

Solution 1:Disable the config UI created in ‘Manage Business Configuration’:

Capture.jpg

Now we can do new hire with dependent info maintained.

 

Solution 2: Enable any of the field person info dependent such that some field will be shown under Biographical section:

Capture.jpg

 

A field is shown under biographical info section:

Capture.jpg

 

Now we can hire the employee even with dependent details

Capture.jpg

Keywords

setPersonIdExternal, New_Hire_Dependent
BCUI
Manage Business Configuration , KBA , LOD-SF-EC-HIR , Hire & Rehire Wizards , LOD-SF-EC , Employee Central , LOD-SF-EC-DPD , Dependents Management , Problem

Product

SAP SuccessFactors HCM Core all versions