You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error updating active pull request view: Cannot read properties of undefined (reading 'login') #8187
I'm having a similar issue but I only have one (corp) account set up. I get 2026-01-06 10:40:04.702 [error] [Review+0] Failed to initialize PR data TypeError: Cannot read properties of null (reading 'oid'): Cannot read properties of null (reading 'oid')
I was able to reproduce the issue where logging out or switching accounts leaves currentUser temporarily undefined, leading to the unhandled TypeError: Cannot read properties of undefined (reading 'login') in the active pull request view.
I've put together a fix with proper safeguards and unit tests in #9172.
Activity
erry-kraken commentedon Jan 6, 2026
I'm having a similar issue but I only have one (corp) account set up. I get
2026-01-06 10:40:04.702 [error] [Review+0] Failed to initialize PR data TypeError: Cannot read properties of null (reading 'oid'): Cannot read properties of null (reading 'oid')chore: add QA proof assets for issue microsoft#8187
hungud commentedon Nov 6, 2026
Hi Isidor Nikolic (@isidorn),
I was able to reproduce the issue where logging out or switching accounts leaves
currentUsertemporarilyundefined, leading to the unhandledTypeError: Cannot read properties of undefined (reading 'login')in the active pull request view.I've put together a fix with proper safeguards and unit tests in #9172.
VS Code GUI Verification Proofs
View Red GUI (VS Code Popup Error on Logout)
View Green GUI (Clean UI - Zero Error Popups)
Terminal Test Run
View Unit Test Verification
Hope this helps!
chore: add VS Code GUI action screenshots for issue microsoft#8187 an…