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.
Build: NetBeans IDE Dev (Build 201203200400) VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 User Comments: stefan79: NPE occurs also after restarting NetBeans. stefan79: Installed FindBugs and after clicked at Options - >Miscellaneos -> FindBugs -> Then the NPE occured. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.findbugs.options.FindBugsOptionsPanelController.getComponent(FindBugsOptionsPanelController.java:124) at org.netbeans.modules.findbugs.options.FindBugsOptionsPanelController.getComponent(FindBugsOptionsPanelController.java:53) at org.netbeans.modules.options.advanced.Model$DelegatingController.getComponent(Model.java:327) at org.netbeans.modules.options.advanced.Model.getPanel(Model.java:161) at org.netbeans.modules.options.advanced.AdvancedPanel.handleTabSwitched(AdvancedPanel.java:198) at org.netbeans.modules.options.advanced.AdvancedPanel.access$100(AdvancedPanel.java:75)
Created attachment 116998 [details] stacktrace
easy to reproduce ...
Created attachment 117078 [details] stacktrace Switching to Findbugs panel in Options
Oops, I did not realize the panel(s) are registered even under Misc category - the main panel is in Editor/Hints/FindBugs (we may need to rename "Hints" to something like "Warnings" and the "Language" combo to something like "Technology:"). These registrations are removed by: http://hg.netbeans.org/jet-main/rev/f41605a7f1dd and this increments the version of the FindBugs Integration module so that its upgrade should be shown to the users: http://hg.netbeans.org/jet-main/rev/07d1705123f0 Please ignore the Misc/FindBugs panel(s) for now.
Integrated into 'main-golden', will be available in build *201203240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f41605a7f1dd User: Jan Lahoda <jlahoda@netbeans.org> Log: #209848: disabling unwanted option panel registrations.
Integrated into 'main-golden', will be available in build *201203250401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f41605a7f1dd User: Jan Lahoda <jlahoda@netbeans.org> Log: #209848: disabling unwanted option panel registrations.
Sorry I have to reopen this bug. I get this exception from today build (from jet-main repository) Product Version: NetBeans IDE Dev (Build 20120327-32dda4ed3d72) Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02 System: Windows 7 version 6.1 running on x86; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
You mean after installing FindBugs from the AUC, right? I do not see the FindBugs panel in Tools/Options/Misc/ in current build from jet-main without installing FB from the AUC. The problem is that the AUC build is unstable due to some failing tests, so the default variant of the development AUC is not updated yet (it still contains version 1.2 of the FB module, while the bug has been fixed in version 1.3). Please either wait until the AUC is updated with FB version >= 1.3, or use this variant of the AUC as a temporary workaround: http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz (contains version 1.4 of the FB module)
yes, you're right I've got FB from AUC
Created attachment 117320 [details] stacktrace 1. Install FindBugs plugin 2.Options -> Miscellaneous 3.FindBugs tab