Skip to content

gopls: automated issue report (initialization) #1438

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

Closed
zhangpanpan01 opened this issue Apr 19, 2021 · 3 comments
Closed

gopls: automated issue report (initialization) #1438

zhangpanpan01 opened this issue Apr 19, 2021 · 3 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@zhangpanpan01
Copy link

gopls version: v0.5.3
gopls flags:
update flags: proxy
extension version: 0.24.1
go version: 1.15.11
environment: iCoding 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.

Starting client failed
  Message: JSON RPC parse error: json: cannot unmarshal number into Go struct field RenameClientCapabilities.capabilities.textDocument.rename.prepareSupportDefaultBehavior of type bool: JSON RPC parse error
  Code: -32700 

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 19, 2021
@zhangpanpan01
Copy link
Author

An error is still reported after updating the version

@findleyr
Copy link
Member

An error is still reported after updating the version

The error you report is a known breakage for older versions of gopls: see also #1328. Are you sure you have updated gopls? You can see where gopls is installed by running Go: Locate Configured Go Tools, and then running gopls -v version.

@findleyr findleyr added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Apr 19, 2021
@findleyr findleyr modified the milestones: Untriaged, Backlog Apr 19, 2021
@hyangah
Copy link
Contributor

hyangah commented May 3, 2021

Closing. @zhangpanpan01 Please open a new issue if you still experience the same issue even after updating gopls to the latest version 0.6.10.

@hyangah hyangah closed this as completed May 3, 2021
@golang golang locked and limited conversation to collaborators May 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants