Comments (5)
@axosoft-ramint Here is an excerpt from the log:
[2024-04-25 12:25:55.913] [ 5dc] WorkspacesService.getWorkspaces
[2024-04-25 12:25:55.914] [ 5dd] SubscriptionService.ensureSession(e=false)
[2024-04-25 12:25:55.914] [ 5dd] SubscriptionService.ensureSession(e=false) completed [0ms]
[2024-04-25 12:25:55.929] [ 35] WebviewView(gitlens.views.home) Resolving view
[2024-04-25 12:25:55.931] [ 35] WebviewView(gitlens.views.home) Showing view
[2024-04-25 12:25:55.931] [ 5de] WebviewController(gitlens.views.home).show
[2024-04-25 12:25:55.931] [ 5df] GitProviderService.hasUnsafeRepositories
[2024-04-25 12:25:55.931] [ 5df] GitProviderService.hasUnsafeRepositories returned false [0ms]
[2024-04-25 12:25:55.932] [ 5e0] SubscriptionService.ensureSession(e=false)
[2024-04-25 12:25:55.932] [ 5e0] SubscriptionService.ensureSession(e=false) completed [0ms]
[2024-04-25 12:25:55.932] [ 37] WebviewView(gitlens.views.account) Resolving view
[2024-04-25 12:25:55.933] [ 37] WebviewView(gitlens.views.account) Showing view
[2024-04-25 12:25:55.933] [ 5e2] WebviewController(gitlens.views.account).show
[2024-04-25 12:25:55.933] [ 5e3] SubscriptionService.ensureSession(e=false)
[2024-04-25 12:25:55.933] [ 5e3] SubscriptionService.ensureSession(e=false) completed [0ms]
[2024-04-25 12:25:55.933] [ 5e4] SubscriptionService.ensureSession(e=false)
[2024-04-25 12:25:55.933] [ 5e4] SubscriptionService.ensureSession(e=false) completed [0ms]
[2024-04-25 12:25:55.933] [ 5dc] WorkspacesService.getWorkspaces — failed [19ms]
TypeError: Cannot read properties of null (reading 'map')
My guess is that we failed to parse the local workspace file correctly (maybe caused by a GKC issue?). We probably just need more robust handling.
from vscode-gitlens.
@juanmiromero Would you mind sending me the contents of your localWorkspaces.json
file in your {user}/.gk
folder?
from vscode-gitlens.
I was able to repro this by setting the repositories
property to null
or just not having it be there on a local workspace. This should not theoretically be possible but likely is happening as a result of some changes on GKD side. Pushed a fix which should be available to test in the next pre-release.
from vscode-gitlens.
Fixed in commit: 765c42f
from vscode-gitlens.
@juanmiromero Please check on the latest pre-release when you get the chance and let us know if the error is gone or not. Thanks!
from vscode-gitlens.
Related Issues (20)
- "Copy remote file URL" (github) copies URL with the wrong commit ID
- Add settings to control the font of inline blame
- Extension becomes a CPU hog
- GitLens cannot show file changes from an interactive rebase todo
- Local AI providers HOT 1
- Compare active file with main HOT 2
- Allow toggling `--first-parent` in commit graph
- The graph filter area is not displayed HOT 3
- want to know where the branch is from
- Extension pop-up does not stay open anymore HOT 3
- VS Code hangs with GitLens on Ubuntu 24.04 HOT 2
- Open File on Remote path is wrong
- Commit search shows results from all branches HOT 1
- HI
- Cannot pull or force push if local branch name differs from remote branch name HOT 7
- Added the ability to refresh the submission record HOT 1
- Add option for hide all pro functionals HOT 1
- sd
- LaunchPad for Bitbucket. HOT 2
- Gitlens HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-gitlens.