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

ERROR org.github.dragos.vscode.EnsimeLanguageServer - Unknown notification CancelRequest(4) #96

Open
w-r-z-k opened this issue Feb 19, 2019 · 0 comments

Comments

@w-r-z-k
Copy link

w-r-z-k commented Feb 19, 2019

The plugin doesn't seem to work for me. The hover always says "Loading ..." and no other features seem to work. So I looked in the log. I see these frequent errors:

ERROR org.github.dragos.vscode.EnsimeLanguageServer - Unknown notification CancelRequest(4)

and also this one:

ERROR org.ensime.core.RichPresentationCompiler - Error during askOption
java.util.concurrent.TimeoutException: Futures timed out after [30 seconds]
	at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:255)
	at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:259)
	at scala.concurrent.Await$.$anonfun$result$1(package.scala:215)
	at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
	at scala.concurrent.Await$.result(package.scala:142)
	at org.ensime.indexer.SearchService.findUnique(SearchService.scala:419)
	at org.ensime.model.ModelBuilders._locateSymbolPos(ModelBuilders.scala:43)
	at org.ensime.model.ModelBuilders._locateSymbolPos$(ModelBuilders.scala:28)
	at org.ensime.core.RichPresentationCompiler._locateSymbolPos(RichPresentationCompiler.scala:323)
	at org.ensime.model.ModelBuilders.locateSymbolPos(ModelBuilders.scala:21)
	at org.ensime.model.ModelBuilders.locateSymbolPos$(ModelBuilders.scala:20)
	at org.ensime.core.RichPresentationCompiler.locateSymbolPos(RichPresentationCompiler.scala:323)
	at org.ensime.model.ModelBuilders$TypeInfo$.basicTypeInfo$1(ModelBuilders.scala:159)
	at org.ensime.model.ModelBuilders$TypeInfo$.apply(ModelBuilders.scala:176)
	at org.ensime.core.RichCompilerControl.$anonfun$askTypeInfoAt$2(RichPresentationCompiler.scala:134)
	at scala.Option.map(Option.scala:146)
	at org.ensime.core.RichCompilerControl.$anonfun$askTypeInfoAt$1(RichPresentationCompiler.scala:134)
	at scala.tools.nsc.util.InterruptReq.execute(InterruptReq.scala:26)
	at scala.tools.nsc.interactive.Global.$anonfun$pollForWork$1(Global.scala:444)
	at scala.tools.nsc.interactive.Global.pollForWork(Global.scala:418)
	at scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:22)

FWIW, my environment is:

users-iMac:readtext user$ cat ~/.sbt/1.0/plugins/plugins.sbt 
addSbtPlugin("org.ensime" % "sbt-ensime" % "2.5.1")
users-iMac:readtext user$ sbt version
[info] 0.1.0-SNAPSHOT
users-iMac:readtext user$ java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
users-iMac:readtext user$ scala -version
Scala code runner version 2.12.8 -- Copyright 2002-2018, LAMP/EPFL and Lightbend, Inc.
users-iMac:readtext user$ sw_vers -productVersion 
10.14.3
users-iMac:readtext user$ code -version
1.31.1
1b8e8302e405050205e69b59abb3559592bb9e60
x64
/Users/user/.vscode/extensions/dragos.scala-lsp-0.2.3/
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

1 participant