Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

java.util.concurrent.CancellationException #150

Open
kalvisbuls opened this issue Jul 2, 2020 · 2 comments
Open

java.util.concurrent.CancellationException #150

kalvisbuls opened this issue Jul 2, 2020 · 2 comments

Comments

@kalvisbuls
Copy link

I'm very regularly having this exception when using Psalm. I've seen similar issues reported here, including several Psalm-related, but not with this particular error.

java.util.concurrent.CancellationException
	at java.base/java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2396)
	at com.github.gtache.lsp.client.languageserver.wrapper.LanguageServerWrapperImpl.stop(LanguageServerWrapperImpl.scala:268)
	at com.github.gtache.lsp.client.languageserver.wrapper.LanguageServerWrapperImpl.disconnect(LanguageServerWrapperImpl.scala:261)
	at com.github.gtache.lsp.PluginMain$.$anonfun$editorClosed$2(PluginMain.scala:291)
	at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
	at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
	at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:255)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

I'm using PhpStorm 2020.1.2 (build #PS-201.7846.90) with the latest version of the plugin (1.6.1). Psalm is set up using standard configuration described here.

@caugner
Copy link

caugner commented Sep 1, 2020

Same here with Psalm (vendor/vimeo/psalm/psalm-language-server):

java.util.concurrent.CancellationException
	at java.util.concurrent.CompletableFuture.cancel(Unknown Source)
	at com.github.gtache.lsp.client.languageserver.wrapper.LanguageServerWrapperImpl.stop(LanguageServerWrapperImpl.scala:268)
	at com.github.gtache.lsp.client.languageserver.wrapper.LanguageServerWrapperImpl.disconnect(LanguageServerWrapperImpl.scala:261)
	at com.github.gtache.lsp.PluginMain$.$anonfun$editorClosed$2(PluginMain.scala:291)
	at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
	at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
	at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:268)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Unknown Source)
	at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

@oliverswitzer
Copy link

oliverswitzer commented Oct 8, 2020

Can confirm that I am getting this with using elixir-lsp

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants