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.

Bug 253695

Summary: FindBugs plugin doesn't produce any output for current folder
Product: ide Reporter: bob_foster
Component: libsAssignee: Petr Hejl <phejl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description bob_foster 2015-07-23 16:04:57 UTC
Install FindBugs plugin. With Java 8 project selected, Source > Inspect > Configuration FindBugs, press Inspect. Inspector window opens.

Expected: FindBugs report.
Got: Nothing. Inspector has no contents.
Comment 1 Petr Hejl 2015-07-29 10:16:28 UTC
It looks like there is no output if scope is Current Folder with project folder selected. When scope is Open Project it displays the output regardless of JDK for me. There are patterns FindBugs 2 can't handle in Java 8 however. See issue #253097. Can you confirm this?
Comment 2 bob_foster 2015-07-29 16:21:37 UTC
Yes, in NetBeans 8.0.2, when 'Current Project (Oracle CI Server)' is selected instead of the default 'Current Folder (CIServer)' FindBugs output is produced. Confusing, but it works.
Comment 3 Petr Hejl 2015-07-29 19:46:16 UTC
So this is not JDK dependent. I'll check with Honza Lahoda how this has been designed. I'd like to implement issue #253097 anyway (in order to support lambdas properly).
Comment 4 bob_foster 2015-07-29 20:22:45 UTC
(In reply to Petr Hejl from comment #3)
> So this is not JDK dependent.

Seems not. NetBeans is running in Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 (excellent that I could copy from the About box, BTW). The source is 1.8.
Comment 5 Petr Hejl 2015-09-15 11:55:51 UTC
The separate issue for the current folder problem was filed and (already resolved): issue #255292.
Comment 6 Petr Hejl 2015-09-15 11:56:49 UTC
Closing this one as duplicate.

*** This bug has been marked as a duplicate of bug 255292 ***