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

[Bug][Agent] MySQL binlog reader has NPE error #5540

Closed
2 tasks done
iamsee123 opened this issue Aug 14, 2022 · 2 comments · Fixed by #5541
Closed
2 tasks done

[Bug][Agent] MySQL binlog reader has NPE error #5540

iamsee123 opened this issue Aug 14, 2022 · 2 comments · Fixed by #5541
Assignees
Labels
component/agent type/bug Something is wrong
Milestone

Comments

@iamsee123
Copy link
Contributor

iamsee123 commented Aug 14, 2022

What happened

When MySQL binlog reader read from binlog it will report java.lang.NullPointerException.

What you expected to happen

BinLogReader use readerMetric to collect infomation but without initialize the variable which cause the problem.

How to reproduce

when collect MySQL data with binLog

Environment

No response

InLong version

master

InLong Component

InLong Agent

Detail

image

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@iamsee123 iamsee123 added the type/bug Something is wrong label Aug 14, 2022
@github-actions
Copy link

Thanks a lot for opening your first issue with us! 🧡 We'll get back to you shortly! ⏳

@healchow
Copy link
Member

@iamsee123 Hello, thanks for your issue.
Could you please paste all detail of the exception?

@healchow healchow changed the title [Bug][Agent] MySQL binlog reader has NPE error. [Bug][Agent] MySQL binlog reader has NPE error Aug 14, 2022
@dockerzhang dockerzhang added this to the 1.3.0 milestone Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/agent type/bug Something is wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants