You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024.03.10 14:35:44 INFO Connected to Scala CLI server v1.1.3
2024.03.10 14:35:44 INFO Scala CLI: Fatal error has occured within bloop bsp server, method: buildTargetDependencyModules, with params: DependencyModulesParams [
2024.03.10 14:35:44 INFO Scala CLI: targets = ArrayList (
2024.03.10 14:35:44 INFO Scala CLI: BuildTargetIdentifier [
2024.03.10 14:35:44 INFO Scala CLI: uri = "file:/home/runner/work/metals/metals/tests/unit/target/e2e/file-watcher/didChangeWatchedFiles-notification/.scala-build/?id=didChangeWatchedFiles-notification_f4dd477a3a"
2024.03.10 14:35:44 INFO Scala CLI: ],
2024.03.10 14:35:44 INFO Scala CLI: BuildTargetIdentifier [
2024.03.10 14:35:44 INFO Scala CLI: uri = "file:/home/runner/work/metals/metals/tests/unit/target/e2e/file-watcher/didChangeWatchedFiles-notification/.scala-build/?id=didChangeWatchedFiles-notification_f4dd477a3a-test"
2024.03.10 14:35:44 INFO Scala CLI: ]
2024.03.10 14:35:44 INFO Scala CLI: )
2024.03.10 14:35:44 INFO Scala CLI: ]. Shutting down the server:
2024.03.10 14:35:44 INFO Scala CLI: org.eclipse.lsp4j.jsonrpc.MessageIssueException: Message could not be parsed.
2024.03.10 14:35:44 INFO Scala CLI: at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponseIssues(RemoteEndpoint.java:358)
2024.03.10 14:35:44 INFO Scala CLI: at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handle(RemoteEndpoint.java:317)
2024.03.10 14:35:44 INFO Scala CLI: at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:198)
2024.03.10 14:35:44 INFO Scala CLI: at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
2024.03.10 14:35:44 INFO Scala CLI: at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
2024.03.10 14:35:44 INFO Scala CLI: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
2024.03.10 14:35:44 INFO Scala CLI: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2024.03.10 14:35:44 INFO Scala CLI: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2024.03.10 14:35:44 INFO Scala CLI: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2024.03.10 14:35:44 INFO Scala CLI: at java.base/java.lang.Thread.run(Thread.java:840)
2024.03.10 14:35:44 INFO Scala CLI:
To Reproduce
Try to send dependencyModules request, connected to scalameta/metals#6213
This is somewhat related to this issue. Bloop supports dependencyModules since scalacenter/bloop#2197. Is there some ETA when this will be available in Scala CLI?
Version(s)
v1.2.0
Describe the bug
To Reproduce
Try to send dependencyModules request, connected to scalameta/metals#6213
It's wrongly set to true in
scala-cli/modules/build/src/main/scala/scala/build/bsp/BspServer.scala
Line 176 in 22fe1aa
Expected behaviour
dependencyModulesProvider is set to true only if underlying Bloop supports it.
The text was updated successfully, but these errors were encountered: