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 48370

Summary: The profiler does not allow to select root method from classes that are on the secondary classpath
Product: profiler Reporter: iformanek <iformanek>
Component: BaseAssignee: iformanek <iformanek>
Status: CLOSED FIXED    
Severity: blocker CC: dgreen99
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description iformanek 2004-09-02 13:14:01 UTC
If the application uses custom classloaders, it 
is necessary to use the secondary classpath to 
allow the profiler to find out the bytecode for 
classes that are not loaded from the application 
classpath.

But the Profiler UI only allows to select root 
methods from the primary classpath, which is too 
limiting for this type of applications.
Comment 1 mishadmitriev 2004-09-18 02:18:57 UTC
This issue is very important for an important category of our users, 
who profile Web/J2EE applications and want to do CPU profiling 
starting from root method that is e.g. in their servlet. Thus I 
believe it should be a priority.
Comment 2 iformanek 2004-10-05 14:28:48 UTC
Provided quick & dirty fix for M2.
Added hint to the Select roots panel, that explains how to add a 
filesystem that allows to select root methods, but not use that 
filesystem as part of profiled app classpath
Comment 3 mishadmitriev 2004-10-11 21:40:34 UTC
Fixed, now secondary classpath is gone, and any class/method from any
mounted filesystem can be selected as a root. The release with this
fix (Milestone 2) will become available in 1-2 days.
Comment 4 ehucka 2006-10-09 12:09:11 UTC
Verification of old issues.
Comment 5 Alexander Kouznetsov 2007-02-12 22:37:30 UTC
Closing old issues.
Comment 6 Alexander Kouznetsov 2007-02-20 18:29:54 UTC
Reverting to the original Target Milestone value changed by mistake. Sorry for
inconvenience.