SAP Knowledge Base Article - Public

2747086 - Java Error to edit Custom Tile - Request processing failed; nested exception is java.lang.NullPointerException: while trying to invoke the method java.sql.Timestamp.toString() of a null object loaded from local variable 'timestamp'

Symptom

When trying to edit a Custom Tile, the following error is happening:

Error

Please report the following error to your system administrator:

Request processing failed; nested exception is java.lang.NullPointerException: while trying to invoke the method java.sql.Timestamp.toString() of a null object loaded from local variable 'timestamp'
java.lang.NullPointerException: while trying to invoke the method java.sql.Timestamp.toString() of a null object loaded from local variable 'timestamp'
at com.plateau.common.i18n.api.I18nUtil.convertTimestamp(I18nUtil.java:411)
at com.plateausystems.elms.util.helper.I18nUtil.convertTimestamp(I18nUtil.java:363)
at com.plateausystems.elms.util.helper.I18nFormatHelper.getConvertedScheduleTimestamp(I18nFormatHelper.java:307)

...

Environment

 SuccessFactors Learning 1811

Reproducing the Issue

  1. In Learning Administration, go to System Admin > Configuration > Landing Page Settings
  2. Select one of the Custom Tiles you created and click 'Edit'
  3. The error will happen

Cause

The error is happening after you select the option 'Show Tile On These Dates' and 'Only certain dates' without providing an End Date.

After saving the Custom Tile, the error will happen the next time you try to edit it again.

Resolution

This error has been identified on release 1811 and fixed by Engineering Team.

The reference number is LRN-50266.

Keywords

 java, error, custom tile, request processing failed, java.lang.NullPointerException, timestamp, toString(), null object , KBA , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-TIL , Landing Page and Tiles , Problem

Product

SAP SuccessFactors Learning 1811