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.
Profiler 070122 NetBeans IDE Dev (Build 200701211900) 1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 Sun Java System Application Server Enterprise Edition 9.1 (build b28) Steps to reproduce: - Open OrderSystem Enterprise Application (http://www.netbeans.org/nonav/issues/showattachment.cgi/37566/order_system.zip) - Open org.shop.OrderBean from its web module - Right-click somewhere in editor and select Profiling > Select Profiling Root Methods - Select Preset: Part of Application. Click OK. - RESULT: Select Root Methods dialog is shown in Web Application view and there is nothing in it. If there nothing to show, this view should be disabled or at least not shown by default.
Added a logic for failover to the default package view if a more specialized view results in an empty tree. Still the specialized view is enabled as it's not easy to determine the outcome of such a view before it's being actually built but the user will never get an empty selection tree.
Please, remove an empty view from select view drop down list. Now when user selects it, default package view is shown instead without any notification. This is misleading behavior.
changed the logic so only the default project view is used. in fact it's not very probable that the user will be interested in eg. J2EE view if he executes "Select Profiling Roots" action from within a java class - it's much more probable he's interested in the class as it is. this change makes this issue no longer valid
Verified with Product Version: NetBeans IDE Dev (Build 200708200000) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)