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 201211050001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b03, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b09 OS: Linux User Comments: cyhelsky: clicking on select all while viewing stacktrace from npss snapshot Stacktrace: java.lang.IndexOutOfBoundsException: Index: 4, Tab count: 4 at javax.swing.JTabbedPane.checkIndex(JTabbedPane.java:1768) at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:589) at org.netbeans.lib.profiler.ui.ResultsView.selectView(ResultsView.java:201) at org.netbeans.modules.profiler.CPUSnapshotPanel.setState(CPUSnapshotPanel.java:1225) at org.netbeans.modules.profiler.SnapshotResultsWindow.setState(SnapshotResultsWindow.java:363) at org.netbeans.modules.profiler.snaptracer.impl.TracerView.addContents(TracerView.java:294)
Created attachment 127500 [details] stacktrace
Steps to reproduce: Open some npss snapshot -> create new "subtree" or "backtraces" tab -> click into timeline to go to the stacktrace -> Try to go back to "call tree" tab (either by selecting interval or clicking on "select all" button) -> exception occurs and there is no way now how to get back to call tree except for closing the snapshot altogether and reopening it.
Fixed by http://hg.netbeans.org/profiler-main/rev/d9f0d1c94d2d.
Integrated into 'main-golden', will be available in build *201211150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d9f0d1c94d2d User: Jiri Sedlacek <jis@netbeans.org> Log: Bugfix #221850 - only persist the default tabs