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

Cannot read property '0' of undefined Code #617

Closed
3 tasks done
fbricon opened this issue Oct 20, 2021 · 0 comments · Fixed by redhat-developer/yaml-language-server#558
Closed
3 tasks done

Cannot read property '0' of undefined Code #617

fbricon opened this issue Oct 20, 2021 · 0 comments · Fixed by redhat-developer/yaml-language-server#558
Assignees
Labels
Milestone

Comments

@fbricon
Copy link
Contributor

fbricon commented Oct 20, 2021

Describe the bug

Telemetry reports a significant number of errors caused by "Cannot read property '0' of undefined Code".

  • Request textDocument/documentLink failed. Message: Request textDocument/documentLink failed with message: Cannot read property '0' of undefined
  • Request textDocument/completion failed. Message: Request textDocument/completion failed with message: Cannot read property '0' of undefined

This is a new error appearing with vscode-yaml 1.0.0

Expected Behavior

No errors

Current Behavior

Hundreds of users experiencing "Cannot read property '0' of undefined Code" errors

Steps to Reproduce

  1. no idea

Environment

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

Successfully merging a pull request may close this issue.

2 participants