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.
Build: NetBeans IDE Dev (Build 1) VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43 OS: Mac OS X User Comments: thurka: Steps: 1) dynamic attach memory profiling, selected classes: String, HashMap,Object, HashMap$Entry,org.openide.modules.Dependecy, WeakListenerImpl$ListenerReference 2) start another NetBeans 3) start Java2Demo in another NetBeans (ant project) 4) attach to another NetBeans 5) profile another NetBeans for a while 6) click on finish Sessionto stop profiling session Stacktrace: java.lang.NullPointerException at org.netbeans.lib.profiler.instrumentation.Instrumentor.getClassId(Instrumentor.java:118) at org.netbeans.lib.profiler.ProfilerClient$ServerListener.handleServerCommand(ProfilerClient.java:324) at org.netbeans.lib.profiler.ProfilerClient$ServerListener.run(ProfilerClient.java:212)
Created attachment 152570 [details] stacktrace
Fixed in profiler-main changeset: 284597:391eb6abe937 user: Tomas Hurka <thurka@netbeans.org> date: Thu Mar 12 17:44:45 2015 +0100 summary: bugfix #251123, disable VMObjectAlloc hook in disableProfilerHooks()
Integrated into 'main-silver', will be available in build *201503140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/391eb6abe937 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #251123, disable VMObjectAlloc hook in disableProfilerHooks()