LightYagami674's blog

By LightYagami674, history, 5 years ago, In English

Just downloaded and installed CHelper v4.4.2 (Windows 10) and got this error:

java.lang.IncompatibleClassChangeError: Method 'com.intellij.openapi.roots.libraries.LibraryTable com.intellij.openapi.roots.impl.libraries.ProjectLibraryTable.getInstance(com.intellij.openapi.project.Project)' must be InterfaceMethodref constant

So, does anyone know the solution to this or has experienced this before?

  • Vote: I like it
  • -13
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
  Vote: I like it +10 Vote: I do not like it

Got the same error in IDEA 2020.2.1 with 11.0.8 JDK. Fixed for me by running IDEA with old JDK (1.8.0_40) using IDEA_JDK env variable and idea.bat from IDEA "bin" directory. Enough to run once like this, it was a problem with project generation at first start.

Egor, look at this please? FixLibrary doesn't work on new IDEA. Something like JetBrains changed their api for libraries and new JDKs check binary compatibility more strictly.

Full stacktrace