SAP Knowledge Base Article - Public

2546468 - Accrual Calendar Jobs failing with error "null object loaded from field"


We have been facing an issue with accruals, the time off calender job is failing with the error d “getWorkSchedules() of a null object loaded from field” We have tried to investigate from null Workschedule entries for any of the employees but no luck, we couldn’t figure out the same.


Accrual calendar job run fails with error as seen in the backend/provisioning job: "java.lang.NullPointerException: while trying to invoke the method of a null object loaded from field"



Employee Central 2.0


Reproducing the Issue

Step 1:Manage Time Off calendar

Step 2:Filter jobs for time account type and select date range values.

Step 3:See all the jobs fail without any jobResponse file in the Monitor Jobs admin tool.


how to check scenario of rule.PNG

The accrual rule attached to the time account type was not created from "Accrual" scenario of creating business rules but from some other.

For example: "Accruals On Planned Working Times" scenario as shown in the screenshot above.

The rule nowhere used the parameters of the "Planned working times variables".


create new rule.PNG

select accrual scenario.PNG

Create a new accrual business rule, by selecting "Accrual" Scenario.

 Copy the same logic as in the rule and save it.

 Attach this rule to the accrual rule of the time account type.

 If required change the recruit /hire rule too.


Accrual Calendar job runs fails, "null object loaded from field", time off, error, employee central, absence management, work-schedule, work schedule, jobInfo , KBA , LOD-SF-EC-TIM , Time Off , Problem


SAP SuccessFactors HCM Core all versions