SAP Knowledge Base Article - Public

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

Symptom

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

"ChangeSet index 1 - while trying to invoke the method com.successfactors.absence.app.employeetimeaccount.accrual.change.RemovedAccruals.getAccount() 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.

Environment

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

Cause

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.

2018-03-16_10-55-59.jpg

Resolution

Please remove all Set Statements from the Accrual Rule.

NOTE:

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.

Keywords

fingerprint=facad2c1d9bfe616a181de01db1701197cb07e70, Accrual Rule, ChangeSet index 1, com.successfactors.absence.app.employeetimeaccount.accrual.change.RemovedAccruals.getAccount() of a null object loaded from local variable 'removedAccruals,Set Statement , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central all versions