2185846 - Null pointer Exception, when clicking on View Details of Item under Items Completed Section of the user in Admin Side-Learning Management System

SAP Knowledge Base Article - Public

2185846 - Null pointer Exception, when clicking on View Details of Item under Items Completed Section of the user in Admin Side-Learning Management System

Symptom

Affected Vesrions: 1408 and 1502

if you go in the item's Completed Section of the user page from the admin side you will recieve the following error.

 Error

 Please report the following error to your system administrator:

 java.lang.NullPointerException: while trying to invoke the method com.plateausystems.elms.bo.trainingevent.valueobject.TrainingEventVOX.getLastUpdateUser() of an object loaded from local variable 'vo'
at org.apache.jsp.admin.student.body_005fstudent_005ftraininghistory_005fview_005fthdetails_jsp._jspService(body_005fstudent_005ftraininghistory_005fview_005fthdetails_jsp.java:184)

 

Though the exact symptoms are yet not found out but this issue mostly appear for the item for whom the items were not assigned and completed but were directly record learn.

This will not come for all users or for all the items recorded complete, but for some item's which are recorded complete.

 

Environment

 If you go in the item's Completed Section of the user page from the admin side you will recieve the following error.

Error

Please report the following error to your system administrator:

java.lang.NullPointerException: while trying to invoke the method com.plateausystems.elms.bo.trainingevent.valueobject.TrainingEventVOX.getLastUpdateUser() of an object loaded from local variable 'vo'
at org.apache.jsp.admin.student.body_005fstudent_005ftraininghistory_005fview_005fthdetails_jsp._jspService(body_005fstudent_005ftraininghistory_005fview_005fthdetails_jsp.java:184)

This will not occur for all the user or for all the item for particular user but for some user and some items.

 

Reproducing the Issue

 Since this is related to DB error due to some data inconsistencies caused in the system, this will not be replicable in all cases but for those instance for which the error us coming up the replication steps are as

1) Login as ADMIN in

2) Search for User

3) Go to Items Completed

4) There would be items in the complete section.

5) Click on view details for those items. It will throw below error

 

KB_LH.PNG

Cause

 Cause is yet no know but our Engineering team is working over the issue, as more details will be shared it will updated in this section

Resolution

Our engineering team is working over the issue as a defect and will be fixed in coming version, the defect id is LRN-8902

Keywords

Java Error, Null Pointer exception, LMS, Defect , KBA , LOD-SF-LMS , SuccessFactors Learning , Problem

Product

SAP SuccessFactors Learning all versions

Attachments

error.txt