Go-to-definition crashes when jar has plus sign in name #326
Labels
bug
Something isn't working
dependency resolution
Related to the project dependency/standard library resolver
Somewhere along the line, the plus in the
file://
URL is converted to a space, causing a crash by aNoSuchFileException
.I found this while writing a minecraft mod; I made a (mostly minimal) git repo to replicate the error: https://github.com/clarfonthey/kt-lsp-bug-repro
The following is the output I get from
kak-lsp
while attempting to go-to-definition for one of the sponge classes inCrashReport_noopMixin.kt
. I additionally have the environment variableCLASSPATH=/usr/share/kotlin/lib/*.jar
set.Focusing on the specific crash:
If you check out the file it's trying to access, you'll notice that the issue is it converting a plus sign to a space, which normally should only be done in query strings:
Not 100% sure what's happening here, but if you run
gradle build
by itself, it passes, meaning that the paths definitely are working in gradle internally.The text was updated successfully, but these errors were encountered: