Open
Description
Version(s)
Scala CLI 1.0.4
Scala 3.3.0
WSL2 with ubuntu 22.04 on a Windows 11 host
Describe the bug
When scala-cli repl .
it crashes with
java.lang.Exception: Error getting Bloop class path
bloop.rifle.BloopRifle$.startServer(BloopRifle.scala:49)
bloop.rifle.BloopServer$.startBloop$1(BloopServer.scala:79)
bloop.rifle.BloopServer$.ensureBloopRunning(BloopServer.scala:110)
bloop.rifle.BloopServer$.bsp(BloopServer.scala:157)
bloop.rifle.BloopServer$.buildServer(BloopServer.scala:187)
...
Attaching the full log.
message.txt
To Reproduce
It was reproducible on the machine of one of my students, until we nuked caches with
rm -rf ~/.ivy2/ ~/.cache/coursier/ ~/.cache/bloop/
Now we can't reproduce it anymore. So the above was a workaround, but we don't know what casued the crash.
Expected behaviour
Even if there are some inconsistencies in caches it should not crash, but try to amend the bloop class path if possible.