SAP Knowledge Base Article - Public

3622012 - Curriculum Connector - Error: java.lang.NullPointerException/Cannot invoke "java.sql.Timestamp.getTime()" because "<parameter1>" is null

Symptom

When running the Curriculum Connector to update an existing Curricula, the following errors may be seen:

  • Cannot invoke "java.sql.Timestamp.getTime()" because "<parameter1>" is null
  • java.lang.NullPointerException

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Create a curricula.
  2. Create an item.
  3. Run the curricula connector to add the item to the curricula.
  4. Manually delete the item from the curricula.
  5. Go to Curricula Details and delete the Creation Date field.
  6. Rerun the connector to add the item to the curricula.
  7. Observe the error.

Cause

Root cause found to be a blank Creation Date field.

Resolution

This issue is resolved in the 2H 2025 release. The error will no longer appear if the Curricula has a null value in the Creation Date field.

Workaround

Manually update the Creation Date field on the curricula that are exhibiting the error.

Keywords

unexpected error, null pointer exception, curriculum connector, sap successfactors learning, creation date, java.lang.NullPointerException, curricula, error message, troubleshooting, connector issue, blank field, curriculum updat , KBA , LOD-SF-LMS-CUR , Curricula , Problem

Product

SAP SuccessFactors Learning 2405 ; SAP SuccessFactors Learning 2411 ; SAP SuccessFactors Learning 2505