-
Notifications
You must be signed in to change notification settings - Fork 914
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
[TASK][TRIVIAL] Avoid NPE in MySQLErrPacket #6291
Comments
plz assign this task to me @wForget |
thanks, assigned |
4 tasks
pan3793
pushed a commit
that referenced
this issue
Apr 11, 2024
# 🔍 Description as title ## Issue References 🔗 This pull request fixes #6291 ## Describe Your Solution 🔧 Add a rule to check if it's null ## Types of changes 🔖 - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6292 from zhaohehuhu/dev-0411. Closes #6291 a58eed6 [hezhao2] refactor 40ad5e0 [hezhao2] Avoid NPE in MySQLErrPacket e02be17 [dupeng] [KYUUBI #6288] [KYUUBI #6283] Improve the message of distribution built without enabling web ui Lead-authored-by: hezhao2 <hezhao2@cisco.com> Co-authored-by: dupeng <dunett@163.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit f43cc59) Signed-off-by: Cheng Pan <chengpan@apache.org>
pan3793
pushed a commit
that referenced
this issue
Apr 11, 2024
# 🔍 Description as title ## Issue References 🔗 This pull request fixes #6291 ## Describe Your Solution 🔧 Add a rule to check if it's null ## Types of changes 🔖 - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6292 from zhaohehuhu/dev-0411. Closes #6291 a58eed6 [hezhao2] refactor 40ad5e0 [hezhao2] Avoid NPE in MySQLErrPacket e02be17 [dupeng] [KYUUBI #6288] [KYUUBI #6283] Improve the message of distribution built without enabling web ui Lead-authored-by: hezhao2 <hezhao2@cisco.com> Co-authored-by: dupeng <dunett@163.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit f43cc59) Signed-off-by: Cheng Pan <chengpan@apache.org>
pan3793
pushed a commit
that referenced
this issue
Apr 11, 2024
# 🔍 Description as title ## Issue References 🔗 This pull request fixes #6291 ## Describe Your Solution 🔧 Add a rule to check if it's null ## Types of changes 🔖 - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6292 from zhaohehuhu/dev-0411. Closes #6291 a58eed6 [hezhao2] refactor 40ad5e0 [hezhao2] Avoid NPE in MySQLErrPacket e02be17 [dupeng] [KYUUBI #6288] [KYUUBI #6283] Improve the message of distribution built without enabling web ui Lead-authored-by: hezhao2 <hezhao2@cisco.com> Co-authored-by: dupeng <dunett@163.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit f43cc59) Signed-off-by: Cheng Pan <chengpan@apache.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's the level of this task?
TRIVIAL
Code of Conduct
Search before creating
Mentor
Skill requirements
Background and Goals
NullPointerException may occur in MySQLErrPacket
Implementation steps
Add non-null detection for
e.getMessage
Additional context
Introduction of 2024H1 Kyuubi Code Contribution Program
The text was updated successfully, but these errors were encountered: