ADL Logo ADL Learn Distribute Advance
About ADL | News & Events | Technologies | Co-Lab Network | SCORM® | Downloads |   Search   |     Help    
Home  >  SCORM®

Issue 11225: DMTimeUtility throws ArrayIndexOutOfBounds Exception

Thursday, August 16, 2007

Details:

An ArrayIndexOutOfBounds Exception may occur in the Sample Run-Time Environment (RTE) when a SCO attempts to set the value for a data model element of type "timeinterval" (e.g. cmi.session_time).  This exception can occur when the value being set does not include some number of hours.  For example, a user will encounter an ArrayIndexOutOfBounds Exception if a SCO tries to set the cmi.session_time data model element to the value of "P1DT1M0.55S".



Affected Products:
SCORM 2004 2nd Edition Sample Run-Time Environment Version 1.3.2
SCORM 2004 2nd Edition Sample Run-Time Environment Version 1.3.3
SCORM 2004 3rd Edition Sample Run-Time Environment Version 1.0
SCORM 2004 3rd Edition Sample Run-Time Environment Version 1.0.1

Status: Closed

Resolution: Resolved in SCORM 2004 3rd Edition Sample Run-Time Environment Version 1.0.2.

Work Around: When setting a data model element of type "timeinterval" to a value that does not include any hours, include “0H” in the value being set after the time (“T”) indicator. For example, instead of "P1DT1M0.55S" use "P1DT0H1M0.55S".
Last Revised: 09/02/2008
Site Map | Common Questions | Registered Users | Contact ADL | FOIA | Privacy Policy | Web Site Policies & Notices USA.gov Logo
Sponsored by the Office of the Under Secretary of Defense for Personnel and Readiness (OUSD P&R)
This is an official Web site of the U.S. Government. © 2007 Advanced Distributed Learning.