Skip to content

JSON (jackson) @RequestBody marshalling throws java.io.EOFException when body is missing [SPR-9238] #13876

Closed
@spring-projects-issues

Description

@spring-projects-issues

Michel Zanini opened SPR-9238 and commented

In the case that the message body is missing a java.io.EOFException is thrown.
An org.springframework.http.converter.HttpMessageNotReadableException is more appropriate in this case.

This issue is related to:
https://jira.springsource.org/browse/SPR-7439


Affects: 3.1.1

Sub-tasks:

Issue Links:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions