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 251123 - NullPointerException at org.netbeans.lib.profiler.instrumentation.Instrumentor.getClassId
Summary: NullPointerException at org.netbeans.lib.profiler.instrumentation.Instrumento...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-12 09:05 UTC by Tomas Hurka
Modified: 2015-03-14 05:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216061


Attachments
stacktrace (324 bytes, text/plain)
2015-03-12 09:05 UTC, Tomas Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2015-03-12 09:05:36 UTC
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)
Comment 1 Tomas Hurka 2015-03-12 09:05:38 UTC
Created attachment 152570 [details]
stacktrace
Comment 2 Tomas Hurka 2015-03-12 16:47:33 UTC
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()
Comment 3 Quality Engineering 2015-03-14 05:48:23 UTC
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()