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

gopls: automated issue report (initialization) #1463

Closed
wineee opened this issue Apr 30, 2021 · 1 comment
Closed

gopls: automated issue report (initialization) #1463

wineee opened this issue Apr 30, 2021 · 1 comment

Comments

@wineee
Copy link

wineee commented Apr 30, 2021

gopls version: (devel)
gopls flags:
update flags: proxy
extension version: 0.24.2
go version: 1.16.3
environment: Visual Studio Code linux
initialization error: Error: JSON RPC parse error: json: cannot unmarshal number into Go struct field RenameClientCapabilities.capabilities.textDocument.rename.prepareSupportDefaultBehavior of type bool: JSON RPC parse error
manual restart count: 0
total start count: 1

ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.

Describe what you observed.

Please attach the stack trace from the crash.
A window with the error message should have popped up in the lower half of your screen.
Please copy the stack trace and error messages from that window and paste it in this issue.

Failed to auto-collect gopls trace: no gopls log.

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>

@gopherbot gopherbot added this to the Untriaged milestone Apr 30, 2021
@suzmue
Copy link
Contributor

suzmue commented Apr 30, 2021

This is a known compatibility problem with older versions of gopls on recent versions of the extension (#1328). You can update your gopls tool as described in the troubleshooting guide.

@suzmue suzmue closed this as completed Apr 30, 2021
@golang golang locked and limited conversation to collaborators Apr 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants