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 142840 - [65cat] ArrayIndexOutOfBoundsException: 31 >= 31
Summary: [65cat] ArrayIndexOutOfBoundsException: 31 >= 31
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Directory Chooser (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL: http://statistics.netbeans.org/except...
Keywords: JDK_SPECIFIC, RANDOM
Depends on:
Blocks:
 
Reported: 2008-08-04 19:22 UTC by sunbiz
Modified: 2011-06-09 09:54 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 84020


Attachments
stacktrace (5.98 KB, text/plain)
2008-08-04 19:22 UTC, sunbiz
Details
stacktrace (5.97 KB, text/plain)
2008-08-15 10:29 UTC, sunbiz
Details
stacktrace (5.97 KB, text/plain)
2008-09-23 18:19 UTC, jim_fox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-08-04 19:22:23 UTC
Build: NetBeans IDE Dev (Build 080804)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows Vista, 6.0, x86

User Comments: 
Steps to reproduce:
1.) Clicked Open New Project. Tree of folders shown.
2.) Folder named VDComponents at the end of the tree
3.) VDComponents collapsed to see src, build and dist folder inside
4.) Right-click on VDComponenets and click delete...threw this exception

Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 31 >= 31
        at java.util.Vector.elementAt(Vector.java:427)
        at javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:230)
        at javax.swing.tree.DefaultTreeModel.getChild(DefaultTreeModel.java:156)
        at javax.swing.tree.FixedHeightLayoutCache$VisibleFHTreeStateNodeEnumeration.nextElement(FixedHeightLayoutCache.java:1506)
        at javax.swing.tree.FixedHeightLayoutCache$VisibleFHTreeStateNodeEnumeration.nextElement(FixedHeightLayoutCache.java:1461)
        at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1169)
Comment 1 sunbiz 2008-08-04 19:22:32 UTC
Created attachment 66523 [details]
stacktrace
Comment 2 sunbiz 2008-08-15 10:29:46 UTC
Build: NetBeans IDE Dev (Build 080815)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows Vista, 6.0, x86

User Comments: 
Deleting folder from the Open Project dialog

Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 35 >= 35
        at java.util.Vector.elementAt(Vector.java:427)
        at javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:230)
        at javax.swing.tree.DefaultTreeModel.getChild(DefaultTreeModel.java:156)
        at javax.swing.tree.FixedHeightLayoutCache$VisibleFHTreeStateNodeEnumeration.nextElement(FixedHeightLayoutCache.java:1506)
        at javax.swing.tree.FixedHeightLayoutCache$VisibleFHTreeStateNodeEnumeration.nextElement(FixedHeightLayoutCache.java:1461)
        at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1169)
Comment 3 sunbiz 2008-08-15 10:29:55 UTC
Created attachment 67508 [details]
stacktrace
Comment 4 Exceptions Reporter 2008-08-15 12:30:43 UTC
This issue has already 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=84020
Comment 5 jim_fox 2008-09-23 18:19:21 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 41 >= 41
        at java.util.Vector.elementAt(Vector.java:427)
        at javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:230)
        at javax.swing.tree.DefaultTreeModel.getChild(DefaultTreeModel.java:156)
        at javax.swing.tree.FixedHeightLayoutCache$VisibleFHTreeStateNodeEnumeration.nextElement(FixedHeightLayoutCache.java:1506)
        at javax.swing.tree.FixedHeightLayoutCache$VisibleFHTreeStateNodeEnumeration.nextElement(FixedHeightLayoutCache.java:1461)
        at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1169)
Comment 6 jim_fox 2008-09-23 18:19:25 UTC
Created attachment 70352 [details]
stacktrace
Comment 7 David Simonek 2008-09-24 17:08:29 UTC
Seems similar like already filed JDK bug, http://bugs.sun.com/view_bug.do?bug_id=6365917

Stando could you try to reproduce on Vista? Thanks.
Comment 8 Stanislav Aubrecht 2008-09-25 08:44:29 UTC
sorry dafe, i don't have vista machine anymore
Comment 9 David Simonek 2009-11-11 06:21:47 UTC
Looking at the reports, all reports are from using 6.5.x and older version of NetBeans. I remember fixing some issues where our directory chooser was doing things off EQ thread which could lead to this error. Closing as worksforme now, exceptions reporter will reopen automatically if some new issues would appear.
Comment 10 Marian Mirilovic 2011-06-09 09:54:22 UTC
v/c