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
- Assign item to user
- User launches course
- 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
- To Complete item for user navigate to Manage User Learning > Add Learning History for Multiple Courses
- 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. - 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