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

NPE on mysql disconnect #153

Merged
merged 1 commit into from
Feb 21, 2017
Merged

NPE on mysql disconnect #153

merged 1 commit into from
Feb 21, 2017

Conversation

subdir
Copy link
Contributor

@subdir subdir commented Feb 21, 2017

eventDeserializer.nextEvent can return null instead of Event if there is no more data to read. Later, this null-event is being passed to updateGtidSet and causes NPE. I think this is a race condition related to connected state.

`eventDeserializer.nextEvent` can return `null` instead of `Event` if there is no more data to read. Later, this `null`-event is being passed to `updateGtidSet` and causes NPE. I think this is a race condition related to `connected` state.
@shyiko
Copy link
Owner

shyiko commented Feb 21, 2017

Thank you so much, @subdir! 👍

@shyiko shyiko merged commit ae090b4 into shyiko:master Feb 21, 2017
@shyiko
Copy link
Owner

shyiko commented Feb 21, 2017

@subdir @spitty 0.9.1 deployed to Maven Central 🎉 (sync might take ~20 minutes).

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