Skip to content

StandardMultipartHttpServletRequest.StandardMultipartFile not serializable [SPR-12795] #17392

@spring-projects-issues

Description

@spring-projects-issues

Alex Scroggins opened SPR-12795 and commented

Can StandardMultipartHttpServletRequest$StandardMultipartFile be made to implement Serializable like CommonsMultipartFile does?

I'm getting this error in a project using Spring Framework 4.1.1.RELEASE and Spring Web Flow 2.4.0.RELEASE:
org.springframework.webflow.execution.repository.snapshot.SnapshotCreationException: Could not serialize flow execution

Caused by: java.io.NotSerializableException: org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile


Affects: 3.2.13, 4.1.1, 4.1.5

Referenced from: commits 474862a, 5ba7b89, 6b9e891

Backported to: 3.2.14

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions