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 214382, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.2 (Build 201207171143) VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05 OS: Windows 7 User Comments: GUEST: Inspecting code using findbugs dwuysan: Attempt Find Bugs GUEST: Running Findbugs. It says "Please Wait" in the "Inspector Window". However if you click the 'Categorize' button it will show a list of the violations. GUEST: Raised when calling Source Inspection on a Maven project gualtiero65: Running Inspection on "Netbeans Java hints" on a maven based project roti: findbug inspect on a maven web project swpalmer: Tried to run inspection (FindBugs) - it got to 100% and I got "Please Wait..." in the Inspector Window. anpilov: Bugs Introspection Stacktrace: java.lang.NullPointerException: The folder parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:89) at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1600) at org.netbeans.spi.java.project.support.ui.TreeRootNode$PathFinder.findPathReduced(TreeRootNode.java:235) at org.netbeans.spi.java.project.support.ui.TreeRootNode$PathFinder.findPathReduced(TreeRootNode.java:237) at org.netbeans.spi.java.project.support.ui.TreeRootNode$PathFinder.findPath(TreeRootNode.java:195) at org.netbeans.spi.java.project.support.ui.PackageView.findPath(PackageView.java:130)
Created attachment 123237 [details] stacktrace
Same error observed. As a result, the inspector window can not be used to navigate to the location of the deficiency detected by findbugs (no known way to get to the code defects). Error does not seem to occur on the first execution, but at the second one. Restarting Netbeans does NOT resolve this issue. Deleting both the "cache" and the ".netbeans" folder resolves the issue (but IDE has to be reconfigured from scratch --> not acceptable).
This bug was fixed in NB 7.2 Patch 1 and the fix is also available in recently released NB 7.2.1 *** This bug has been marked as a duplicate of bug 214382 ***
using Netbeans 7.2.1 it is no longer a "null pointer exception" that occurs, but the Inspector window now shows "Project Type Not supported (<<name of project>>)". Findbugs is unusable as it was before.
I concur. The core issue has not been resolved. FindBugs integration doesn't work, and worse it spends a lot of time calculating something and only after it tells you "Project Type Not Supported". You knew the project type before you started!!!!
In fact duplicate of issue #214382. >I concur. The core issue has not been resolved. Yes it was, as simply seen from http://hg.netbeans.org/releases/rev/912636caaabd >FindBugs integration doesn't work. This issue has nothing to do with find bugs but the project UI. > and worse it spends a lot of time calculating something and only after it >tells you "Project Type Not Supported". You knew the project type before you >started!!!! Please create an issue on find bugs, java/project has nothing in common with find bugs. *** This bug has been marked as a duplicate of bug 214382 ***
new issue created for "Project type not supported" see http://netbeans.org/bugzilla/show_bug.cgi?id=221160
Thanks Christian! The problems reported as a part of other issue are hard to track and mostly lost as the original issue is resolved.