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.

Bug 113634 - AIOOBE in select root methods dialog
Summary: AIOOBE in select root methods dialog
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-08-23 16:34 UTC by Alexander Kouznetsov
Modified: 2009-01-15 15:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (7.12 KB, text/plain)
2007-08-23 16:34 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-08-23 16:34:23 UTC
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)
        ...
Comment 1 Alexander Kouznetsov 2007-08-23 16:34:57 UTC
Created attachment 47188 [details]
Exception
Comment 2 J Bachorik 2007-08-24 13:08:37 UTC
looks like a swing/ui issue to me. reassigning to jis for evaluation
Comment 3 Jiri Sedlacek 2007-09-04 14:09:32 UTC
Wasn't able to reproduce so just added a try/catch to prevent the exception without any change to application logic.

Fixed for Beta2.
Comment 4 mariadavydova 2009-01-15 15:59:50 UTC
Verified in Build 200901140201
Couldn't reproduce the problem.