SAP Knowledge Base Article - Public

2811320 - Content error generated "LMSInitialize Error: General Exception"

Symptom

When a user is navigating their way through content material, the following error is generated:

content error july.jpg

Environment

SAP SuccessFactors Learning Management System (LMS) - All Supported Versions

Reproducing the Issue

There are a few ways in which this error can be generated. Examples include:

  1. If the learning is closed and subsequently relaunched in the middle of the said assessment, the error is generated
  2. During the learning, and if the option is available, the user decides to go back to the previous screen the error can be generated

Cause

The issue appears to be with the sequence of the LMS course calls that is being made to the LMS system by the course.

Resolution

When a course is launched "LMSInitialize( )" should be called first. Either it is a first time launch or subsequent launches and then "LMSGetValue( )" to get values from the LMS. LMSSetValue( ) to set/update values into LMS system followed by LMSCommit( ) to finalize the set values into LMS and when the course is being terminated, either by user before they complete it or by the course after the course is completed, LMSFinish( ) is called.

All of the functions, with the () mentioned above, is for SCORM 1.2 type whereas for SCORM 2004 courses it would be Initialize(), GetValue(), SetValue(), Commit(), Terminate()

If the sequence is missed from what was mentioned above, in this case "LMSInitialize()" when the course is launched again, the error would come as "LMSInitialize()". This is crucial for content and LMS system connection initiation and appears not to be working in case of the course reported especially when it is relaunched.

Solution: Reach out to the content developer/team who provided the content to debug and fix this issue as this appears to be an issue with the content itself.

Keywords

LMSInitialize, error, General Exception, LMSGetValue( ), LMSSetValue( ), LMSCommit( ), LMSFinish( ), Initialize(), SCORM 1.2, SCORM 2004, GetValue(), SetValue(), Commit(), Terminate() , KBA , LOD-SF-LMS-PCM , LMS Icontent , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , Problem

Product

SAP SuccessFactors Learning all versions