Symptom
When the valuation type "Valuation Function" is configured and the employee has a negative balance on at least one time account, the time sheet fails to load and one of the following errors is displayed:
Cannot invoke 'java.lang.Comparable.compareTo(Object)' because the return value of 'java.util.function.Function.apply(Object)' is null
OR
Cannot invoke 'org.joda.time.ReadablePartial.size()' because '' is null
Environment
SAP SuccessFactors Time Tracking
Reproducing the Issue
- Valuation type "Valuation Function" is configured in the assigned Time Recording Profile of the employee.
- The employee has a negative balance on at least one time account.
- Open the time sheet UI of the employee
- Observe that the time sheet UI fails to load and one of the error messages is shown:
Cannot invoke 'java.lang.Comparable.compareTo(Object)' because the return value of 'java.util.function.Function.apply(Object)' is null
OR
Cannot invoke 'org.joda.time.ReadablePartial.size()' because '' is null
Cause
- This is a Known Error from product release 2H 2026.
- The new valuation type "Valuation Function", introduced in 2H2026 release, does not handle negative time account values correctly.
Resolution
The fix for this issue is planned to be deployed with the patch 2H 2026 P3.
For patch timelines, please review SAP SuccessFactors - Patch Details > 2H2026 PREVIEW PATCH NOTES
Workaround
No workaround is available.
See Also
- SAP Community - SAP SuccessFactors Product Release & Road Map Information
- SAP Community - SAP SuccessFactors Patches Knowledge Base
- KBA 2171560 - How to be notified of new or updated SAP Notes or KBAs
Keywords
SAP Knowledge Base Article - Public