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
CLOUDSTACK-10144: fix possible NPE in listVlanIpRanges #2330
Conversation
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.
Code LGTM. Thanks @resmo!
code LGTM. However, could you please add some code to release vlan and ip ranges while delete a project ? |
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
@blueorangutan package |
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
rollback transaction on releasing vlan and ip ranges while delete a project was the root cause getting into this state. Unsure yet, while that happened. However, preventing an NPE can not be wrong. |
Packaging result: ✔centos6 ✔centos7 ✖debian. JID-1266 |
@resmo agreed. let's merge this at first. It would be nice to fix the issue you said. |
@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-1267 |
Simple npe check, merging based to Travis and packaging validations. |
Prevent NPE for querying a deleted project.