kobalt-intellij-plugin icon indicating copy to clipboard operation
kobalt-intellij-plugin copied to clipboard

Plugin not working with IntelliJ IDEA 2017.2.1

Open ethauvin opened this issue 8 years ago • 6 comments

I get the following error:

Error:Error unmarshaling return; nested exception is: 
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.intellij.execution.configurations.GeneralCommandLine
writing aborted; java.io.NotSerializableException: com.intellij.execution.configurations.GeneralCommandLine
com.intellij.execution.configurations.GeneralCommandLine

Sounds like they may have changed the API.

ethauvin avatar Aug 11 '17 02:08 ethauvin

@ethauvin Just made some compatibility changes in 1.130 version of plugin. Does it solve the problem to you? Otherwise please give me some test steps to reproduce the mentioned problem.

dmitry-zhuravlev avatar Sep 04 '17 15:09 dmitry-zhuravlev

Same problem with the new plugin, and also after updating to IDEA 2017.2.3.

As far as testing, pretty easy:

kobatlw --init kotlin

then import into IDEA...

2017-09-04 18_04_08-new folder - c__users_erik_desktop_new folder - build kt - _kobalt_src_bu

ethauvin avatar Sep 05 '17 01:09 ethauvin

Hm... weird... The exception means that sync of project failed. Maybe it is a part of communication between plugin and Kobalt server. Actually I tried to reproduce the problem with Kobalt 1.0.89 and it works fine. @ethauvin Do you use different version of Kobalt? Also could you please attach IDEA logs with mentioned problem (can be found in Help->Show Log In Explorer)

dmitry-zhuravlev avatar Sep 05 '17 12:09 dmitry-zhuravlev

@dmitry-zhuravlev Using stock 1.0.89.

Log enclosed, from start to quit.

idea.zip

ethauvin avatar Sep 05 '17 19:09 ethauvin

@dmitry-zhuravlev Since you mentioned the Kobalt server, I used:

kobaltw --server --force

before starting IDEA, and that temporarly fixes the problem.

I say temporarily because that only works for the first opened project, if I switch to another project, I need to manually restart the server.

ethauvin avatar Sep 05 '17 19:09 ethauvin

Thanks for logs! Looks like the problem of serialization during RMI call inside IDEA's external system API. But still wondering why it is not reproducible on my side.

dmitry-zhuravlev avatar Sep 06 '17 10:09 dmitry-zhuravlev