-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fixed a NullPointerException in VirtualMachineImpl #24154
Conversation
NPE occurs when requesting osUnmanagedDiskVhdUri() but no VHD is present in the VirtualMachine.
Thank you for your contribution Fabio1988! We will review the pull request and get back to you soon. |
@Fabio1988 Thanks for the fix! |
Oh I was quite late, so I will wait for next release, thanks :) Is there also an ETA when it will be released in following dependency https://mvnrepository.com/artifact/com.microsoft.azure/azure ? :) |
@Fabio1988 com.microsoft.azure:azure is in maintenance mode so the release will be sparse. I can sync your fix to it, but next release is not scheduled. |
NPE occurs when requesting osUnmanagedDiskVhdUri() but no VHD is present in the VirtualMachine.
Release network microsoft.network official 2023 02 01 (Azure#24277) * Adds base for updating Microsoft.Network from version stable/2022-11-01 to version 2023-02-01 * Updates readme * Updates API version in new specs and examples * Fixed double header issue (Azure#23896) * Edited description for additional nics (Azure#24071) * swagger 20230201 adding resource guid (Azure#24154) * Appgw: Remove 499 status code from custom error page (Azure#24095) * Add AdminState Property to Virtual Network Gateway Resource Properties (Azure#23978) * add adminstate * update description * add headers to 202 * prettier fix * AppGW: Add default predefined ssl policy field in resource (Azure#24094) * Fix examples (Azure#24274) --------- Co-authored-by: Mikhail <mitryakh@microsoft.com> Co-authored-by: JainRah <108508612+JainRah@users.noreply.github.com> Co-authored-by: sssharma24 <107450300+sssharma24@users.noreply.github.com> Co-authored-by: Prateek Sachan <42961174+prateek2211@users.noreply.github.com> Co-authored-by: nimaller <71352534+nimaller@users.noreply.github.com> Co-authored-by: Sindhu Aluguvelli <sindhureddy216@gmail.com>
NPE occurs when requesting osUnmanagedDiskVhdUri() but no VHD is present in the VirtualMachine.
it's happening because of method chaining without NPE-check before.