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.
Here is the trace/info from the message log: Profiler.attachToApp: *************************************************** Profiler.attachToApp: profiling settings -------------------------------- name: Preset: Entire Application profilingType =8 overrideGlobalSettings =false workingDir = jvmArgs: portNo =5140 javaPlatform =<project> threadsMonitoringEnabled =false cpuProfilingType =0 instrScheme =3 threadCPUTimerOn =false instrumentGetterSetterMethods =true instrumentEmptyMethods =false instrumentMethodInvoke =true instrumentSpawnedThreads =true nProfiledThreadsLimit =32 sortResultsByThreadCPUTime =false samplingInterval =10 instrumentationRootMethods =[Source Code defined via methods: 1 methods: class: null method: main ([Ljava/lang/String;)V ] codeFragmentSelection =null codeRegionCPUResBufSize =1000 runGCOnGetResultsInMemoryProfiling =true objAllocStackSamplingInterval =10 objAllocStackSamplingDepth =0 selectedInstrFilter =Exclude Java Core Classes Profiler.attachToApp: attach settings ---------------------------------- remote =false direct =true ctrlBreak =true pid =-1 workingDir = host = transient port =-1 Profiler.attachToApp: *************************************************** Instrumentation filter: Filter type: Exclusive Filter value: java/ javax/ sun/ sunw/ org/omg/CORBA org/omg/CosNaming/ COM/rsa/ *********** Exception occurred ************ at 11:30 AM on Jul 26, 2005 java.lang.NullPointerException at com.sun.tools.profiler.classfile.ClassRepository.lookupClass(ClassRepository.java:108) at com.sun.tools.profiler.classfile.ClassRepository.lookupClassOnAllPaths(ClassRepository.java:383) at com.sun.tools.profiler.classfile.ClassRepository.getMethodMinAndMaxBCI(ClassRepository.java:567) at com.sun.tools.profiler.instrumentation.Instrumentor.setStatusInfoFromSourceCodeSelection(Instrumentor.java:187) at com.sun.tools.profiler.ProfilerClient.initiateRecursiveCPUProfInstrumentation(ProfilerClient.java:274) at org.netbeans.modules.profiler.NetBeansProfiler.instrumentSelectedRoots(NetBeansProfiler.java:573) at org.netbeans.profiler.common.Profiler.performInstrumentation(Profiler.java:139) at org.netbeans.modules.profiler.NetBeansProfiler.attachToApp(NetBeansProfiler.java:473) at org.netbeans.modules.profiler.NetBeansProfiler.rerunLastProfiling(NetBeansProfiler.java:624) at org.netbeans.modules.profiler.actions.RerunAction.performAction(RerunAction.java:67) 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 javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) 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:234) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at org.openide.awt.ToolbarButton.processMouseEvent(ToolbarButton.java:29) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
The issue is caused by the fact that class is null in the selected root method. Can you remember the steps that you performed that lead to this exception, specifically how you selected the root method?
Thanks, please repopen if you manage to reproduce.
Verification of old issues.
Closing old issues.