IntelliJ Community Project: Build failure "Bad class file RuntimeInvisibleParameterAnnotations"
I forked and check out https://github.com/JetBrains/intellij-community
Followed the instructions in the README.md
However when I try to build, all I get is:
/home/sfriedrich/dev/intellij-community/platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java
Error:Error:line (28)java: cannot access com.intellij.util.LineSeparator
bad class file: /home/sfriedrich/dev/intellij-community/out/production/util/com/intellij/util/LineSeparator.class
bad RuntimeInvisibleParameterAnnotations attribute: LineSeparator(java.lang.String)
Please remove or make sure it appears in the correct subdirectory of the classpath.
Error:Error:line (106)java: cannot find symbol
symbol: class Charset
location: class com.intellij.openapi.vfs.VirtualFile
Error:Error:line (208)java: cannot find symbol
symbol: class IOException
location: class com.intellij.openapi.vfs.VirtualFile
Error:Error:line (226)java: cannot find symbol
symbol: class IOException
location: class com.intellij.openapi.vfs.VirtualFile
Error:Error:line (323)java: cannot find symbol
Running a recent build of IntelliJ Ultimate with all plugins enabled.
Please sign in to leave a comment.
Sorry, that was broken for a while. Fixed already in 5621b5745ef23f5549c69b075ccd40f241957016. Workaround: temporarily disable adding runtime instrumentation for NotNull annotations.
Thanks a lot for the quick reply!
The project builds and runs fine, now.