2348441 - Java error "java.text.ParseException: Unparseable data:" when registering for a course

SAP Knowledge Base Article - Public

2348441 - Java error "java.text.ParseException: Unparseable data:" when registering for a course

Symptom

While registering for a course in the LMS, an error such as below can be displayed sometimes:

java.text.ParseException: Unparseable data: "XXX.X" at: com.plateausystems.elms.util.helper.I18nUtil.checkParseError(I18nUtil.java:659)
       

Environment

  • SAP Successfactors HCM suite
  • Learning Management system (LMS)

Reproducing the Issue

  1. Login to the LMS instance
  2. try regsitering yourself or a colleague to a course that has a price
  3. You might receive that error message or a similar one

Cause

  • The error is displayed because of a wrong format used for the price of the item or the Scheduled Offering for the locale set for the user attempted to be registered.

Resolution

  • The Admin will need to update the item and/or the scheduled offering price as per the currency pattern used in the locale.

The format for the price of an item can be found by going to:

  1. references > geography> locale
  2. open the specific locale of the affected user > currency pattern tab
  3. A hint will be dislpayed to illustrate the format that needs to be used: for instance 1000,00 or 1000.00.

Keywords

enroll; message; java.text.ParseException: Unparseable data: "XXX.X" at: com.plateausystems.elms.util.helper.I18nUtil.checkParseError(I18nUtil.java:659); currency pattern; registration error , KBA , LOD-SF-LMS-COM , Commerce , LOD-SF-LMS , SuccessFactors Learning , LOD-SF-LMS-ITE , LMS Items , Problem

Product

SAP SuccessFactors Learning 1511 ; SAP SuccessFactors Learning 1602 ; SAP SuccessFactors Learning 1605 ; SAP SuccessFactors Learning 1608 ; SuccessFactors Learning 1207 ; SuccessFactors Learning 1210 ; SuccessFactors Learning 1302 ; SuccessFactors Learning 1305 ; SuccessFactors Learning 1308 ; SuccessFactors Learning 1311 ; SuccessFactors Learning 1402 ; SuccessFactors Learning 1405 ; SuccessFactors Learning 1408 ; SuccessFactors Learning 1411 ; SuccessFactors Learning 1502 ; SuccessFactors Learning 1505 ; SuccessFactors Learning 1508