Skip to content

TypeError thrown in extension host logs #1077

Open
@datho7561

Description

@datho7561
2025-04-30 14:03:58.616 [error] [redhat.vscode-xml] provider FAILED
2025-04-30 14:03:58.616 [error] TypeError: Cannot read properties of null (reading 'tags')
	at Object.asCompletionItem (/home/davthomp/Documents/Projects/vscode-xml/dist/extension.js:37097:48)
	at /home/davthomp/Documents/Projects/vscode-xml/dist/extension.js:32898:66
	at async SD.resolveCompletionItem (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:146164)

Based on this logs I thought it might have something to do with how we're converting protocol completion items to VS Code completion items. However, as far as I can tell we're just using the built in functionality of the language client to do this. This requires further investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions