vscode-go icon indicating copy to clipboard operation
vscode-go copied to clipboard

gopls: automated issue report (initialization)

Open Wuchinator opened this issue 1 year ago • 1 comments

gopls version: v0.14.2 gopls flags: extension version: 0.40.3 environment: Code - OSS linux initialization error: Error: JSON RPC parse error: json: cannot unmarshal bool into Go struct field RenameClientCapabilities.capabilities.textDocument.rename.prepareSupportDefaultBehavior of type protocol.PrepareSupportDefaultBehavior 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 bool into Go struct field RenameClientCapabilities.capabilities.textDocument.rename.prepareSupportDefaultBehavior of type protocol.PrepareSupportDefaultBehavior
  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>

Wuchinator avatar Feb 05 '24 12:02 Wuchinator

Duplicate of #3110. This error is only encountered in a very old version of gopls (#1300). Do you possibly have multiple versions of gopls installed?

findleyr avatar Feb 07 '24 01:02 findleyr

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

gopherbot avatar Mar 07 '24 01:03 gopherbot