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 92979 - Web application view is empty in Select Root Methods dialog
Summary: Web application view is empty in Select Root Methods dialog
Status: VERIFIED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 17:11 UTC by Alexander Kouznetsov
Modified: 2007-08-20 13:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-01-22 17:11:11 UTC
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.
Comment 1 J Bachorik 2007-02-15 20:28:07 UTC
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.
Comment 2 Alexander Kouznetsov 2007-02-16 17:54:43 UTC
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.
Comment 3 J Bachorik 2007-08-08 15:52:15 UTC
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
Comment 4 Alexander Kouznetsov 2007-08-20 13:08:50 UTC
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)