Forum Discussion

marisaorlando's avatar
marisaorlando
Community Member
10 months ago

Error initializing communications with LMS "when resuming a SCORM built with Storyline

Hi everybody,

Since we updated Storyline from Build 3.80.31058.0 to Build 3.82.31354.0, we are having problems when resuming a SCORM package.

We are using Moodle 4.1. to launch the SCORM.

Resuming a SCORM causes the following error message to appear (also see the attached image):

Error initializing communications with LMS

The SCORM debug window shows these errors:

125:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - SCORM_GrabAPI, returning

126:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - Calling LMSInitialize

127:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - strResult=false

128:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - Detected failed call to initialize

129:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - In SCORM_SetErrorInfo

130:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - intSCORMError=101

131:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - strSCORMErrorString=General exception

132:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - strSCORMErrorDiagnostic=101

133:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - Error calling LMSInitialize:

134:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - intSCORMError=101

135:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - SCORMErrorString=General exception

136:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - Diagnostic=101

137:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - ERROR Initializing LMS

138:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - In InitializeExecuted, blnSuccess=false, strErrorMessage=Error initializing communications with LMS

139:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - ERROR - LMS Initialize Failed

140:Tue Dec 12 2023 22:46:54 GMT+0100 (Central European Standard Time) - In DisplayError, strMessage=Error initializing communications with LMS

 

We managed to trace the error to an exception being thrown by function "syncAfterResume" in file "/html5/lib/scripts/bootstrapper.min.js" of the SCORM package.

    syncAfterResume: function() {

        p !== h.value() && b(h.value())

    },

 

The exception being thrown is:

    TypeError: Cannot read properties of undefined (reading 'value')

        at Object.syncAfterResume (bootstrapper.min.js:2:122548)

        at i.onAfterSetResume (slides.min.js:2:330681)

        at Object.setResumeData (bootstrapper.min.js:2:294120)

        at bootstrapper.min.js:2:165969

        at Array.forEach (<anonymous>)

        at Object.resolve (bootstrapper.min.js:2:165939)

        at Object.resolveDeferred (bootstrapper.min.js:2:289278)

        at Object.check (bootstrapper.min.js:2:289973)

        at xe (bootstrapper.min.js:37:4528)

        at Object.e [as checkAndResolve] (bootstrapper.min.js:37:32732)


Many thanks.

Marisa

  • Hi Everyone!

    I'm happy to share that we just released Storyline 360 (Build 3.84.31647.0) which includes the fix for the bug:

    • Error initializing communications with LMS "when a course is set to 'Always Resume'.

    Now all you need to do is update Storyline 360 in your Articulate 360 desktop app to take advantage of the newest bug fixes and features!

    If you run into any issues, please don't hesitate to reach out to our team by submitting a support case.