https://kotlinlang.org logo
Title
c

calvellido

01/15/2020, 11:05 AM
Hello! There have been a couple of weeks since I last ran the Arrow project, but now suddenly I'm not able to compile/build it:
./gradlew dokka
Gives me:
> Task :arrow-core:kaptKotlin FAILED
e: [kapt] An exception occurred: java.lang.StackOverflowError
        at arrow.meta.encoder.jvm.KotlinPoetEncoder$DefaultImpls.toMeta(KotlinPoetEncoder.kt:88)
(...)
Tried several things already, like increasing the Java heap size, starting from a fresh repo, and even removing all of
~/.gradle/
directory with no luck 😢, and I'm not able to overcome that yet. Has anybody faced something like this recently? Might this be related to this issue: https://github.com/arrow-kt/arrow/issues/1927?
r

Rachel

01/15/2020, 11:58 AM
Hi @calvellido!!
c

calvellido

01/15/2020, 12:16 PM
Yeah, thanks. Doesn't seem to be related with that bug as I'm still facing it, but thanks!
r

Rachel

01/15/2020, 12:17 PM
Right, I don't get that error without those previous steps...
j

Jannis

01/16/2020, 8:08 AM
https://github.com/arrow-kt/arrow/issues/1932 Think this has basically the same error
c

calvellido

01/16/2020, 8:52 AM
Yep, that is ☝️
r

Rachel

01/16/2020, 3:53 PM
However, I have the same OS and JDK and I don't have that problem: https://github.com/arrow-kt/arrow/issues/1932#issuecomment-575215539