Skip to content

Issue 53699: avoid BufferUnderflowException when parsing JSON payload#6931

Merged
labkey-nicka merged 2 commits intorelease25.7-SNAPSHOTfrom
25.7_fb_underflow_53699
Aug 15, 2025
Merged

Issue 53699: avoid BufferUnderflowException when parsing JSON payload#6931
labkey-nicka merged 2 commits intorelease25.7-SNAPSHOTfrom
25.7_fb_underflow_53699

Conversation

@labkey-nicka
Copy link
Contributor

@labkey-nicka labkey-nicka commented Aug 14, 2025

Rationale

This addresses Issue 53699 by utilizing request.getInputStream() rather than request.getReader() to avoid a BufferUnderflowException coming from the reader configuration when parsing JSON.

I was unable to determine the exact configuration problem of the reader and if it is a bug in the reader or not.

Related Pull Requests

Changes

  • Utilize request.getInputStream() rather than request.getReader() to avoid BufferUnderflowException coming from the reader configuration when parsing JSON.

Tasks 📍

  • Manual Testing / Verify Fix
  • Needs Automation

@labkey-nicka labkey-nicka merged commit 2376a32 into release25.7-SNAPSHOT Aug 15, 2025
13 checks passed
@labkey-nicka labkey-nicka deleted the 25.7_fb_underflow_53699 branch August 15, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants