SAP Knowledge Base Article - Public

3339787 - Benefit enrollment import job fails with job details showing - workerIdsAndEOs is null

Symptom

Benefit enrollment import job fails with job details showing - Cannot invoke "java.util.List.iterator()" because "workerIdsAndEOs" is null

Environment

SAP SuccessFactors Employee Central: Employee Benefits

Reproducing the Issue

  1. Prepare an import file for benefit enrollment
  2. Validate or import this benefit enrollment file
  3. Go to Scheduled job monitor and check for the job
  4. Job status is failed and clicking on 'view details' shows error: Error occurred. java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because "workerIdsAndEOs" is null 

Cause

Job parameters or code of Job parameters used in eligibility rule is incorrect.

Resolution

Correct code and/or job parameters present in  eligibility rule and perform validation/import.

Keywords

workerIdsAndEOs, workerIdsAndEOs is null, iterator, benefit enrollment import failed. , KBA , LOD-SF-EC-GBF , Global Benefits , Problem

Product

SAP SuccessFactors Employee Central all versions