Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JsonObjectDecoder fails to decode some splitted source [SPR-14859] #19425

Closed
spring-projects-issues opened this issue Oct 28, 2016 · 1 comment
Closed
Assignees
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Oct 28, 2016

Sébastien Deleuze opened SPR-14859 and commented

Decoding works when the source is composed on one chunk, but not always with multiple chunks. See sdeleuze@decode- that demonstrates the issue.


Affects: 5.0 M2

Issue Links:

  • #19580 JsonObjectDecoder throws ArrayIndexOutOfBoundsException: -1 with valid input

Referenced from: commits b1030eb

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Oct 28, 2016

Sébastien Deleuze commented

This reader index was not handled correctly for multiple chunks streams. This is now fixed (with related tests) and validated with complex JSON coming from Github REST API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants