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

"Unhandled method volar/getAttrNameCaseClient" error #658

Closed
marcuspoehls opened this issue Nov 2, 2021 · 18 comments
Closed

"Unhandled method volar/getAttrNameCaseClient" error #658

marcuspoehls opened this issue Nov 2, 2021 · 18 comments
Labels
bug Something isn't working need info

Comments

@marcuspoehls
Copy link

  • OS: macOS 11.6
  • VS Code: 1.61.2 (Universal)
  • Volar: 0.28.10

I keep getting the following error stack in VS Code:

[Error - 4:15:29 PM] Request textDocument/codeAction failed.
  Message: Unhandled method volar/getAttrNameCaseClient
  Code: -32601 

Anything I can do to fix it?

@johnsoncodehk
Copy link
Member

Can it be repaired by executing Developer: Reload Window?

@johnsoncodehk johnsoncodehk added bug Something isn't working need info labels Nov 3, 2021
@marcuspoehls
Copy link
Author

@johnsoncodehk Yep, reloading the extension host or windows works 👍

I also noticed that our setup is a bit complicated. We have a symlink of the Vue code files inside of the repository. When I edit the symlinked files, Volar stops working. When I edit the original files, Volar works.

My bad, sorry! Closing this issue here because I think it’s an issue in our setup

@alex-eri
Copy link

alex-eri commented Jan 5, 2022

Why closed? I have symlinks in project too)

@johnsoncodehk
Copy link
Member

johnsoncodehk commented Jan 5, 2022

@alex-eri I'm not really understand the problem, could you provide a repro case and describe the steps to reproduce it?

@liubin595338764
Copy link

liubin595338764 commented Jan 8, 2022

image

[Error - 下午1:40:09] Request textDocument/codeAction failed.
Message: Unhandled method volar/getAttrNameCaseClient
Code: -32601
[Error - 下午1:48:17] Request textDocument/hover failed.
Message: Unhandled method volar/getAttrNameCaseClient
Code: -32601
[Error - 下午1:48:18] Request textDocument/hover failed.
Message: Unhandled method volar/getAttrNameCaseClient
Code: -32601
[Error - 下午1:48:24] Request textDocument/codeAction failed.
Message: Unhandled method volar/getAttrNameCaseClient
Code: -32601

@johnsoncodehk
Copy link
Member

@liubin595338764 Please provide repro case and the reproduce steps, because I can't check the problem only from the error message, thanks.

@spixy
Copy link

spixy commented Jan 12, 2022

@johnsoncodehk hi, my repro for this issue is opening some (random? idk) Vue 3 file in VS code (v1.63.2) in WSL2 (Ubuntu 20.04.3 on Windows 10 21H2)

Also there are another errors which happened before these -32601 errors (idk if its related):

Error: Connection got disposed.
at Object.dispose (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-jsonrpc/lib/common/connection.js:1105:27)
at Object.dispose (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-languageclient/lib/common/client.js:73:35)
at LanguageClient.handleConnectionClosed (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-languageclient/lib/common/client.js:2508:42)
at LanguageClient.handleConnectionClosed (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-languageclient/lib/node/main.js:173:15)
at closeHandler (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-languageclient/lib/common/client.js:2495:18)
at CallbackList.invoke (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-jsonrpc/lib/common/events.js:55:39)
at Emitter.fire (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-jsonrpc/lib/common/events.js:117:36)
at closeHandler (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-jsonrpc/lib/common/connection.js:272:26)
at CallbackList.invoke (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-jsonrpc/lib/common/events.js:55:39)
at Emitter.fire (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-jsonrpc/lib/common/events.js:117:36)
at IPCMessageReader.fireClose (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-jsonrpc/lib/common/messageReader.js:40:27)
at ChildProcess. (/home/spixy/.vscode-server/extensions/johnsoncodehk.volar-0.30.2/node_modules/vscode-jsonrpc/lib/node/main.js:33:45)
at ChildProcess.emit (events.js:327:22)
at maybeClose (internal/child_process.js:1048:16)
at Socket. (internal/child_process.js:439:11)
at Socket.emit (events.js:315:20)
at Pipe. (net.js:673:12)

@riderx
Copy link

riderx commented Jan 17, 2022

Same issue on my side, it happen after few hours of coding, and then never stop until i reload VS Code.
I have issue in this repo : https://github.com/Forgr-ee/Mimesis
And all using Vitesse as template. But not always, i don't know how to reproduce it, what's the pattern :/

@johnsoncodehk johnsoncodehk reopened this Jan 17, 2022
@riderx
Copy link

riderx commented Jan 17, 2022

This first sign before the error :
Captura de ecrã 2022-01-17, às 02 19 36
I'm in take over mode, maybe this info will help you

@thecrypticace
Copy link

I had this happen because the extension host runs out of memory (possibly due to the number files in the project?) Here's the stack trace from right when it happened. It's admittedly not super useful but the memory aspect is good to know I think.

Somewhat in the middle of some things but I'll see if I can replicate the memory usage problems in a new repo this week.

<--- Last few GCs --->

[42743:0x1900000000]   260583 ms: Scavenge (reduce) 3817.6 (3945.5) -> 3817.5 (3945.5) MB, 279.8 / 0.0 ms  (average mu = 0.751, current mu = 0.599) allocation failure 
[42743:0x1900000000]   260850 ms: Scavenge (reduce) 3817.6 (3945.5) -> 3817.5 (3945.5) MB, 264.7 / 0.0 ms  (average mu = 0.751, current mu = 0.599) allocation failure 
[42743:0x1900000000]   261094 ms: Scavenge (reduce) 3817.6 (3945.5) -> 3817.5 (3945.5) MB, 241.9 / 0.0 ms  (average mu = 0.751, current mu = 0.599) allocation failure 


<--- JS stacktrace --->

FATAL ERROR: Scavenger: semi-space copy Allocation failed - JavaScript heap out of memory
[Info  - 9:31:11 PM] Connection to server got closed. Server will restart.
[Error - 9:31:11 PM] Request textDocument/hover failed.
Error: Connection got disposed.
    at Object.dispose (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-jsonrpc/lib/common/connection.js:1105:27)
    at Object.dispose (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-languageclient/lib/common/client.js:73:35)
    at LanguageClient.handleConnectionClosed (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-languageclient/lib/common/client.js:2508:42)
    at LanguageClient.handleConnectionClosed (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-languageclient/lib/node/main.js:173:15)
    at closeHandler (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-languageclient/lib/common/client.js:2495:18)
    at CallbackList.invoke (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-jsonrpc/lib/common/events.js:55:39)
    at Emitter.fire (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-jsonrpc/lib/common/events.js:117:36)
    at closeHandler (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-jsonrpc/lib/common/connection.js:272:26)
    at CallbackList.invoke (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-jsonrpc/lib/common/events.js:55:39)
    at Emitter.fire (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-jsonrpc/lib/common/events.js:117:36)
    at IPCMessageReader.fireClose (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-jsonrpc/lib/common/messageReader.js:40:27)
    at ChildProcess.<anonymous> (/Users/jordanpittman/.vscode/extensions/johnsoncodehk.volar-0.30.4/node_modules/vscode-jsonrpc/lib/node/main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Socket.<anonymous> (internal/child_process.js:439:11)
    at Socket.emit (events.js:315:20)
    at Socket.EventEmitter.emit (domain.js:467:12)
    at Pipe.<anonymous> (net.js:673:12)

@olemarius
Copy link

I'm getting the same.

<--- Last few GCs --->

[23740:0000249200000000]  1252155 ms: Scavenge 3797.7 (3949.2) -> 3792.6 (3949.9) MB, 5.3 / 0.0 ms  (average mu = 0.811, current mu = 0.000) allocation failure 
[23740:0000249200000000]  1252191 ms: Scavenge 3795.9 (3949.9) -> 3793.0 (3949.9) MB, 13.9 / 0.0 ms  (average mu = 0.811, current mu = 0.000) allocation failure 
[23740:0000249200000000]  1252208 ms: Scavenge 3793.0 (3949.9) -> 3793.0 (3949.9) MB, 17.2 / 0.0 ms  (average mu = 0.811, current mu = 0.000) allocation failure 


<--- JS stacktrace --->

FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
[Info  - 13:07:34] Connection to server got closed. Server will restart.
[Error - 13:07:34] Request textDocument/completion failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/codeAction failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/completion failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/codeAction failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/codeAction failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/completion failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/completion failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/completion failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/completion failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/completion failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/codeAction failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/codeAction failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:34] Request textDocument/codeAction failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:1105:27)
    at Object.dispose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:163:35)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2665:42)
    at LanguageClient.handleConnectionClosed (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\node\main.js:173:15)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-languageclient\lib\common\client.js:2652:18)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at closeHandler (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:272:26)
    at CallbackList.invoke (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:55:39)
    at Emitter.fire (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\events.js:117:36)
    at IPCMessageReader.fireClose (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\messageReader.js:40:27)
    at ChildProcess.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\node\main.js:33:45)
    at ChildProcess.emit (events.js:327:22)
    at ChildProcess.EventEmitter.emit (domain.js:467:12)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
[Error - 13:07:59] Request textDocument/completion failed.
  Message: Unhandled method volar/getAttrNameCaseClient
  Code: -32601 
[Error - 13:07:59] Request textDocument/signatureHelp failed.
  Message: Unhandled method volar/getAttrNameCaseClient
  Code: -32601 
(node:38064) UnhandledPromiseRejectionWarning: Error: Unhandled method volar/getAttrNameCaseClient
    at handleResponse (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:510:48)
    at processMessageQueue (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:308:17)
    at Immediate.<anonymous> (c:\Users\olema\.vscode\extensions\johnsoncodehk.volar-0.31.1\node_modules\vscode-jsonrpc\lib\common\connection.js:292:13)
    at processImmediate (internal/timers.js:461:21)
(Use `Code --trace-warnings ...` to show where the warning was created)
(node:38064) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:38064) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[Error - 13:07:59] Request textDocument/codeAction failed.
  Message: Unhandled method volar/getAttrNameCaseClient
  Code: -32601 
[Error - 13:07:59] Request textDocument/signatureHelp failed.
  Message: Unhandled method volar/getAttrNameCaseClient
  Code: -32601 
[Error - 13:07:59] Request textDocument/signatureHelp failed.
  Message: Unhandled method volar/getAttrNameCaseClient
  Code: -32601 

@ruanlin-kylin
Copy link

ruanlin-kylin commented Jan 27, 2022

I had the same problem.

@johnsoncodehk
Copy link
Member

@thecrypticace @olemarius The error seems to be different from the issuer, see #900 (comment).

@alancnet
Copy link

alancnet commented Mar 4, 2022

Yeah so I'm hitting this error constantly.. Clearly a memory leak. Anyone able to run this extension with a profiler?

@olemarius
Copy link

@alancnet is your project big? This error went away after we moved the vue part out of a bigger project anc creating a new workspace for it

@johnsoncodehk
Copy link
Member

johnsoncodehk commented Mar 7, 2022

If memory usage is the problem, please try enable low power by setting "volar.lowPowerMode": true, it should reduce a half of memory usage, see #531.

You could also see #413 if you would like to profiling.

@riderx
Copy link

riderx commented Mar 7, 2022

understand it can be a good option but in my case i have 32GB or RAM, and i got the issue on this project : https://github.com/Forgr-ee/Mimesis
Who is not very huge, i will have a check in profiling

@johnsoncodehk
Copy link
Member

@riderx thanks for the repro case, I will check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need info
Projects
None yet
Development

No branches or pull requests

10 participants