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 60093 - error on file node deletion
Summary: error on file node deletion
Status: VERIFIED DUPLICATE of bug 57769
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-16 05:30 UTC by sviyer
Modified: 2008-12-22 19:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message log (280.65 KB, text/plain)
2005-06-16 05:32 UTC, sviyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sviyer 2005-06-16 05:30:43 UTC
I got an error on deleting a file node from the Files window for the project.

java.lang.ArrayIndexOutOfBoundsException: 4 >= 4
	at java.util.Vector.elementAt(Vector.java:432)
	at
javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:230)
	at
javax.swing.tree.VariableHeightLayoutCache.treeNodesRemoved(VariableHeightLayoutCache.java:543)
	at
javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesRemoved(BasicTreeUI.java:3636)
	at
javax.swing.tree.DefaultTreeModel.fireTreeNodesRemoved(DefaultTreeModel.java:528)
	at javax.swing.tree.DefaultTreeModel.nodesWereRemoved(DefaultTreeModel.java:308)
	at org.openide.explorer.view.NodeTreeModel$Listener.removed(NodeTreeModel.java:159)
	at
org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:137)
	at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:117)
	at org.openide.util.Mutex.readAccess(Mutex.java:261)
[catch] at org.openide.explorer.view.VisualizerNode$QP.run(VisualizerNode.java:639)
	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)

please find message.log attached
Comment 1 sviyer 2005-06-16 05:32:11 UTC
Created attachment 22724 [details]
message log
Comment 2 sviyer 2005-06-16 05:34:11 UTC
note that the deletion succeeds.
Comment 3 Tomas Danek 2005-07-22 09:59:13 UTC

*** This issue has been marked as a duplicate of 60341 ***
Comment 4 Petr Nejedly 2005-07-25 10:51:16 UTC
NOT a dup of 60341.
Comment 5 Petr Nejedly 2005-07-25 10:53:36 UTC
Actually caused by issue 57769

*** This issue has been marked as a duplicate of 57769 ***
Comment 6 Tomas Bilka 2006-04-03 15:17:42 UTC
verified duplicate