We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gopls version: v0.12.2/go1.23.4 gopls flags: update flags: proxy extension version: 0.44.0 environment: Visual Studio Code win32 initialization error: undefined issue timestamp: Wed, 01 Jan 2025 14:14:03 GMT restart history: Wed, 01 Jan 2025 13:52:18 GMT: activation (enabled: true) Wed, 01 Jan 2025 13:59:47 GMT: installation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0xb978ba] goroutine 947 [running]: golang.org/x/tools/gopls/internal/lsp/cache.localPackageKey({{0xc000a324f8, 0x15}, {0xc000a324f8, 0x15}, {0xc000a29390, 0xc}, {0xc00062c300, 0x10, 0x10}, {0xc00062c400, ...}, ...}) check.go:1247 0x93a golang.org/x/tools/gopls/internal/lsp/cache.(*packageHandleBuilder).buildPackageHandle(0xc0004d2690, {0x110e480, 0xc000288370}, {0xc000a324f8%3F, 0xc000421360%3F}, 0xc000365e60) check.go:929 0x385 golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).getPackageHandles.func2() check.go:808 0x188 golang.org/x/sync/errgroup.(*Group).Go.func1() errgroup.go:75 0x50 created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 907 errgroup.go:72 0x96
OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.
NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE. DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.
<OPTIONAL: ATTACH LOGS HERE>
The text was updated successfully, but these errors were encountered:
Hi, please update gopls to the latest version (v0.17.1).
go install golang.org/x/tools/gopls@latest
This was fixed a while ago (see for example #3014).
Sorry, something went wrong.
No branches or pull requests
gopls version: v0.12.2/go1.23.4
gopls flags:
update flags: proxy
extension version: 0.44.0
environment: Visual Studio Code win32
initialization error: undefined
issue timestamp: Wed, 01 Jan 2025 14:14:03 GMT
restart history:
Wed, 01 Jan 2025 13:52:18 GMT: activation (enabled: true)
Wed, 01 Jan 2025 13:59:47 GMT: installation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
gopls stats -anon
gopls stats -anon failed after 2681 ms. Please check if gopls is killed by OS.OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.
NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.
<OPTIONAL: ATTACH LOGS HERE>
The text was updated successfully, but these errors were encountered: