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.
Summary: | Use FindBugs compatible with JDK 1.8 | ||
---|---|---|---|
Product: | java | Reporter: | Jesse Glick <jglick> |
Component: | FindBugs | Assignee: | Petr Cyhelsky <cyhelsky> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alied, anebuzelsky, axlm, dengr, dstrupl, elennaro, galambos, jglick, jkovalsky, MackSix, markiewb, peterhull90, ralphbenjamin, stefan79, ttampe, witbrock, zdenek.rod |
Priority: | P2 | Keywords: | JDK_8 |
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 208487 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
Jesse Glick
2014-03-18 20:21:17 UTC
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 |