Skip to content

WebClient throws ClassCastException for bodyToMono(ParameterizedTypeReference) [SPR-16025] #20574

Closed
@spring-projects-issues

Description

@spring-projects-issues

Arjen Poutsma opened SPR-16025 and commented

The WebClient always throws a ClassCastException when an error occurs in bodyToMono(ParameterizedTypeReference), and not the defined exception. Reported by "voidc" here.


Affects: 5.0 GA

Referenced from: commits 69945f4

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