Null Pointer Exception When Closing Online Course
Last updated on NOVEMBER 14, 2017
Applies to:Oracle Learning Management - Version 12.1 HRMS RUP9 to 12.2 HRMS RUP10 [Release 12.1 to 12.2]
Information in this document applies to any platform.
12.1 HRMS RUP9 to 12.2.6 R12.HR_PF.C.Delta.10:
An issue has been found with the NonJava Scorm 1.2 adapters. When a parameter is set to a value and subsequently then set to a null string (which should be allowed) then the LMS errors are generated.
Null Pointer exception when closing an online course .
error_test=java.lang.ArrayIndexOutOfBoundsException: Array index out of range 1
The issue can be reproduced at will with the following steps:
Load the course with all values null (except status).
Enter a value in location, then click ‘Set Location’, then click ‘Commit Changes’. SCORM log shows success:
Now delete the value entered in location, then click ‘Set Location’
No problem so far. Now click ‘Commit Changes’ (to send the changes to LMS):
Error is returned. When the user exists the course and replays, the old value is retained:
This same error occurs when you set any of the fields to a value, then set them back to null again (score,suspend or location)
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms