-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
NullPointerException when use canal1.1.5 and mysql8.0.11 #3538
Comments
同样的问题,不知道怎么解决 |
+1 |
问题解决了,与mysql8不兼容,需要修改一个地方: public static final String COLUMN_NAME = "COLUMN_NAME";
public static final String COLUMN_TYPE = "COLUMN_TYPE";
public static final String IS_NULLABLE = "IS_NULLABLE";
public static final String COLUMN_KEY = "COLUMN_KEY";
public static final String COLUMN_DEFAULT = "COLUMN_DEFAULT";
public static final String EXTRA = "EXTRA"; 改成: public static final String COLUMN_NAME = "Field";
public static final String COLUMN_TYPE = "Type";
public static final String IS_NULLABLE = "Null";
public static final String COLUMN_KEY = "Key";
public static final String COLUMN_DEFAULT = "Default";
public static final String EXTRA = "Extra"; |
agapple
added a commit
that referenced
this issue
May 17, 2022
LieLieLiekey
pushed a commit
to LieLieLiekey/canal
that referenced
this issue
May 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
environment
Issue Description
NullPointerException
Steps to reproduce
I'm using otter and update otter's
canal-1.1.4
tocanal-1.1.5
Expected behaviour
the
nameMaps
doesnot has a key namedCOLUMN_NAME
Actual behaviour
If there is an exception, please attach the exception trace:
The text was updated successfully, but these errors were encountered: