You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I went over the history issues and discovered some similiar issues. I am using v0.25.3, and the error message was:
Caused by: com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializationException: Failed to deserialize data of EventHeaderV4{timestamp=1699588796000, eventType=TABLE_MAP, serverId=1, headerLength=19, dataLength=196, nextPosition=16345945, flags=0}
Unsupported table metadata field type 0.
I debugged the program and grabbed all the bytes of event header:
However, the readBooleanList method actually read 4 bytes instead of 5, missing the 0 as in [...74, -39, -101, 97, 0...], causing the exception when the program tries to read the next type.
I went over the history issues and discovered some similiar issues. I am using v0.25.3, and the error message was:
Caused by: com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializationException: Failed to deserialize data of EventHeaderV4{timestamp=1699588796000, eventType=TABLE_MAP, serverId=1, headerLength=19, dataLength=196, nextPosition=16345945, flags=0} Unsupported table metadata field type 0.
I debugged the program and grabbed all the bytes of event header:
nColumns = 59
nNumericColumns = 32
It first read the byte 1 for signedness type, which is 1, and after that the length of signedness bytes, which is 5.
// SIGNEDNESS
1,
5, // should read 5 bytes
-74, -39, -101, 97, 0,
However, the
readBooleanList
method actually read 4 bytes instead of 5, missing the0
as in[...74, -39, -101, 97, 0...]
, causing the exception when the program tries to read the next type.Possible fixes
Single line fix:
to
or simply call skipToEndOfTheBlock after reading each metadata
The text was updated successfully, but these errors were encountered: