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 null pointer exception when using ConfigKey.Scope.ManagementServer #3062
Fix null pointer exception when using ConfigKey.Scope.ManagementServer #3062
Conversation
framework/config/src/main/java/org/apache/cloudstack/framework/config/impl/ConfigDepotImpl.java
Outdated
Show resolved
Hide resolved
@GabrielBrascher can you check?
|
03b1288
to
e6149f6
Compare
@blueorangutan package |
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2466 |
@blueorangutan test |
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Trillian test result (tid-3224)
|
Description
A null pointer is thrown if a
ConfigKey.Scope.ManagementServer
is used for configuring a ConfigKey.The null pointer happens because the map
_scopeLevelConfigsMap
does not contain theConfigKey.Scope.ManagementServer
as a key.Fixed by adding
ConfigKey.Scope.ManagementServer
in the map_scopeLevelConfigsMap
.Types of changes
Screenshots (if appropriate):
How Has This Been Tested?