Skip to content

[ISSUE #6842] Handle missing data in HTTP long-polling responses - #6979

Open
yykaue wants to merge 1 commit into
apache:masterfrom
yykaue:fix-6842-handle-missing-polling-data
Open

[ISSUE #6842] Handle missing data in HTTP long-polling responses#6979
yykaue wants to merge 1 commit into
apache:masterfrom
yykaue:fix-6842-handle-missing-polling-data

Conversation

@yykaue

@yykaue yykaue commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR fixes the null handling in HttpSyncDataService.doLongPolling().

HTTP long-polling responses without configuration change data are now treated as “no change” instead of causing an exception.

The following response cases are handled:

  • The data field is missing.
  • The data field is null.
  • The root response is null.
  • The response body is empty.

Valid data arrays continue to use the existing processing flow.

Closes #6842

@Aias00, could you please help review this PR? Thanks!

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.

[BUG] HttpSyncDataService.doLongPolling NPE on missing/null data key in admin response

1 participant