Closed IceMan81 closed 5 years ago
Thank you for reporting this, I'll take a look as soon as possible.
@IceMan81 which EAP build did you use? I tested plugin with IC-183.3647.12, works fine.
That's the same build I used, except that its the ultimate edition. I'm also using https://bintray.com/jetbrains/intellij-jdk/openjdk9-osx-x64/152 as the runtime JVM
Ok, I used JDK 8. That's why I could not reproduce it.
Until this bug is not fixed - you can run IDEA using JDK 8 as a workaround.
Thanks for checking. From the exception hard to understand why that error would be because of JDK 9. I'll raise the error with Jetbrains.
Jetbrains claims its a plugin issue : linking the issue I raised on YouTrack, https://youtrack.jetbrains.com/issue/IDEA-200883
Found a solution. It can be solved by recompiling plugin with IDEA 2018.3 (EAP) sources (previously it was 2018.2.1). Problem is with this method:
java.lang.IncompatibleClassChangeError: Method com.intellij.openapi.roots.impl.libraries.ProjectLibraryTable.getInstance(Lcom/intellij/openapi/project/Project;)Lcom/intellij/openapi/roots/libraries/LibraryTable; must be InterfaceMethodref
It was a static method of a class in 2018.2, in 2018.3 class become an interface. As a result, JVM throws an error - probably valid one.
@Yaroslav Bedrov can you please take a better look at it, I can solve this issue in my plugin, but most likely other plugins are also affected and will require changes too (and it's not very obvious what to do).
Waiting for JetBrains reply - https://youtrack.jetbrains.com/issue/IDEA-200883#focus=streamItem-27-3156826-0-0
Will you be releasing a new build with this fix? I tried to build it on my own but ran into some issues. Didn't try too hard to resolve them.
Yes, soon when this scope is ready: https://github.com/protostuff/protobuf-jetbrains-plugin/milestone/17
While it's not ready, you might want to use latest plugin build from here: https://jenkins.ksprojects.org/job/protostuff/job/protobuf-jetbrains-plugin/job/master/
@kshchepanovskyi Thanks, that helped.
Describe the bug The plugin throws an exception java.lang.IncompatibleClassChangeError
To Reproduce Steps to reproduce the behavior:
Expected behavior No exceptions from the plugin
Plugin (please complete the following information):
Additional context This is the full stack trace