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 110456 - NPE after Modify Profiling
Summary: NPE after Modify Profiling
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: RANDOM
: 112835 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-20 17:11 UTC by Alexander Kouznetsov
Modified: 2007-10-30 18:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (1.19 KB, text/plain)
2007-07-20 17:11 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-07-20 17:11:38 UTC
Profiler 1.2 070717
Product Version: NetBeans IDE Dev (Build 200707171200) 
Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

Performed steps:
- Invoked Profile Project for Test Specifications Editor: Memory, Allocation, record stack trace.
- Played with application
- Opened Live Results
- Invoked Modify Profiling. Selected Liveness. Confirmed the dialog.
- NPE is thrown. Live Results window doesn't work, but snapshots are available
- Invoked Modify Profiling again. Confirmed the dialog. Succeeded.

NPE: java.lang.NullPointerException
	at com.sun.tools.profiler.results.memory.MemoryCCTProvider$ObjectNumbersContainer.<init>(MemoryCCTProvider.java:85)
	at com.sun.tools.profiler.results.memory.MemoryCallGraphBuilder.getLivenessObjectNumbers(MemoryCallGraphBuilder.java:203)
        ...
Comment 1 Alexander Kouznetsov 2007-07-20 17:11:57 UTC
Created attachment 45456 [details]
Exception
Comment 2 Jiri Sedlacek 2007-08-15 08:11:19 UTC
*** Issue 112835 has been marked as a duplicate of this issue. ***
Comment 3 J Bachorik 2007-08-31 15:14:37 UTC
alexander, plz, try to reproduce this bug with Dev Build 20070831. i believe this issue should be fixed in that build
but i don't have any application suitable for reproducing the bug.
thanx
Comment 4 J Bachorik 2007-09-20 08:19:33 UTC
could you provide the "Test Specifications Editor" project so I can try to reproduce the problem
Comment 5 Alexander Kouznetsov 2007-09-20 09:59:34 UTC
Sent project by e-mail
Comment 6 J Bachorik 2007-09-20 13:38:58 UTC
this works perfectly 200709190000
live results do work after modify profiling and the second attempt to modify profiling doesn't result in NPE AFAIK
(tried modify profiling for 4-5 times in a row with no errors at all)
i'd consider this issue fixed
Comment 7 Alexander Kouznetsov 2007-10-30 18:25:45 UTC
The issue doesn't seem to be reproducible. Verified with 200710290000