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 82261 - NPE during take snapshot
Summary: NPE during take snapshot
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords: RANDOM
: 83349 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-09 11:54 UTC by ehucka
Modified: 2006-10-23 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception's stacktrace (2.40 KB, text/plain)
2006-08-09 11:55 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2006-08-09 11:54:20 UTC
It is not easy to reproduce.
It usually occures when I invoke take snapshot and than stop profiling.
Comment 1 ehucka 2006-08-09 11:55:54 UTC
Created attachment 32694 [details]
exception's stacktrace
Comment 2 Jiri Sedlacek 2006-08-09 12:46:54 UTC
Could you please specify project type, profiling type & settings and if 
local/remote profiling?
Comment 3 ehucka 2006-08-09 13:54:51 UTC
Local memory profiling of web application - servlet sample project, memory
liveness, including allocation stacktraces, track every object allocation.
Comment 4 Jiri Sedlacek 2006-08-24 10:22:53 UTC
*** Issue 83349 has been marked as a duplicate of this issue. ***
Comment 5 J Bachorik 2006-09-13 13:34:56 UTC
This is the result of a race condition. The array of class names is being
expanded  and displayed in parallel. If the newly created member of the array is
accessed before it's initialized with the class name the NPE is thrown. 
Now the access and modification is being synchronized so the UI part should have
access only to completely initialized class names array.
Comment 6 ehucka 2006-09-14 10:45:28 UTC
verified