Symptom
When attempting to import a custom report into 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
Cause
The value configured for the fileUploadMaxSize setting exceeded the maximum size.
it has been noted that there can also an issue when importing content when the fileUploadMaxSize exceeds the maximum.
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 , KBA , LOD-SF-LMS-CRI , Custom Report Issues , Problem