Symptom
- When attempting to import SCORM content it fails with the following error:
An error was detected while trying to invoke the method java.util.zip.ZipFile.getEntry(java.lang.String) of an object loaded from local variable 'zipFile'
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Login to Learning Administration ->Content ->Import Content
- Browse and select the zip file containing the content and click next
- Add valid location and domain and attempt to import the content zip file.
Cause
- The zip file actually contains no content files and is empty.
- The content is not valid and cannot be read by the LMS.
- The content zip filename contains a space (ex. "MyTestContentZip File.zip")
- The content folder was zipped instead of the content files - please see screenshot below for reference.
Resolution
The content may have to be republished if the error persists after performing the steps below:
- Make sure there are no space(s) in the content zip filename.
- Use different zip applications to zip the content files. We recommend to use Windows built-in zip application.
- Zip the content files (not the content folder), that way you should see the content files as soon as you open the content zip file - see screenshot below for reference:
Keywords
SF SuccessFactors Learning LMS java error import content unable not able cannot upload , KBA , LOD-SF-LMS-CNT , Content , LOD-SF-LMS , Learning Management System , Problem
Product
SAP SuccessFactors Learning all versions
Attachments
ContentFilesZippedUp.png |
ContentFolderZippedUp.png |