Skip to content

VSCode Extension - Internal Error #21

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

Closed
rmaclean opened this issue Jun 20, 2018 · 4 comments
Closed

VSCode Extension - Internal Error #21

rmaclean opened this issue Jun 20, 2018 · 4 comments
Labels
bug Something isn't working

Comments

@rmaclean
Copy link

rmaclean commented Jun 20, 2018

After resolving my previous issues (19 and 20), the extension seems to just randomly stop responding; either just doesn't work or offers suggestions for a few and then stops. No error message though the following does appear in the developer tools.

	at new ResponseError (/Users/rmaclean/.vscode/extensions/fwcd.kotlin-0.1.3/node_modules/vscode-jsonrpc/lib/messages.js:46:28)
	at handleResponse (/Users/rmaclean/.vscode/extensions/fwcd.kotlin-0.1.3/node_modules/vscode-jsonrpc/lib/main.js:430:48)
	at processMessageQueue (/Users/rmaclean/.vscode/extensions/fwcd.kotlin-0.1.3/node_modules/vscode-jsonrpc/lib/main.js:258:17)
	at Immediate.<anonymous> (/Users/rmaclean/.vscode/extensions/fwcd.kotlin-0.1.3/node_modules/vscode-jsonrpc/lib/main.js:242:13)
	at runCallback (timers.js:672:20)
	at tryOnImmediate (timers.js:645:5)
	at processImmediate [as _immediateCallback] (timers.js:617:5)

If I take the code and build it myself and run it in debug it works just fine. I even built the extension manually and installed it, but then it stopped working again so it seems to be something about the communication between the language server and extension which talk fine when debugging but not when running normally.

The above all relate to my Mac; I have gotten this to reproduce on my Windows machine as well, by opening a folder. It seems happy if I just open a single file on Windows but haven't tried to that on MacOS or tried debugging the extension on Windows.

Any ideas or experiments I can run for you?

@rmaclean rmaclean changed the title VSCode Extension on MacOSX - Stops responding VSCode Extension - Internal Error Jun 20, 2018
@fwcd
Copy link
Owner

fwcd commented Jun 20, 2018

@rmaclean Could you check, if there is a stacktrace of the language server itself under "Output -> Kotlin"?

image

(This is just a random stacktrace for demonstration purposes)

@fwcd fwcd added the bug Something isn't working label Jun 20, 2018
@rmaclean
Copy link
Author

No Kotlin option in the drop down 😕

@fwcd
Copy link
Owner

fwcd commented Jun 22, 2018

@rmaclean Could you try updating the extension to the current published version and see if the issue persists?

@rmaclean
Copy link
Author

Can confirm fixed on 0.15 🙌

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

No branches or pull requests

2 participants