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 82770 - Profiler attach thread incurrs Null pointer exception
Summary: Profiler attach thread incurrs Null pointer exception
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 19:51 UTC by kwnetbean
Modified: 2007-11-01 12:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kwnetbean 2006-08-15 19:51:13 UTC
java.lang.NullPointerException
	at 
com.sun.tools.profiler.results.cpu.CPUCallGraphBuilder.doRootMethodEntry
(CPUCallGraphBuilder.java:164)
	at 
com.sun.tools.profiler.results.cpu.FullInstrCPUCallGraphBuilder.updateCallGraphs
(FullInstrCPUCallGraphBuilder.java:106)
	at 
com.sun.tools.profiler.results.cpu.CPUCallGraphBuilder.readDataFromBuffer
(CPUCallGraphBuilder.java:49)
	at com.sun.tools.profiler.ProfilerClient.processProfilingResults
(ProfilerClient.java:1013)
	at com.sun.tools.profiler.ProfilerClient.readAndProcessProfilingResults
(ProfilerClient.java:1004)
	at com.sun.tools.profiler.ProfilerClient.access$2200
(ProfilerClient.java:48)
	at 
com.sun.tools.profiler.ProfilerClient$ServerListener.handleServerCommand
(ProfilerClient.java:1630)
[catch] at com.sun.tools.profiler.ProfilerClient$ServerListener.run
(ProfilerClient.java:1566)


Attempted to profile (CPU) all of the application with this result.

I also tried using a filter (inclusive for org.apache ) and it started 
profiling but died with the same null pointer exception a short while later.
Comment 1 Jiri Sedlacek 2006-08-15 20:49:15 UTC
Could you please attach NetBeans logfile (messages.log) and provide steps/simple
app how to reproduce?
Comment 2 J Bachorik 2007-01-09 08:18:00 UTC
Could you, please, verify the described behavior on the current profiler build
(M4 or upcomming M6)? And also, plz, provide steps/simple app to reproduce
and/or thread dump.
Comment 3 J Bachorik 2007-03-23 16:06:42 UTC
should be changed by rewrite of CCT building algorithm
plz, recheck in M8 and reopen if it's still applicable
Comment 4 Maksim Khramov 2007-11-01 12:21:21 UTC
verified in build 200710310000