microsoft / vscode-azureresourcegroups

VS Code extension for managing Azure resources.
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureresourcegroups
MIT License
53 stars 28 forks source link

Resource Groups not loading.. #613

Closed RRanks closed 1 year ago

RRanks commented 1 year ago

Does this occur consistently? Yes Repro steps:

1.Unable to Deploye Function Apps as when it tries to load the resource group to select etc.. it fails too

  1. When looking at the Azure Resources Remote, I can see the list of resource groups but it ever seems to be able to open them up

Action: subscriptionItem.getChildren Error type: Error Error Message: Internal error: Expected value to be neither null nor undefined

Version: 0.6.1 OS: win32 OS Release: 10.0.19044 Product: Visual Studio Code Product Version: 1.76.2 Language: en

Call Stack ``` nonNullValue extension.bundle.js:2:903654 extension.bundle.js:2:2272993extension.bundle.js:2:2272993 extension.bundle.js:2:2272094extension.bundle.js:2:2272094 AzureResourceGroupingManager.groupBy extension.bundle.js:2:2271987 AzureResourceGroupingManager.groupByResourceGroup extension.bundle.js:2:2272760 AzureResourceGroupingManager.groupResources extension.bundle.js:2:2271803 SubscriptionItem. extension.bundle.js:2:2285467 fulfilled extension.bundle.js:2:2283868 ```
alexweininger commented 1 year ago

If you change the grouping to Resource Type rather than Resource Groups, does the issue still reproduce?

image
RRanks commented 1 year ago

Amazing.. that worked.. Do you think it was timing out or something?? I can now also Deploy the functions. Before it was not finding anything to select as far as a Function Apps that are in the RG.

alexweininger commented 1 year ago

Amazing.. that worked.. Do you think it was timing out or something?? I can now also Deploy the functions. Before it was not finding anything to select as far as a Function Apps that are in the RG.

Weird. We will continue to look for these issues and try to pinpoint the cause. If you change it back to grouping by Resource Group, does the error occur again?