SAP Knowledge Base Article - Public

2160201 - Error message when launching a course from a curricula

Symptom

User launches a course and they receive an error message.

Error:
java.lang.NullPointerException: while trying to invoke the method com.plateausystems.elms.bo.component.valueobject.ComponentModuleVOX.getLaunchType() of an object loaded from local variable 'componentModuleVOX'

If you want to reset a course for any other reason this can help as well. Please Note following this article will reset the item and will not require removal of a curriculum.

Environment

SuccessFactors Learning Management System (LMS) - All Supported Versions

Reproducing the Issue

  1. Assign item to user
  2. User launches course
  3. Error message is generated:
    java.lang.NullPointerException: while trying to invoke the method com.plateausystems.elms.bo.component.valueobject.ComponentModuleVOX.getLaunchType() of an object loaded from local variable 'componentModuleVOX'

Cause

The user's item's object details has a null in the database and wasn't linked.

Resolution

  1. To Complete item for user navigate to Manage User Learning > Add Learning History for Multiple Courses
  2. Remove the completion from user:
    Manage User Learning> Edit Learning History > Search UserID > Go to the last page, you should see the item we completed in step 1.
    Open the item and select the delete button.
  3. The curriculum will reassign the item as now it is not in the learning plan or history.

Keywords

componentModuleVOX, launching error, NullPointerException, java.lang.NullPointerException: while trying to invoke the method, , KBA , LOD-SF-LMS-CNT , Content , LOD-SF-LMS-CUR , Curricula , Problem

Product

SAP SuccessFactors Learning all versions