Skip to content

FormHttpMessageConverter#writePart NPE on 'partBody.getClass()' [SPR-10187] #14820

@spring-projects-issues

Description

@spring-projects-issues

Artem Bilan opened SPR-10187 and commented

The simple way to reproduce just make one of values as null in the FormHttpMessageConverterTests#writeMultipart().
At a glance it seems like enough to skip such 'parts'.


Affects: 3.1.3, 3.2 GA

Referenced from: commits b1267b9, 0c56e86

Backported to: 3.1.4

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)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