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 48143

Summary: Cannot choose methods from inner classes as root method
Product: profiler Reporter: tboerkel <tboerkel>
Component: BaseAssignee: iformanek <iformanek>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description tboerkel 2004-08-30 11:02:40 UTC
While configuring CPU profiling, I cannot choose
methods from inner classes as root method in the
UI, because it does not select inner classes in
the class selector (the outer class is being
selected instead).
Comment 1 iformanek 2004-09-01 12:34:14 UTC
will fix in M2
Comment 2 iformanek 2004-10-04 12:39:39 UTC
Partially fixed: the UI now allows to select the innerclasses and 
propagate the selection to the JFluid engine.
However, the engine does still not accept innerclasses as 
instrumentation roots and throws exception:

*** JFluid error: class java2d.Java2Demo.J2DIcon not found anywhere
java.lang.ClassNotFoundException: java2d.Java2Demo.J2DIcon
	at 
com.sun.tools.profiler.classfile.ClassRepository.getMethodMinAndMaxBCI
(ClassRepository.java:536)
	at 
com.sun.tools.profiler.instrumentation.Instrumentor.setStatusInfoFromS
ourceCodeSelection(Instrumentor.java:172)
	at 
com.sun.tools.profiler.ProfilerClient.initiateRecursiveCPUProfInstrume
ntation(ProfilerClient.java:225)
	at org.netbeans.netfluid.Profiler.instrumentSelectedRoots
(Profiler.java:654)
	at org.netbeans.netfluid.Profiler.performInstrumentation
(Profiler.java:610)
	at org.netbeans.netfluid.Profiler.profileClass
(Profiler.java:464)
	at 
org.netbeans.netfluid.actions.ProfilingSupport.startProfiling
(ProfilingSupport.java:164)
	at org.netbeans.netfluid.actions.ProfileAction.performAction
(ProfileAction.java:92)
	at org.openide.util.actions.NodeAction.performAction
(NodeAction.java:193)
	at org.openide.util.actions.CallableSystemAction$1.run
(CallableSystemAction.java:78)
	at 
org.openide.util.actions.CallableSystemAction.doPerformAction
(CallableSystemAction.java:116)
	at 
org.openide.util.actions.CallableSystemAction.actionPerformed
(CallableSystemAction.java:76)
	at org.openide.util.actions.NodeAction.actionPerformed
(NodeAction.java:184)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
	at 
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1839)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:245)
	at java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:231)
	at java.awt.Component.processMouseEvent(Component.java:5100)
	at org.openide.awt.ToolbarButton.processMouseEvent
(ToolbarButton.java:29)
	at java.awt.Component.processEvent(Component.java:4897)
	at java.awt.Container.processEvent(Container.java:1569)
	at java.awt.Component.dispatchEventImpl(Component.java:3615)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3483)
	at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3198)
	at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3128)
	at java.awt.Container.dispatchEventImpl(Container.java:1613)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
Comment 3 mishadmitriev 2004-10-05 03:25:35 UTC
Fixed, code will become available in Milestone 2 release.
Comment 4 iformanek 2005-05-20 13:02:26 UTC
This is again not working in M7 dev.
Comment 5 iformanek 2005-05-20 13:03:01 UTC
Self assign for fixing.
Comment 6 iformanek 2005-06-03 16:34:08 UTC
Fixed in M7
Comment 7 ehucka 2006-10-09 12:11:31 UTC
Verification of old issues.
Comment 8 Alexander Kouznetsov 2007-02-12 22:27:59 UTC
Closing old issues.
Comment 9 Alexander Kouznetsov 2007-02-12 22:28:00 UTC
Closing old issues.