My Oracle Support Banner

NullPointerException When Closing Online Course (Doc ID 2328358.1)

Last updated on FEBRUARY 15, 2019

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.


Content Admin:

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)




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.