I have a ktor project setup using gradle as build tool.
One odd thing is that when I run it with a configuration inside intellij I get a crash when it tries to load a page.
However, if I run it from the terminal inside intellij (same gradle task), it works fine.
I’m using the gradle wrapper so I’m having a hard time figuring out what could be the difference.
I’d be happy if anyone can point me in the right direction 🙂
This is the beginning of the crash:
java.lang.VerifyError: Uninitialized object exists on backward branch 69
Exception Details:
Location:
org/jetbrains/ktor/routing/RoutingResolveContext.parse(Ljava/lang/String;)Ljava/util/List; @106: goto
Reason:
Error exists in the bytecode
...