Symptom
Bellow Error message occurred when trying to import a zip file (e.g. Questions with Images) via Import Data tool.
Error
An application error has occurred. Please try again.
If you have further questions or issues regarding this error, please provide the error details below to your support group.
Error message = MALFORMED <br>Ticket No = 1234313<br>ErrorFingerprint [exceptionRootCauseTag=ddffa1b6c57f11888c90c4aba3f3ffe3b599450b, exceptionStackTraceTag=3311ba007598793e5c03da1c9f80b531a5798d25]<br>Timestamp = 2021-07-28T01:41:27.852+0000<br>Stack trace = java.lang.IllegalArgumentException: MALFORMED at java.util.zip.ZipCoder.toString(ZipCoder.java:58) at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:300) at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:122) at com.plateausystems.elms.bo.entityimport.impl.zip.ZipDataItemReaderImpl.init(ZipDataItemReaderImpl.java:67)
......
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Go to Learning Administration > System Configuration > System Tools > Import Data
- Select a record type like Questions > Choose the Zip file to upload.
- Got the error screen.
Cause
There are special characters (including Chinese or Japanese characters) in the file names and the file names are not encoded in UTF-8 inside the uploaded Zip file.
Resolution
Use a software which can define UTF-8 as the encode for file names, e.g. 7-zip.
WinRAR could also be used as it will add UTF-8 BOM to the file names.
If you cannot use such Zip software, please remove the special characters from the file names.
Keywords
Import Questions, Application Error , KBA , LOD-SF-LMS-IMP , Import Data Tool , Problem