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 114868 - Adding root method from dependent proj. source does not work
Summary: Adding root method from dependent proj. source does not work
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-06 12:12 UTC by Maksim Khramov
Modified: 2007-10-09 12:40 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 Maksim Khramov 2007-09-06 12:12:53 UTC
Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709051200) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

Steps to reproduce:
Create new 'Servlet Stateless' project from Enterprise samples.
There are 3 new projects created and ServletStateless is set to main.
Open Servlet2Stateless.java class from dependent ServletStateless-war project.
Select method service(HttpServletRequest req, HttpServletResponse resp) and invoke 'Add As profiling Root Method...'

Open SPT dialog and select Analyze performance. Click on 'Part of Application' radio button. There are no defined root
methods.
Comment 1 Jiri Sedlacek 2007-09-07 15:43:41 UTC
Thanks for catching it! This happens only for j2ee projects and only if the Select Task dialog wasn't opened yet. When 
verifying please don't forget to open Select Task dialog for ServletStateless-war project where the root method is 
being added.

Fixed for Beta 2.
Comment 2 Maksim Khramov 2007-10-09 12:40:37 UTC
Verified in build 200710090000