I have a ktor project setup using gradle as build ...
# intellij
e
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:
Copy code
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
...
o
@dmitry.petrov
It looks like https://youtrack.jetbrains.com/issue/KT-19251 We will make a workaround in #ktor
e
Missed the thread, but using a later version of JDK8 seemed to have solved it. I just had two of them setup for some reason.