SAP Knowledge Base Article - Public

2559860 - HRIS Sync: Daily HRIS Sync Job Failure (IndexOutOfBoundsException) caused by Contingent Worker Data


HRIS SYNC JOB failure caused by IndexOutOfBoundsException from SendNotificationMailForEmailTemplateImpl




  • Employee Central - HRIS SYNC
  • Employee Central - External & Contingent Workforce enabled

Reproducing the Issue

  1. Go to Provisioning > Monitor Jobs
  2. Use the "Job Type" drop-down menu to filter on the second "HRIS Sync" job in the list




Server address: Job Server (Worker Id:sc2bs2job99t-123456789)

Job Detail:

Full exception:com.successfactors.jobscheduler.ScheduledJobExecutionException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at com.successfactors.hris.service.scheduledjob.hrissync.HrisSyncJob.executeJob( at com.successfactors.jobscheduler.jobimpl.SimpleJob.execute( at sun.reflect.GeneratedMethodAccessor1240.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at com.successfactors.perflog.PerfLogProxy.invoke( at com.sun.proxy.$Proxy344.execute(Unknown Source) at com.successfactors.schedulerservice.JobExecutionProxy.execute( at com.successfactors.schedulerservice.workermgmt.WorkerThread$ExecuteJob.execute( at com.successfactors.schedulerservice.workermgmt.WorkerThread$ExecuteJob.access$2( at Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck( at java.util.ArrayList.get( at com.successfactors.employment.service.contingentworkforce.impl.SendNotificationMailForEmailTemplateImpl.getGORecord( at com.successfactors.employment.service.contingentworkforce.impl.SendNotificationMailForEmailTemplateImpl.populateRecipientList( at com.successfactors.employment.service.contingentworkforce.impl.SendNotificationMailForEmailTemplateImpl.execute( at 


The issue is caused by IndexOutOfBoundsException from SendNotificationMailForEmailTemplateImpl. Please note that Engineering are investigating the cause via ECT-85559. But, the below Resolution permenantly resolves the problem.


To resolve this issue, please follow these steps:

  1. Go to Provisioning > Company Settings
  2. Disable the Feature : Enable Contingent Workers
  3. Go to Provisioning > Manage Scheduled Jobs > Run the Daily HRIS SYNC job manually
  4. Result: Daily HRIS SYNC job ran Successfully
  5. Go to Provisioning > Company Settings
  6. Enable Feature: Enable Contingent Workers
  7. Go to Provisioning > Manage Scheduled Jobs > Run the Daily HRIS SYNC job manually
  8. Result: Daily HRIS SYNC job ran Successfully



If you do not have access to Provisioning, please open a Support Incident is SAP Cloud Product Support.


See Also

  • 2080730 - Employee Central: HRIS Sync - Troubleshooting Guide


ECT-85559, HRIS SYNC, Contingent Workers, contingent workforce, SendNotificationMailForEmailTemplateImpl.getGORecord, IndexOutOfBoundsException , KBA , LOD-SF-EC-HRS , HRIS Sync , LOD-SF-EC , Employee Central , LOD-SF-EC-CWF , Contingent Workforce , Problem


SAP SuccessFactors Employee Central all versions