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][Manager] Int type cannot be compared with null using == #6014

Closed
2 tasks done
ciscozhou opened this issue Sep 24, 2022 · 0 comments · Fixed by #6015
Closed
2 tasks done

[Bug][Manager] Int type cannot be compared with null using == #6014

ciscozhou opened this issue Sep 24, 2022 · 0 comments · Fixed by #6015
Assignees
Labels
Milestone

Comments

@ciscozhou
Copy link
Contributor

What happened

When an int is compared to an Integer, the Integer may be null.

What you expected to happen

This will throw a null pointer exception.

How to reproduce

Before using "==" to compare the Integer type, should determine whether it is null first.

Environment

No response

InLong version

master

InLong Component

InLong Manager

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@ciscozhou ciscozhou added the type/bug Something is wrong label Sep 24, 2022
@healchow healchow added this to the 1.4.0 milestone Sep 24, 2022
@healchow healchow changed the title [Bug] Int type cannot be compared with null using "==" [Bug][Manager] Int type cannot be compared with null using == Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants