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 null (reading 'profile') #11214

Closed
1 task done
orassyag opened this issue Sep 24, 2024 · 1 comment
Closed
1 task done

Cannot read properties of null (reading 'profile') #11214

orassyag opened this issue Sep 24, 2024 · 1 comment
Labels
bug cli CLI Application

Comments

@orassyag
Copy link

Steps To Reproduce

Not sure how to reproduce, I see it on our production logs

Expected Result

not to have this bug

Actual Result

having this bug

Screenshots or Videos

No response

Additional Context

"/usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:38741
state.accounts[userId].profile = diskAccount.profile;
^

TypeError: Cannot read properties of null (reading 'profile')
at StateService. (/usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:38741:62)
at Generator.next ()
at /usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:38651:71
at new Promise ()
at state_service_awaiter (/usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:38647:12)
at /usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:38736:61
at StateService. (/usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:39263:44)
at Generator.next ()
at /usr/local/lib/node_modules/@bitwarden/cli/build/bw.js:38651:71
at new Promise ()

Node.js v18.13.0

Operating System

Windows

Operating System Version

No response

Shell

Bash

Build Version

@bitwarden/cli@2024.7.2

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@orassyag orassyag added bug cli CLI Application labels Sep 24, 2024
@BBGhub
Copy link

BBGhub commented Sep 24, 2024

Hi there!

Thank you for your report, it seems like it is a duplicate of this one #9646.

If you wish to add any further information/screenshots/recordings etc., please feel free to do so at any time in there - our engineering team will be happy to review these.

This issue will now be closed.

Thanks!

@BBGhub BBGhub closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cli CLI Application
Projects
None yet
Development

No branches or pull requests

2 participants