SAP Knowledge Base Article - Public

2619173 - Termination Error Message: ChangeSet index 1 - while trying to invoke the method


The following application error is thrown when final approver tries to approve a termination request.

"ChangeSet index 1 - while trying to invoke the method of a null object loaded from local variable 'removedAccruals'"

Error fingerprint=facad2c1d9bfe616a181de01db1701197cb07e70

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Employee Central - Time Off

Reproducing the Issue

  1. HR Admin makes termination input request
  2. Request goes through approval process 
  3. Final Approver clicks on Approve request and receives above mentioned error message


There is a Set Statement in the Accrual Rule in use that is changing the external code of the Time Account. This must NEVER be done in an accrual rule.



Please remove all Set Statements from the Accrual Rule.


In this case there was also noted that customer was using today() as the posting date. This is also not recommended because in case of a recalculation for past days, today() is not the correct date. Please use Accrual Rule Parameters.Accruable Start Date instead.


fingerprint=facad2c1d9bfe616a181de01db1701197cb07e70, Accrual Rule, ChangeSet index 1, of a null object loaded from local variable 'removedAccruals,Set Statement , KBA , LOD-SF-EC-TIM , Time Off , Problem


SAP SuccessFactors Employee Central all versions