Skip to content

WebClient fails on empty JSON array response [SPR-15794] #20349

Closed

Description

@spring-projects-issues

Arnaud Cogoluègnes opened SPR-15794 and commented

Failure is org.springframework.core.codec.DecodingException: JSON decoding error: No content to map due to end-of-input.


Affects: 5.0 RC2

Issue Links:

Referenced from: commits spring-attic/spring-framework-issues@c55a3c7, spring-attic/spring-framework-issues@bd1edbc

Activity

  1. spring-projects-issues commented on Jul 19, 2017

    @spring-projects-issues
    CollaboratorAuthor

    Arnaud Cogoluègnes commented

    I created a PR with a repro project. Just start the server and then the client application.

  2. spring-projects-issues commented on Jul 19, 2017

    @spring-projects-issues
    CollaboratorAuthor

    Rossen Stoyanchev commented

    I can confirm the failure with Boot 2.0 RC2 (and Spring Framework 5.0 RC2). Upgrading to the latest Boot 2.0 snapshot (and hence picking up the latest Spring Framework 5.0 snapshot) works as expected.

    The big change in this area since RC2 that probably explains the fix is #19097.

  3. added
    type: bug
    in: web
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webtype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions