SAP Knowledge Base Article - Public

2184360 - VLS Attendance Processing APM error:java.lang.NullPointerException: while trying to get the length of an array loaded from local variable 'vleEnrollSeats'- LMS

Symptom

VLS Attendance Processing APM throwing the below Error:

 

java.lang.NullPointerException: while trying to get the length of an array loaded from local variable 'vleEnrollSeats'
at com.plateausystems.elms.framework.vle.impl.PlaceWareEvent.retrieveEventAttendance(PlaceWareEvent.java:354)
at com.plateausystems.elms.framework.jobscheduling.impl.ElmsRecurringJobServiceImpl.processVLSAttendanceData(ElmsRecurringJobServiceImpl.java:536)
at sun.reflect.GeneratedMethodAccessor578.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at com.plateausystems.elms.util.helper.LastUpdateUserInterceptor.invoke(LastUpdateUserInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at com.plateausystems.elms.framework.localization.DataLocalizationInterceptor.invoke(DataLocalizationInterceptor.java:63)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy345.processVLSAttendanceData(Unknown Source)
at com.plateausystems.elms.framework.jobscheduling.impl.VLSAttendanceProcessingApmJob.execute(VLSAttendanceProcessingApmJob.java:29)
at com.plateau.common.jobscheduling.impl.simple.SimpleJobRunnable.run(SimpleJobRunnable.java:74)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:789)

Environment

SuccessFactors LMS

Learning Management System

Cause

 Check the value of “ATTENDANCE_DURATION“ column in PA_VLE_ENROLL_SEAT table based on LST_UPD_TSTMP
 If the value is “NULL” then take the “EVENT_ID of that particular record and check in PA_VLE_EVENT for the Scheduled Offering.
 Check if the Scheduled Offering ID has VLS Settings Enabled in UI(Scheduled offering > View All)

Resolution

Configuring a VLS Scheduled Offering to automatically record attendance:

1. Synchronize an LMS scheduled offering with a VLS server
2. On the scheduled offering record in the LMS, click the ‘View All’ link
3. Under the VLS Settings heading, set the following
- Automatically record learning events after scheduled offering has completed to “Yes”
- Minimum Attendance Percentage for Credit should be populate with the percent of time users need to attend the session in order to receive credit.
- For Credit Completion Status should be set to a for-credit completion status. This is the completion status used for the learning events recorded for users that attended the session for the required % of time
- Non-credit Completion Status should be set to a non-credit completion status. This is the completion status used for the learning events recorded for users that did not attend the session for the required % of time.
4. Click Save

Keywords

java.lang.NullPointerException: while trying to get the length of an array loaded from local variable 'vleEnrollSeats', VLS Attendance Processing APM throwing error, VLS APM error , KBA , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-CNT , Content , Problem

Product

SuccessFactors Learning 1207 ; SuccessFactors Learning 1210 ; SuccessFactors Learning 1302 ; SuccessFactors Learning 1305 ; SuccessFactors Learning 1308 ; SuccessFactors Learning 1311 ; SuccessFactors Learning 1405 ; SuccessFactors Learning 1408 ; SuccessFactors Learning 1508