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'
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Log into HCM > navigate to Learning as a user >
- Search for the required item, that has been assigned through a curriculum > launch its content >
- Error message happens.
Cause
The user's item's object details has a null value in the database and wasn't linked.
Resolution
- To record the completion for the user navigate to Learning Administration > Manage User Learning > Add Learning History for Multiple Courses > and proceed as per Add Learning History for Multiple Courses >
- Then remove the completion from the user, by accessing Manage User Learning> Edit Learning History > search for the user and item in question > open the completion record in the Edit mode >
- Click on 'Deleted' > then on 'Ok' >
- After deleting this completion, the curriculum will reassign the item to the user, as now it is not in the Learning Plan nor History.
Note:
- The steps above will reset the item and don't require the curriculum to be removed and reassigned to the user;
- These same steps can be followed for other items that need their progress reset.
Keywords
sf, sfsf, lms, learning, reset, componentModuleVOX, launching error, NullPointerException, java.lang.NullPointerException: while trying to invoke the method, content , KBA , LOD-SF-LMS-CNT , Content , LOD-SF-LMS-CUR , Curricula , Problem