-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix NPE during account creation #10274
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
Fix NPE during account creation #10274
Conversation
@blueorangutan package |
@bernardodemarco a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10274 +/- ##
============================================
- Coverage 15.14% 15.14% -0.01%
+ Complexity 11283 11280 -3
============================================
Files 5408 5408
Lines 473823 473822 -1
Branches 57824 57824
============================================
- Hits 71764 71756 -8
- Misses 394037 394044 +7
Partials 8022 8022
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12209 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
@blueorangutan test |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
[SF] Trillian test result (tid-12191)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, could not reproduce the NPE
Description
During account creation, if the log level of the
com.cloud
category is set toTRACE
, a NPE is thrown, making it impossible to create accounts. This PR fixes this NPE.Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Before applying the changes, setting the log level of the
com.cloud
category toTRACE
caused account creation to fail due to a NPE.After applying the changes, the NPE is no longer thrown, and accounts can be created without any issues.