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 48725 - java.lang.ArrayIndexOutOfBoundsException if directories removed externally
Summary: java.lang.ArrayIndexOutOfBoundsException if directories removed externally
Status: CLOSED DUPLICATE of bug 48993
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-08 20:29 UTC by _ gtzabari
Modified: 2008-12-22 19:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2004-09-08 20:29:57 UTC
dev build 200409060100
Java 1.5


   I have a VCS view open. The current focus is
directory A with a few subdirectories, one of
which is B. I remove B externally, then invoke CVS
| Refresh. The following exception occurs. I know
normally Netbeans is not meant to handle external
changes but these sorts of things (files,
directories which Netbeans is not in the middle of
using move or get deleted) are bound to handle and
therefore Netbeans should handle it.


java.lang.ArrayIndexOutOfBoundsException: 7 >= 7
	at java.util.Vector.elementAt(Vector.java:432)
	at
javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:230)
	at
javax.swing.tree.VariableHeightLayoutCache.treeNodesChanged(VariableHeightLayoutCache.java:412)
	at
javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesChanged(BasicTreeUI.java:3600)
	at
javax.swing.tree.DefaultTreeModel.fireTreeNodesChanged(DefaultTreeModel.java:466)
	at
javax.swing.tree.DefaultTreeModel.nodesChanged(DefaultTreeModel.java:328)
	at
javax.swing.tree.DefaultTreeModel.nodeChanged(DefaultTreeModel.java:261)
	at
org.openide.explorer.view.NodeTreeModel$Listener.update(NodeTreeModel.java:160)
[catch] at
org.openide.explorer.view.VisualizerNode.run(VisualizerNode.java:354)
	at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Petr Nejedly 2004-09-16 14:03:56 UTC

*** This issue has been marked as a duplicate of 48993 ***
Comment 2 Tomas Danek 2005-07-14 16:25:14 UTC
verified as duplicate