Symptom
When attempting to import a custom report into Learning Management System(LMS) the following error is generated:
Error message = while trying to invoke the method org.apache.struts.upload.FormFile.getFileName() of a null object returned from com.plateausystems.elms.client.struts.report.ImportReportForm.getImportJarFile()
Ticket No = xxxx ErrorFingerprint [exceptionRootCauseTag=ce0665e9dbe23342972deb260a8d3ce52063468b, exceptionStackTraceTag=9128d220b4f5feda51a454398aa52710d0d96fb1]
Timestamp = 2021-11-11T08:20:14.639+0000
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Goto Learning Administration
- Reports > Import
- Choose file > Select and Import the zip file and observe the above error
Cause
The value configured for the fileUploadMaxSize setting exceeded the maximum size.
Resolution
- Navigate to System Administration > Configuration > System Configuration > LMS_ADMIN
- The recommended default value for fileUploadMaxSize is 10485760 bytes. Reduce the current value either down to this value or less than the maximum size of 2147483647 bytes and the error should no longer be generated.
Keywords
fileUploadMaxSize, content upload, custom report, import report, while trying to invoke the method, ImportReportForm, Learning Management System(LMS), System Configuration, System Administration, Reports , KBA , LOD-SF-LMS-CRI , Custom Report Issues , LOD-SF-LMS-REP , Reporting Data , Problem
SAP Knowledge Base Article - Public