SAP Knowledge Base Article - Public

3774702 - error "cannot invoke com.successfactors.hris.bean.eo.EmpAddressInfoEO.getCountry() because addressEO is null" during rehire with new employment, successfactors employee central

Symptom

  • Error occurs when attempting to rehire an inactive employee using the rehire inactive employee page with the rehire with new employment option.
  • The error message displayed is: Cannot invoke com.successfactors.hris.bean.eo.EmpAddressInfoEO.getCountry() because addressEO is null.

Environment

  • SAP SuccessFactors Employee Central
  • Rehire Inactive Employee

Reproducing the Issue

  1. Open the Rehire Inactive Employee page.
  2. Select the user to rehire.
  3. Choose the Rehire with New Employment option.
  4. Proceed to the first step of the process; the error appears and blocks continuation.
    • i.e., after the first block Identity > Continue > Error occurs

Cause

The employee’s emergency contact records contained multiple contacts without any contact marked as the primary contact.

Resolution

  1. Review the employee’s emergency contact records.
  2. If multiple emergency contacts exist, set one contact as the primary contact. 
  3. Ensure the address fields are filed in.
  4. Save the emergency contact updates.
  5. Retry the Rehire with New Employment process on the Rehire Inactive Employee page.
  6. Confirm the process completes without the previous error.

See Also

Keywords

rehire inactive employee, rehire with new employment, addressEO is null, getCountry error, EmpAddressInfoEO, error during rehire, emergency contact primary, multiple emergency contacts, employee central rehire, RIE error, EC hire, rehire error message, null pointer, address information, hiring process error , KBA , LOD-SF-EC-HIR-RIE , Rehire Inactive Employee , Problem

Product

SAP SuccessFactors Employee Central all versions