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 199973 - "Define root methods" bug when any web apps are open
Summary: "Define root methods" bug when any web apps are open
Status: RESOLVED INCOMPLETE
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 07:37 UTC by rcasha
Modified: 2011-07-08 09:33 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 rcasha 2011-07-08 07:37:00 UTC
When I try to define a root method for the profiler via "Add From Project...", if there are any web projects open, the "show all projects" checkbox does not work. Instead, it will only display the web apps and the "package view" doesn't work at all. If I close the web projects, it works.

Sequence of events:
Open several projects, including some web projects
Select a main project (which is not a web app).
Start the profiler
In the first dialog, select "Define" to define root methods
Click the checkbox to "show all projects"
(After some time, the dialog will switch to web view showing the web applications)
Switch the combobox back to "package view". No projects or packages will be shown

Note that there are two issues here. One is, IMO the web view should not be activated unless the project being profiled is a web app. Two, when web view is activated the package view seems to no longer work.
Comment 1 J Bachorik 2011-07-08 08:04:11 UTC
Could you attach the IDE messages.log file? I am not able to reproduce the problem - I have the following 3 projects open:
1. AnagramGame (J2SE project)
2. JSPExamples (Web Project)
3. ServletStateless (Web Project)

When I click on "Show All Projects" checkbox I still can select either "Web Applications View" or "Package View".
Comment 2 rcasha 2011-07-08 09:33:31 UTC
Actually the projects appeared eventually. At first, after selecting the "Package view", the list appeared empty but the dialog was responding normally, so it looked like it was finished loading. Something like 20 seconds later the projects appeared.

Maybe a wait cursor would indicate the dialog is still loading the packages.