LPS-51600 When adding a file size is always 0 because it's not been read. I'll fix the NPE by fixing the root cause in UploadPortletRequestImpl.