This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 235089, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 20140317-eacabc97e7bc) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132 OS: Linux User Comments: zdenek.rod: I open java file. jglick: Just made a new project. GUEST: Classpath scanning Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 2560 at org.objectweb.asm.ClassReader.readClass(ClassReader.java:0) at org.objectweb.asm.ClassReader.accept(ClassReader.java:0) at edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44) at org.objectweb.asm.ClassReader.accept(ClassReader.java:0) at edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:106) at edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:492)
Created attachment 146126 [details] stacktrace
Created attachment 146127 [details] stacktrace Looking at a Java class (-source 6).
I am running a custom build of the FindBugs plugin, but I took care to include the purported fix of #235089 (by updating to current sources before applying my unrelated patch) and this still seems to happen. Also I am not using Java 8 sources at the moment.
Created attachment 146130 [details] stacktrace editing a javascript source file
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=208487
Created attachment 146144 [details] stacktrace Using findbugs
Created attachment 146195 [details] stacktrace Source -> Inspect -> Findbugs -> BANG!
Of course this only happens when running under JDK 8.
(In reply to Jesse Glick from comment #8) > Of course this only happens when running under JDK 8. Exactly! Although not using Java 8 sources, I'm using Java 8 to run the IDE and as default Java platform.
Created attachment 146272 [details] stacktrace just installed latest findbug plugin.
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=208487
Created attachment 146594 [details] stacktrace Exception occured after moving a junit-class to an other folder.
Created attachment 146624 [details] stacktrace Tried to run FB on a simple java class
Findbugs is not working when NetBeans is running on Java 8, increasing priority.
Created attachment 147011 [details] stacktrace executing a Findbugs inspection in a Java project. The project is a Maven Jira plugin (<packaging>atlassian-plugin</packaging>)
Seems to happen when a new class is created, as well as when a file is opened by clicking on an exception link.
fixed in jet-main: 31957c9af780
*** Bug 239633 has been marked as a duplicate of this bug. ***
Integrated into 'main-silver', will be available in build *201407170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/31957c9af780 User: Petr Cyhelsky <cyhelsky@netbeans.org> Log: #243024 - Update findbugs library to version 3.0.0