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 98683 - NPE for Threads when CPU Snapshot is loaded from disk
Summary: NPE for Threads when CPU Snapshot is loaded from disk
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 16:01 UTC by Alexander Kouznetsov
Modified: 2007-05-08 15:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (2.41 KB, text/plain)
2007-03-22 16:12 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-03-22 16:11:07 UTC
Profiler 070322
NetBeans IDE Dev (Build 200703211900)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Steps to reproduce:
- Load any CPU snapshot from disk
- Switch to Hot Spots page
- Select some thread in Threads drop-down
=OR=
- Switch to Combined page
- Select some thread in the Call Tree list
- RESULT: java.lang.NullPointerException
	at
com.sun.tools.profiler.results.cpu.CPUResultsSnapshot.getContainerIdForThreadId(CPUResultsSnapshot.java:352)
Comment 1 Alexander Kouznetsov 2007-03-22 16:12:41 UTC
Created attachment 39823 [details]
Exception
Comment 2 J Bachorik 2007-03-23 09:19:35 UTC
fixed in trunk
Comment 3 Alexander Kouznetsov 2007-05-08 15:24:07 UTC
Verified with
Profiler 070504
NetBeans IDE Dev (Build 070507)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251