microsoft / vscode-azureresourcegroups

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

Error when trying to expanding subscription #819

Closed timheuer closed 7 months ago

timheuer commented 7 months ago

Type: Bug

2024-02-12 15:00:16.589 [info] Error: Internal error: Expected value to be neither null nor undefined: resourceGroup for grouping item 2024-02-12 15:00:30.926 [info] Error: Internal error: Expected value to be neither null nor undefined: resourceGroup for grouping item 2024-02-12 15:00:36.144 [info] Error: Internal error: Expected value to be neither null nor undefined: resourceGroup for grouping item 2024-02-12 15:00:43.641 [info] Error: Internal error: Expected value to be neither null nor undefined: resourceGroup for grouping item 2024-02-12 15:00:51.628 [info] Error: Internal error: Expected value to be neither null nor undefined: resourceGroup for grouping item 2024-02-12 15:01:43.034 [info] Error: Internal error: Expected value to be neither null nor undefined: resourceGroup for grouping item 2024-02-12 15:02:14.382 [info] Error: Internal error: Expected value to be neither null nor undefined: resourceGroup for grouping item

Extension version: 0.8.4 VS Code version: Code - Insiders 1.87.0-insider (9db1b0571e119289a2264971bdac75793965e063, 2024-02-07T05:47:25.686Z) OS version: Windows_NT x64 10.0.22635 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 9 3900X 12-Core Processor (24 x 3793)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|127.92GB (85.11GB free)| |Process Argv|--crash-reporter-id 961e68ed-cec6-437f-8e5f-e44a8abbf88f| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 vsaa593cf:30376535 py29gd2263:30784851 c4g48928:30535728 962ge761:30841072 pythongtdpath:30726887 welcomedialog:30812478 pythonidxpt:30768918 pythonnoceb:30776497 asynctok:30898717 dsvsc013:30777762 dsvsc014:30777825 dsvsc015:30821418 pythontestfixt:30866404 pythonregdiag2:30926734 pyreplss1:30879911 pythonmypyd1:30859725 pythoncet0:30859736 pythontbext0:30879054 accentitlementst:30870582 dsvsc016:30879898 dsvsc017:30880771 dsvsc018:30880772 d34g3935:30961436 b1063948:30943794 fegfb526:30952798 7j2b6412:30951517 e3gdj431:30946825 ccp1r3:30958150 ```
alexweininger commented 7 months ago

Is this happening while using the .NET R&D subscription? We've seen this issue with that internal subscription and I can reproduce it only when grouped by resource group. If you need a workaround, please group by resource type rather than resource group.

image

For now I'm chalking it up to something unique about that subscription and the permissions on it. I haven't had time to investigate it further but I have narrowed it to the following edge case:

In that subscription, we list all the resources and all the resource groups. And for some reason there is a resource with a resource group that doesn't exist.

timheuer commented 7 months ago

Yes Alex it isn't that specific subscription, but similar (an extremely large subscription)