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.
Build: NetBeans IDE Dev (Build 201312160002) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b33 OS: Linux User Comments: cyhelsky: I have closed the profiled application (netbeans) while the lock contention view was still open. Stacktrace: java.lang.NullPointerException at org.netbeans.lib.profiler.results.locks.ThreadLockCCTNode.summarize(ThreadLockCCTNode.java:123) at org.netbeans.lib.profiler.results.locks.ThreadLockCCTNode.getTime(ThreadLockCCTNode.java:90) at org.netbeans.lib.profiler.results.locks.LockCCTNode$3.compare(LockCCTNode.java:193) at org.netbeans.lib.profiler.results.locks.LockCCTNode$3.compare(LockCCTNode.java:191) at java.util.TimSort.binarySort(TimSort.java:265) at java.util.TimSort.sort(TimSort.java:208)
Created attachment 143663 [details] stacktrace
Reproduced: 1/ Win7 64b, 7u45 64b, Anagram Game 2/ Custom CPU, advanced, all advanced settings selected 3/ Start profiling, NPE shows immediately after displaying Locks window
Created attachment 143698 [details] stacktrace CPU profiling with locks
Fixed in profiler-main changeset: 269592:3b2b2b1cc6e0 user: Tomas Hurka <thurka@netbeans.org> date: Wed Jan 08 09:21:34 2014 +0100 summary: bugfix #240063, waitNode can be null
Integrated into 'main-silver', will be available in build *201401100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3b2b2b1cc6e0 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #240063, waitNode can be null