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 8.0.1 (Build 201408142300) VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b22, Java(TM) SE Runtime Environment, 1.8.0_20-ea-b23 OS: Windows 7 User Comments: jskrivanek: No sure if reproducible. I did - create sample Paint app - right-click project node and choose Profile - select Monitor, Enable threads monitoring, Enable lock contention monitoring - click Run - expand some nodes in Lock Contention view Stacktrace: java.lang.NullPointerException at org.netbeans.lib.profiler.results.locks.MonitorCCTNode.summarize(MonitorCCTNode.java:125) at org.netbeans.lib.profiler.results.locks.MonitorCCTNode.getTime(MonitorCCTNode.java:91) 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:292) at java.util.TimSort.sort(TimSort.java:217)
Created attachment 148716 [details] stacktrace
Created attachment 153014 [details] stacktrace Tried to switch to "View by Monitors" in the profiler's Lock Contention window
Fixed in profiler-main changeset: 285660:62da8c1fe365 user: Tomas Hurka <thurka@netbeans.org> date: Fri Apr 03 15:04:03 2015 +0200 summary: bugfix #246478, waitNode can be null
Integrated into 'main-silver', will be available in build *201504050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/62da8c1fe365 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #246478, waitNode can be null
*** Bug 251617 has been marked as a duplicate of this bug. ***