Skip to content

Fix NPE while refresh Azure#4479

Merged
Flanker32 merged 3 commits into
microsoft:developfrom
Flanker32:hanxiao/fixNPE1
Jun 29, 2020
Merged

Fix NPE while refresh Azure#4479
Flanker32 merged 3 commits into
microsoft:developfrom
Flanker32:hanxiao/fixNPE1

Conversation

@Flanker32
Copy link
Copy Markdown
Member

Fix NPE while refresh Azure, fixes #3712

From the log in issue, the NPE occurs in

 List<Location> locl = sidToSubscriptionMap.get(sd.getSubscriptionId()).listLocations();

Added sidToSubscriptionMap.containsKey(sd.getSubscriptionId()) validation in this pr.

@Flanker32 Flanker32 requested a review from andxu June 29, 2020 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[intelliJ][Report to microsoft]Get error when refresh Azure node.

2 participants