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

UnhandledPromiseRejectionWarning on jsonParser #494

Closed
4 tasks
evidolob opened this issue Jun 22, 2021 · 0 comments · Fixed by #516
Closed
4 tasks

UnhandledPromiseRejectionWarning on jsonParser #494

evidolob opened this issue Jun 22, 2021 · 0 comments · Fixed by #516
Labels
Milestone

Comments

@evidolob
Copy link
Collaborator

evidolob commented Jun 22, 2021

Describe the bug

Telemetry reports that error:

[Error - 1:10:47 AM] (node:31445) UnhandledPromiseRejectionWarning: TypeError: sequenceNode.properties is not iterable (cannot read property undefined) 
at /home/_username_/.vscode-server/extensions/redhat.vscode-yaml-0.20.0/node_modules/yaml-language-server/out/server/src/languageservice/parser/jsonParser07.js:917:46
at Array.forEach (<anonymous>) 
at _validateObjectNode (/home/_username_/.vscode-server/extensions/redhat.vscode-yaml-0.20.0/node_modules/yaml-language-server/out/server/src/languageservice/parser/jsonParser07.js:916:57) 
at validate (/home/_username_/.vscode-server/extensions/redhat.vscode-yaml-0.20.0/node_modules/yaml-language-server/out/server/src/languageservice/parser/jsonParser07.js:438:13) 
at _validateObjectNode (/home/_username_/.vscode-server/extensions/redhat.vscode-yaml-0.20.0/node_modules/yaml-language-server/out/server/src/languageservice/parser/jsonParser07.js:983:25) 
at validate (/home/_username_/.vscode-server/extensions/redhat.vscode-yaml-0.20.0/node_modules

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)
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.

1 participant