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.
This bug was originally marked as duplicate of bug 130498, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.2 (Build 201207171143) VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b06 OS: Windows 7 User Comments: GUEST: I want to attach profile one project. Meet this issue. Could you please help on this? GUEST: trying to run profiler bartvdc: tried to attach to local app (maven) GUEST: Wrote a simple HalloWorld and wanted to try the profiler. I'm on OSX 10.5.6 with 32bit Java5. ivansidorkin: try to attach dynamic GUEST: I tried to attach the profiler to monito CPU usage. mrhaki: I wanted to change the Profiler settings for a profiling session for a remote application. GUEST: I was attaching the Profiler to my main Project. liammorren: trying to attach the profiler to a java application running on the same machine outside of netbeans GUEST: I was adding the Profiler to a running process ivansidorkin: run anagram try to connect profiler using dynamic GUEST: I want to profile a project, this error occurs when clicking the "Attach" button in the profile dialog Stacktrace: java.lang.NullPointerException at org.netbeans.modules.profiler.actions.ProfilingSupport$1.run(ProfilingSupport.java:292) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Created attachment 122555 [details] stacktrace
Looks like the attach wizard implementation isn't registered in lookup, not sure why. Should not be reproducible in 7.3, the new simplified Attach dialog introduced by Bug 214784 is now implemented directly in profiler.attach module.