deep-assoc-completion-vscode icon indicating copy to clipboard operation
deep-assoc-completion-vscode copied to clipboard

Error: Request knownDocuments defines 1 params but recevied none.

Open bogdanbeniaminb opened this issue 2 years ago • 0 comments

The first indexing works fine, but on the second project opening I receive this error: deep-assoc index exc.

Debugging the extension, this is the info about the error:

[2022-04-03 12:49:56.977] [renderer1] [error] [Extension Host] Error: Request knownDocuments defines 1 params but recevied none.
    at handleResponse (/home/barbu/.vscode/extensions/klesun.deep-assoc-completion-vscode-0.9.0/node_modules/vscode-jsonrpc/lib/common/connection.js:477:48)
    at processMessageQueue (/home/barbu/.vscode/extensions/klesun.deep-assoc-completion-vscode-0.9.0/node_modules/vscode-jsonrpc/lib/common/connection.js:292:17)
    at Immediate.<anonymous> (/home/barbu/.vscode/extensions/klesun.deep-assoc-completion-vscode-0.9.0/node_modules/vscode-jsonrpc/lib/common/connection.js:276:13)
    at processImmediate (node:internal/timers:464:21)

It comes froom WorkspaceDiscovery.ts, line 223.. If I disable the knownDocumentsRequest call and timestamp to 0 and cachedUriSet to [], then the extension doesn't throw that error any more.

It seems as if Intelephense's knownDocuments method doesn't receive everything it wants.

Thank you!

bogdanbeniaminb avatar Apr 03 '22 10:04 bogdanbeniaminb