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 thrown if connecting to bin log at 'mutation' event #60

Closed
JohnFirth opened this issue Aug 10, 2015 · 1 comment
Closed

NPE thrown if connecting to bin log at 'mutation' event #60

JohnFirth opened this issue Aug 10, 2015 · 1 comment

Comments

@JohnFirth
Copy link

In AbstractRowsEventDataDeserializer.deserializeRow(),
TableMapEventData tableMapEvent = tableMapEventByTableId.get(tableId) returns null if no table map events have preceded the mutation event (DeleteRowsEvent, UpdateRowsEvent, WriteRowsEvent) in question; this leads to an NPE from byte[] types = tableMapEvent.getColumnTypes();

@shyiko
Copy link
Owner

shyiko commented Aug 13, 2015

Thank you, John.
BinaryLogClient will be updated to take care of that problem transparently once #53 is resolved.

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

No branches or pull requests

2 participants