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.
NB 4.1, Profiler dev 050615, JDK 1.5.0_04, Linux FC3 After I started Memory Profiling of main project (Record GC and object creation) and I opened Live Results window the NPE began periodicaly throwing and no results wwere displayed in results window.
Created attachment 22698 [details] ide log fragment
When I invoke Take Snapshot there was thrown another NPE. Maybe it is related to this issue.
Created attachment 22699 [details] another npe's stacktrace
The first part of this issue is fixed, the second part (unrelated) I cannot reproduce, it may have gone away - if you get a reproducible case, please reopen this issue and change its summary.
I found if I invoke Take snapshot button immediately after it is enabled in profiler start sometimes there is thrown the second NPE: java.lang.NullPointerException java.lang.System.arraycopy(Native Method) com.sun.tools.profiler.results.memory.ObjLivenessCallGraphBuilder$ObjectNumbersContainer.<init>(ObjLivenessCallGraphBuilder.java:259) ... It seems that it is enabled too early because the Basic Telemetry usualy shows O Classes instrumented or some its values are just changing.
Still cannot reproduce this even if I try to do this programmatically at the earliest possible time. Changing back to fixed until (if) it occurs again.
i cannot reproduce both scenarios in 050620