Vscode-yaml: Cannot read property 'lineComments' of undefined Code: -32603

Created on 26 Aug 2020  路  5Comments  路  Source: redhat-developer/vscode-yaml

[Error - 6:24:54 PM] Request textDocument/documentSymbol failed.
  Message: Request textDocument/documentSymbol failed with message: Cannot read property 'lineComments' of undefined
  Code: -32603

This problem occurs when I cut back YAML files from other files for editing.

Exp:

# test comment
- name: xxxxx

Same as https://github.com/redhat-developer/vscode-yaml/issues/353

Most helpful comment

This should be fixed in the 0.10.1 release that just went out

All 5 comments

and

Error - 3:29:10 PM] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: Cannot read property 'lineComments' of undefined
  Code: -32603 

Getting the same issue error when hovering over comments.

[Error - 3:55:15 PM] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: Cannot read property 'lineComments' of undefined
  Code: -32603 

Having encountered this issue as well after upgrading VSCode to v1.48.2 on Debian.

[Error - 10:22:57 AM] Request textDocument/documentSymbol failed.
  Message: Request textDocument/documentSymbol failed with message: Cannot read property 'lineComments' of undefined
  Code: -32603 

I am working on AWS CF yaml docs and i get this message every second and i cant find a way to turn it off, closing the output panel just opens it up again when the next message is displayed. Its very annoying

[Error - 11:00:51 am] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: Cannot read property 'lineComments' of undefined
  Code: -32603 

This should be fixed in the 0.10.1 release that just went out

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Deilan picture Deilan  路  6Comments

kace91 picture kace91  路  7Comments

nicholas-devlin picture nicholas-devlin  路  4Comments

tracker1 picture tracker1  路  5Comments

shadowzen1978 picture shadowzen1978  路  7Comments