Skip to content

Cannot read property 'lineComments' of undefined Code: -32603 #358

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
opsarno opened this issue Aug 26, 2020 · 5 comments
Closed

Cannot read property 'lineComments' of undefined Code: -32603 #358

opsarno opened this issue Aug 26, 2020 · 5 comments

Comments

@opsarno
Copy link

opsarno commented Aug 26, 2020

[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 #353

@huytn
Copy link

huytn commented Aug 26, 2020

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 

@alexkoepke
Copy link

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 

@namoshizun
Copy link

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 

@gchristidis
Copy link

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 

@JPinkney
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants