You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by GitBox <gi...@apache.org> on 2022/09/24 09:04:19 UTC
[GitHub] [inlong] ciscozhou opened a new issue, #6014: [Bug] Int type cannot be compared with null using "=="
ciscozhou opened a new issue, #6014:
URL: https://github.com/apache/inlong/issues/6014
### 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?
- [X] Yes, I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@inlong.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [inlong] dockerzhang closed issue #6014: [Bug][Manager] Int type cannot be compared with null using ==
Posted by GitBox <gi...@apache.org>.
dockerzhang closed issue #6014: [Bug][Manager] Int type cannot be compared with null using ==
URL: https://github.com/apache/inlong/issues/6014
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org