Jannis
12/15/2020, 1:19 PMCould not initialize class arrow.core.Either$Left
This is in a rather complex bit of code so I have no clue how to reproduce it in simple terms. The function that fails also works if called from a different method, but fails with others.Jannis
12/15/2020, 1:19 PMraulraja
12/15/2020, 2:27 PMraulraja
12/15/2020, 2:31 PMraulraja
12/15/2020, 2:32 PMJannis
12/15/2020, 2:37 PMAndThen
loop at quite deep stackdepth so that may also be problematic, although it probably should notsimon.vergauwen
12/15/2020, 6:30 PMsimon.vergauwen
12/15/2020, 6:31 PMSAndThen
? Or regular AndThen
? Is it inside any nested functions?simon.vergauwen
12/15/2020, 6:32 PMJannis
12/15/2020, 6:37 PMAndThen
Is this on the arrow-check PR? Could you point me to the file?Yes one sec, though its hard to understand how it all works together 😅
Jannis
12/15/2020, 6:38 PMrunBlocking
for function generation because there is just no way to use suspend there 😕Jannis
12/15/2020, 6:38 PMAndThenS
Jannis
12/15/2020, 6:40 PMJannis
12/15/2020, 6:41 PMListToFunction(Unit.toFunction())
instead of Long.toFunction
Jannis
12/15/2020, 6:42 PMAndThen
stackJannis
12/15/2020, 6:46 PMsimon.vergauwen
12/15/2020, 6:48 PMsimon.vergauwen
12/15/2020, 6:51 PM./gradlew dependencies
if you have different versions on the classpath for that module?Jannis
12/15/2020, 6:54 PMJannis
12/15/2020, 6:56 PMJannis
12/15/2020, 7:03 PMCaused by: java.lang.NoClassDefFoundError: Could not initialize class kotlinx.coroutines.CompletedExceptionally
This is so weird, the whole logic behind generating function is a bit whack mostly because of stacksafety but still this is just weird. The callstack here is also much smallerJannis
12/15/2020, 7:08 PMgradlew dependencies
gives me java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
lol. I am getting more and more confused by the minuteJannis
12/15/2020, 7:10 PMsimon.vergauwen
12/15/2020, 7:29 PMmind blowngives megradlew dependencies
lol. I am getting more and more confused by the minutejava.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
simon.vergauwen
12/15/2020, 7:30 PMJannis
12/15/2020, 8:39 PMI haven't had time to try and reproduce yetOk, no worries^^ I put of this for a while, I am stuck either way, even if it can't be reproduced so 😅
raulraja
12/15/2020, 9:31 PMraulraja
12/15/2020, 9:31 PMJannis
12/15/2020, 10:11 PMJannis
12/15/2020, 10:13 PMJannis
12/15/2020, 10:32 PMJannis
12/15/2020, 10:34 PMnow it stackoverflows, but given that the whole thing is very prone to stackoverflows that is a step upThat luckily only refers to Generators generating functions, but since I had this fixed prior to moving away from mtl+IO there must be a way to fix this 😄