SAP Knowledge Base Article - Public

3628330 - Goal Creation error: class java.lang.Double cannot be cast to class java.lang.Long (java.lang.Double and java.lang.Long are in module java.base of loader 'bootstrap')

Symptom

  • Error creating goals
  • Error: class java.lang.String cannot be cast to class java.lang.Double (java.lang.String and java.lang.Double are in module java.base of loader 'bootstrap')

Environment

SAP SuccessFactors Goal Management

Reproducing the Issue

  1. Access your system.
  2. Go to Goals page.
  3. Select your goal plan.
  4. Click "Create Goal".
  5. The error message will be displayed.

Cause

The field type for 'target-baseline' is set to "enum" instead of "number".

Resolution

  1. Check the goal plan XML.
  2. Change the field type for 'target-baseline' from "enum" to "number".
  3. Refer to the help guide for detailed instructions: Automatic Target and Rating Scale Population | SAP Help Portal.

See Also

Automatic Target and Rating Scale Population | SAP Help Portal.

Keywords

error creating goals, template conversion, latest goal plan version, java error, target-baseline, field type, enum to number, sap successfactors performance & goals, goal management, goal plan templates, class java.lang.Double cannot be cast to class java.lang.Long (java.lang.Double and java.lang.Long are in module java.base of loader 'bootstrap'), java error, bootstrap error, goal creation bootstrap error , KBA , LOD-SF-GM-TMP , Template Management , How To

Product

SAP SuccessFactors Performance & Goals 2505