SAP Knowledge Base Article - Public

3649458 - Error "cannot invoke java.math.BigDecimal.compareTo(java.math.BigDecimal)" during enrollment in SAP SuccessFactors Employee Central

Symptom

Error message: "Cannot invoke 'java.math.BigDecimal.compareTo(java.math.BigDecimal)' because the return value of 'com.successfactors.sfutil.util.Pair.getKey()' is null" appears during enrollment in the latest experience.

Environment

  • SAP SuccessFactors HCM Suite
  • SAP SuccessFactors Employee Central - Global Benefits

Reproducing the Issue

  1. Go to employee Profile and Navigate to Benefit Overview
  2. Select Enrollment 
  3. Complete the terms and conditions step
  4. When submit the enrollment the error message is faced

Cause

The issue is caused by one draft enrollment record in the system.

Resolution

This record will need to be deleted from the system from support side.

Please open a support ticket with the user affected and approval for the deletion. 

See Also

3123993 - Error 'No amounts maintained for the specified age group with the selected combination of fields' when enrolling Insurance Benefit

3594767 - Error 'No amounts maintained for the specified age group with the selected combination of fields' during enrollment

 3593969 - Error when enrolling dependent in an insurance benefit - Employee Central

Keywords

java.math.BigDecimal, compareTo, error message, enrollment issue, SAP SuccessFactors, Employee Central, Global Benefits, draft enrollment record, submission error, benefits enrollment., benfit, GBF, EC, SF, latest,  INC14298849 , KBA , LOD-SF-EC-GBF , Global Benefits , Problem

Product

SAP SuccessFactors Employee Central all versions