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.
Product Version: NetBeans IDE Dev (Build 080911) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) I've got this exception several times. Profiling performance of Java2Demo application with default settings, having Live Results window opened and just changing the selection using keyboard (holding up/down arrow) when DrillDown window is not open. java.util.EmptyStackException at java.util.Stack.peek(Stack.java:85) at java.util.Stack.pop(Stack.java:67) at org.netbeans.modules.profiler.ui.stats.ForwardCategoryDistributionPanel$Model.visitPost(ForwardCategoryDistributionPanel.java:220) at org.netbeans.lib.profiler.results.cpu.cct.CompositeCPUCCTWalker.visit(CompositeCPUCCTWalker.java:181) at org.netbeans.lib.profiler.results.cpu.cct.nodes.MarkedCPUCCTNode.accept(MarkedCPUCCTNode.java:113) at org.netbeans.lib.profiler.results.cpu.cct.nodes.BaseCPUCCTNode$ArrayChildren.accept(BaseCPUCCTNode.java:71) at org.netbeans.lib.profiler.results.cpu.cct.CPUCCTWalker.walkTree(CPUCCTWalker.java:91) at org.netbeans.lib.profiler.results.cpu.cct.CPUCCTWalker.visit(CPUCCTWalker.java:62) at org.netbeans.lib.profiler.results.cpu.cct.CompositeCPUCCTWalker.visit(CompositeCPUCCTWalker.java:94) at org.netbeans.lib.profiler.results.cpu.cct.nodes.MethodCPUCCTNode.accept(MethodCPUCCTNode.java:110)
Created attachment 69682 [details] Full exception
This was caused by the lack of synchronization on the method performing the update of aggregated data per selected method. If the selected method was changed in the middle of the running calculation it caused the mentioned exception to happen. Fixed http://hg.netbeans.org/profiler-main/rev/cfdcbfe07e25
Integrated into 'main-golden', will be available in build *200809151401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cfdcbfe07e25 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #146992 - tightening up synchronization in part of drilldown panel
verified in Build 200812170242