Symptom
- Error message: "Cannot invoke 'com.plateausystems.elms.client.javabean.StudentJB.getUserContext()' because the return value of 'com.plateausystems.elms.util.helper.TMSUserContextUtil.getStudentJB()' is null."
- System redirects to the homepage instead of displaying video content when opening the second video in the course.
- If the first video is completed and the second video is opened, the second video does not display properly.
- During the exam, a "Forbidden" error message appears when playing the second video after completing the first video.
Environment
- SAP SuccessFactors Learning
Reproducing the Issue
- Open the course content.
- Complete the first content.
- Attempt to open the second content in the same course.
- Observe that the system redirects to the homepage instead of displaying the video content.
- When navigating to the quiz, observe the error message: "Cannot invoke 'com.plateausystems.elms.client.javabean.StudentJB.getUserContext()' because the return value of 'com.plateausystems.elms.util.helper.TMSUserContextUtil.getStudentJB()' is null."
Cause
- The issue was caused by the termination of the Learning Management System session.
- The root cause of the termination was a wrong parameter set by the content when the content was completed. Specifically, the content sent an AICC_DATA, LESSON_STATUS=COMPLETED,LOGOUT. When the Learning system read this "LOGOUT" data, it forced the Learning session to terminate.
Resolution
- Contact the content vendor who created the learning content.
- Request the vendor to change the LESSON_STATUS from COMPLETED,LOGOUT to COMPLETED,SUSPEND in the AICC_DATA sent by the content upon completion.
Keywords
SAP SuccessFactors Learning, LMS session termination, AICC_DATA, LESSON_STATUS, COMPLETED, LOGOUT, SUSPEND, video content error, quiz error, course redirection, forbidden error, content vendor, troubleshooting, learning content issue, session termination , KBA , LOD-SF-LMS-PCM , iContent , Problem
Product
SAP SuccessFactors Learning all versions
SAP Knowledge Base Article - Public