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 200708211200) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) This issue seems to be a random. Performed steps: - Opened JBossTest application with all required projects (http://www.netbeans.org/nonav/issues/showattachment.cgi/38685/jboss_test.zip) - Resolved all references - Invoked Profile Main Project - Selected Part of Application - Opened Select Root Methods Dialog - RESULT: Got an exception: java.lang.ArrayIndexOutOfBoundsException: 0 >= 0 at java.util.Vector.elementAt(Vector.java:427) at javax.swing.tree.VariableHeightLayoutCache.getNode(VariableHeightLayoutCache.java:976) at javax.swing.tree.VariableHeightLayoutCache.getPathClosestTo(VariableHeightLayoutCache.java:315) at javax.swing.plaf.basic.BasicTreeUI.getClosestPathForLocation(BasicTreeUI.java:562) at javax.swing.JTree.getClosestPathForLocation(JTree.java:2268) at javax.swing.JTree.getPathForLocation(JTree.java:2219) at com.sun.tools.profiler.ui.components.JCheckTree.processCellTipMouseMove(JCheckTree.java:70) ...
Created attachment 47188 [details] Exception
looks like a swing/ui issue to me. reassigning to jis for evaluation
Wasn't able to reproduce so just added a try/catch to prevent the exception without any change to application logic. Fixed for Beta2.
Verified in Build 200901140201 Couldn't reproduce the problem.