Menu ▾ ▴

#1264 Eclipse Plugin: Internal Error on Java 8

3.0.0
closed-fixed
None
5
2014-10-17
2014-04-10
No

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

Discussion

  • Andrey Loskutov

    Andrey Loskutov - 2014-04-20
    • status: open --> closed-fixed
    • assigned_to: Andrey Loskutov
    • Group: 2.0.4 --> 3.0.0
     
  • Andrey Loskutov

    Andrey Loskutov - 2014-04-20

    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

     
  • EndreStølsvik

    EndreStølsvik - 2014-06-21

    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.

     
  • Andrey Loskutov

    Andrey Loskutov - 2014-06-21

    Use http://findbugs.cs.umd.edu/eclipse-daily as update site in Eclipse.

     
  • EndreStølsvik

    EndreStølsvik - 2014-06-21

    Thanks! Is this the permanent solution, though? "Daily" sounds a bit rough?

     
  • Andrey Loskutov

    Andrey Loskutov - 2014-06-21

    If 3.0.0 will be released, you will get it from the usual update site.

     
  • Dietrich Schulten

    Greetings!

    HAve you read that nice article already, it's so interesting, please read it here http://gist.newjerseybeachhouse.com/e4ttd

    Hugs, Dietrich Schulten

     

Log in to post a comment.