In Findbugs Eclipse Plugin 2.0.3 I get an error popup after each save of a Java file, stating (in this case on package-info.java):
I am running Eclipse in Java 1.8.0 with compiler compliance and source compatibility settings of 1.5.
"An internal error occurred during: "Finding bugs in package-info.java...".
java.lang.ArrayIndexOutOfBoundsException"
eclipse.buildId=4.3.2.M20140221-1700
java.version=1.8.0
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
Error
Thu Apr 10 07:40:54 CEST 2014
The following errors occurred during FindBugs analysis:
Unable to get XClass for java/lang/Class
java.lang.ArrayIndexOutOfBoundsException
Unable to get XClass for java/lang/StringBuilder
java.lang.ArrayIndexOutOfBoundsException
This is due the class format changes in 1.8 we can't read in 2.0.3. The next major version (check eclipse nightly build) should work fine.
Closing as fixed. Feel free to reopen if the error occurs with the 3.0.0 builds.
Regards,
Andrey
How do I get hold of 3.0.0?? This is several months ago. Java 8 is long since, Eclipse 4.4 is out the door in days, and this is still a major problem - I cannot use Findbugs, and I want to! Please advice.
Use http://findbugs.cs.umd.edu/eclipse-daily as update site in Eclipse.
Thanks! Is this the permanent solution, though? "Daily" sounds a bit rough?
If 3.0.0 will be released, you will get it from the usual update site.
Greetings!
HAve you read that nice article already, it's so interesting, please read it here http://gist.newjerseybeachhouse.com/e4ttd
Hugs, Dietrich Schulten