Skip to content

debezium/dbz#1747 Fix NullPointerException in LogStreamingService.doS…#323

Merged
jpechane merged 1 commit intodebezium:mainfrom
JerryGao0805:fix-log-streaming-npe
Mar 26, 2026
Merged

debezium/dbz#1747 Fix NullPointerException in LogStreamingService.doS…#323
jpechane merged 1 commit intodebezium:mainfrom
JerryGao0805:fix-log-streaming-npe

Conversation

@JerryGao0805
Copy link
Copy Markdown
Contributor

Fixes debezium/dbz#1747

Found that doStream() in LogStreamingService doesn't skip consumer.accept() when readLine() returns null — it just sleeps and falls through, passing null to the consumer.
Added a continue to fix this.

…tream()

Signed-off-by: JerryGao0805 <yanggao0805@gmail.com>
@jpechane
Copy link
Copy Markdown
Contributor

@JerryGao0805 Thanks for the PR, could you please sign-off the commit?

@jpechane
Copy link
Copy Markdown
Contributor

@JerryGao0805 I am sorry I just noticed this is an issue in the action.

@jpechane jpechane merged commit 3b1d097 into debezium:main Mar 26, 2026
7 of 8 checks passed
@jpechane
Copy link
Copy Markdown
Contributor

@JerryGao0805 Applied, 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.

LogStreamingService passes null to consumer in doStream()

2 participants