Skip to content
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

Cannot read properties of undefined (reading 'accessToken') #212891

Closed
bpasero opened this issue May 16, 2024 · 5 comments
Closed

Cannot read properties of undefined (reading 'accessToken') #212891

bpasero opened this issue May 16, 2024 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented May 16, 2024

i am finding this error in the smoke test logs and also saw it from a user in #212793 (comment)

2024-05-16 07:52:50.935 [error] Cannot read properties of undefined (reading 'accessToken'): TypeError: Cannot read properties of undefined (reading 'accessToken')
    at g.z (vscode-file://vscode-app/mnt/vss/_work/1/VSCode-linux-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:1721:24562)
    at g.C (vscode-file://vscode-app/mnt/vss/_work/1/VSCode-linux-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:1721:25195)
    at h.value (vscode-file://vscode-app/mnt/vss/_work/1/VSCode-linux-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:1721:24364)
@bpasero
Copy link
Member Author

bpasero commented May 16, 2024

De-minified:

TypeError: Cannot read properties of undefined (reading 'accessToken')
at [vs/workbench/contrib/accountEntitlements/browser/accountsEntitlements.contribution.ts:123:39](https://github.com/microsoft/vscode/blob/0cd8d6ac480bc5b4e2a2d7f1eb87eaff9f7d47e1/src/vs/workbench/contrib/accountEntitlements/browser/accountsEntitlements.contribution.ts#L123)
at [vs/workbench/contrib/accountEntitlements/browser/accountsEntitlements.contribution.ts:159:36](https://github.com/microsoft/vscode/blob/0cd8d6ac480bc5b4e2a2d7f1eb87eaff9f7d47e1/src/vs/workbench/contrib/accountEntitlements/browser/accountsEntitlements.contribution.ts#L159)
at [vs/workbench/contrib/accountEntitlements/browser/accountsEntitlements.contribution.ts:108:15](https://github.com/microsoft/vscode/blob/0cd8d6ac480bc5b4e2a2d7f1eb87eaff9f7d47e1/src/vs/workbench/contrib/accountEntitlements/browser/accountsEntitlements.contribution.ts#L108)

@bpasero bpasero added the bug Issue identified by VS Code Team member as probable bug label May 16, 2024
@TylerLeonhardt
Copy link
Member

I don't know about this file 🤔 @sandy081 is this actually you?

@sandy081
Copy link
Member

It seems to be @bhavyaus owning this.

@bhavyaus
Copy link
Contributor

No repro steps. Please review: #213933

@bhavyaus bhavyaus added the unreleased Patch has not yet been released in VS Code Insiders label May 30, 2024
@VSCodeTriageBot VSCodeTriageBot removed the unreleased Patch has not yet been released in VS Code Insiders label May 30, 2024
@VSCodeTriageBot
Copy link
Collaborator

Issue marked as unreleased but unable to locate closing commit in issue timeline. You can manually reference a commit by commenting \closedWith someCommitSha, or directly add the insiders-released label if you know this has already been releaased

@VSCodeTriageBot VSCodeTriageBot added unreleased Patch has not yet been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels May 30, 2024
@hediet hediet added the verified Verification succeeded label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

6 participants