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 25931 - ArrayIndexOutOfBoundsException with Explorer cut-n-paste of files
Summary: ArrayIndexOutOfBoundsException with Explorer cut-n-paste of files
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-23 20:46 UTC by Mike Cepek
Modified: 2008-12-22 19:01 UTC (History)
1 user (show)

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 Mike Cepek 2002-07-23 20:46:59 UTC
In the Explorer, I was cutting and pasting a contiguous set 
of 6 bourne shell (xxx.sh) files from one CVS directory 
(smsi/prod/base/bin/unix) to another 
(smsi/smsihomedir/server/common).  The first move worked 
fine.  Then I tried to cut and paste them back to the 
original directory, and it failed with the exception shown 
below.  Three of the files "disappeared" (are in neither 
directory now).  They actually exist on the filesystem 
(.../bin/unix), but NetBeans doesn't show them in the 
Explorer, even after a "CVS -> Refresh Recursively" (my 
usual trick to put NB and the filesystem back in sync).

Tue Jul 23 14:28:10 CDT 2002: 
java.lang.ArrayIndexOutOfBoundsException: 2 >= 2
java.lang.ArrayIndexOutOfBoundsException: 2 >= 2
        at java.util.Vector.elementAt(Vector.java:417)
        at 
javax.swing.tree.DefaultMutableTreeNode.getChildAt
(DefaultMutableTreeNode.java:231)
        at 
javax.swing.tree.VariableHeightLayoutCache.treeNodesChanged
(VariableHeightLayoutCache.java:374)
        at 
javax.swing.plaf.basic.BasicTreeUI$TreeModelHandler.treeNode
sChanged(BasicTreeUI.java:2344)
        at 
javax.swing.tree.DefaultTreeModel.fireTreeNodesChanged
(DefaultTreeModel.java:440)
        at javax.swing.tree.DefaultTreeModel.nodesChanged
(DefaultTreeModel.java:323)
        at javax.swing.tree.DefaultTreeModel.nodeChanged
(DefaultTreeModel.java:256)
        at 
org.openide.explorer.view.NodeTreeModel$Listener.update
(NodeTreeModel.java:170)
        at org.openide.explorer.view.VisualizerNode.run
(VisualizerNode.java:297)
        at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:154)
[catch] at java.awt.EventQueue.dispatchEvent
(EventQueue.java:334)
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:134)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:96)
        at java.awt.EventDispatchThread.run
(EventDispatchThread.java:88)
Comment 1 Jiri Rechtacek 2002-07-26 15:01:22 UTC
Martine, could you please look on it or try reproduce it? I tried
reproduce it on local filesystem w/o success. Afterwards reassign
back. Thanks
Comment 2 Marian Mirilovic 2003-01-27 11:19:06 UTC
reassigne for investigation
Comment 3 Martin Entlicher 2003-01-27 11:56:41 UTC
??? There is no class from VCS modules involved. I have no idea where
the problem is, sorry.
Reassigning back to openide/explorer, this is the latest NB package
involved.
Comment 4 Jiri Rechtacek 2003-02-19 16:21:25 UTC
I'm not able to reproduce it in Feb 19 dev build, it works for me. If
it reappears again please reopen and add the steps for reproduction.
Thanks
Comment 5 Mike Cepek 2003-02-19 16:31:33 UTC
I originally entered this item, and I cannot reproduce it 
in NB 3.4.1 either.  I'll keep one eye open for any 
reoccurance.  Thanks for looking into it.
Comment 6 Mike Cepek 2003-07-08 14:51:29 UTC
Unable to reproduce in NB 3.5 Build 200306022350 either.  
Changed status to Verified.