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 227835 - Findbugs does not appear after install, uninstall and usage impossible
Summary: Findbugs does not appear after install, uninstall and usage impossible
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: FindBugs (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 20:22 UTC by everflux
Modified: 2013-03-28 13:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Re-install of findbugs (60.18 KB, text/plain)
2013-03-22 20:22 UTC, everflux
Details
Inspect and transform dialog not showing findbugs (20.08 KB, image/png)
2013-03-25 21:46 UTC, everflux
Details
Findbugs plugin not shown in "installed plugins" after install (54.83 KB, image/png)
2013-03-25 21:50 UTC, everflux
Details
Source inspect actually showing findbugs plugin correctly (20.46 KB, image/png)
2013-03-25 21:54 UTC, everflux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description everflux 2013-03-22 20:22:44 UTC
Created attachment 132961 [details]
Re-install of findbugs

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

I installed the findbugs module without any error messages or problems.
The IDE did not request a restart or anything special.

I tried to use the inspect->findbugs afterwards, but there was no such category. I tried to uninstall the module, but it was not listed as installed. When trying to install it again, it was neither there.

I deleted the files I believe to be belonging to the module from my ~/.netbeans/7.3/{config,var} directories and restarted Netbeans.
I could now select the module for installation again. I installed it again, but to the same effect: No findbugs category in "inspect" nor was it listed as installed module.

I attach the logfile from the last session.
Comment 1 everflux 2013-03-22 20:23:56 UTC
Side note: I use maven as build system. I have added findbugs as plugin to the build (as this is required with jacoco for coverage), but no change.
Comment 2 Jan Lahoda 2013-03-25 15:59:02 UTC
How did you try to install the module? Through Source/Inspect or through Tools/Plugins?

I just tried to install FindBugs to NB 7.3 both using Source/Inspect dialog and using Tools/Options, and the FindBugs configuration option was present in the Source/Inspect dialog - could you please attach a screenshot of the Source/Inspect dialog with expanded Configuration combo?

Thanks.
Comment 3 everflux 2013-03-25 21:39:15 UTC
I used the plugin center (tool/plugins, search for "findb" in available plugins) where the plugin was listed as supported.
I verfied it on another machine, same effect here. BTW: The copyright/license was empty when I had to acknowledge it, but I am unsure if that is important.

will add a screenshot.
Comment 4 everflux 2013-03-25 21:46:21 UTC
Created attachment 133058 [details]
Inspect and transform dialog not showing findbugs
Comment 5 everflux 2013-03-25 21:50:03 UTC
Created attachment 133059 [details]
Findbugs plugin not shown in "installed plugins" after install

Uninstall of the findbugs plugin is impossible if not listed as installed plugin.
Comment 6 everflux 2013-03-25 21:53:00 UTC
Whoops... "Source->Inspect" instead of "inspect and transform" dialog looks similar on the first approach but they are different.
Sorry, my fault. The findbugs inspection is there if I use "source->inspect". I am so used to access the utilities from right-click on the project...

Nevertheless, uninstall of the plugin is not possible.
Comment 7 everflux 2013-03-25 21:54:40 UTC
Created attachment 133060 [details]
Source inspect actually showing findbugs plugin correctly
Comment 8 Jan Lahoda 2013-03-28 13:52:53 UTC
The FindBugs is only in Source/Inspect, sorry (things in Inspect&Transform must have transformations/automated fixes, and there are none for FB).

Regarding the Plugins dialog, I believe it is only showing "top-level" features, to see smaller units (like FB), please use Show Details.