cbeust / kobalt-intellij-plugin

An IntelliJ plug-in for Kobalt
21 stars 7 forks source link

Need better error reporting #60

Closed cbeust closed 7 years ago

cbeust commented 7 years ago

If you try to sync the current plug-in with a Kobalt > 0.920, you get:

image

As we discussed previously, this is mostly due to the 1.0.6 / 1.1.0-beta Kotlin compiler discrepancy (the sync works fine with 0.920 and below), but I really wanted to make sure that such was the case, however, I can't get any stack trace from anything (there's nothing in the IDEA event log and the stack trace in idea.log is not helpful).

@dmitry-zhuravlev, do you know what exactly is causing this 500 and how we could surface it?

dmitry-zhuravlev commented 7 years ago

@cbeust I also see this problem starting from 0.922. However 0.919 works for me....

dmitry-zhuravlev commented 7 years ago

By the way I tried from master branch.... But when I swithed back to migration branch all seems to be fine.

cbeust commented 7 years ago

Were you able to find out exactly what's causing this 500? I would expect to see some stack trace with a bytecode error or some ClassDefNotFound, but I'm still not quite understanding how the version of the remote Kobalt server matters: it's a JSON call to a remote process, why would it matter what version of kotlinc was used to compile that remote process?

dmitry-zhuravlev commented 7 years ago

I didn't see this issue any more. So probably closing it.