SAP Knowledge Base Article - Public

3247854 - Error adding a new segment in the class agenda


When adding a new agenda in a class receive an error with details:
Error message = Request processing failed; nested exception is java.lang.NullPointerException: while trying to invoke the method com.successfactors.lms.assets.service.valueobject.VleScheduleSegmentVOX.getInstructorID() of a null object loaded from local variable 'oldSegmentVOX'


SAP SuccessFactors Learning

Reproducing the Issue

  1. Have any item with an agenda template and create new class.
  2. Ensure the class has some agenda which is not populated with an instructor or instructor is removed.
  3. Try to add a new agenda in the class and receive error.


While creating new agenda to a class when there is an existing agenda without any primary instructor, application was throwing null check for missing instructorID of older agenda/segment.


Codefix in 2H2022 via LRN-136971 with patch for 1H2022 via PTCH-39227 targeted for patch23 (cw38).

Workaround: ensure instructor provide in earlier agenda or create new class for the agenda instead.


SAP, SF, success, factors, successfactors, LMS, learning, class, agenda, add, segment, time, slot, error, oldSegmentVOX.getInstructorID(), VleScheduleSegmentVOX.getInstructorID(), oldSegmentVOX, KI2205 , KBA , LOD-SF-LMS-SCH , Class - Scheduled Offerings , Known Error


SAP SuccessFactors Learning 2205