-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to deal with Findbugs error "Classfile header isn't 0xCAFEBABE in" #706
Comments
Could you share your |
Attaching |
I've checked this binary file. It seems that it has So I guess that you generated this .class file with some tools that isn't |
Thanks for checking KengoToda. |
The relevance of the link is, if something created this class file by generating a sequence of bytes and then converting them to a String, before writing them to a file, then that would explain the EFBFBD sequence. In any case, without the CAFEBABE header, it's not a valid class file. |
SpotBugs has no full-time contributor nor supporter. So if you have suggestion, please raise PR by own... it should be easiest/fastest way to make it real. |
I'll close this stale issue, please feel free to reopen. |
Hello,
After upgrade Sonarqube server to version 6.7.4 and its compatible Findbugs plugin v.3.7 we get next error during the Sonar check:
Caused by: edu.umd.cs.findbugs.classfile.InvalidClassFileFormatException: Classfile header isn’t 0xCAFEBABE in ClassName.class
How can we get rid of this error?
The text was updated successfully, but these errors were encountered: