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 5103 - Trying to delete folders in system file system under multi-user install throws exceptions.
Summary: Trying to delete folders in system file system under multi-user install throw...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-23 00:14 UTC by Jesse Glick
Modified: 2008-12-23 10: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 Jesse Glick 1999-12-23 00:14:16 UTC
I am running a multiuser on NT, with the root install on a network read-only drive (standard S: location) and the user dir on a local disk. I wanted to delete a subtree of templates from the system
Templates folder. The desired subtree is not present on my local disk, it is just inherited from the root system dir. Upon trying to delete the subtree, all files are successfully deleted (i.e. _hidde
n files are correctly created in the physical dir and they do not show up in NB), however none of the folders were deleted--each throws this exception (with the folder name changing appropriately):

java.io.IOException: Invalid lock for file Templates/API_Support in Unreachable file system (d:/netbeans/ie_shared/system).
        at org.openide.filesystems.AbstractFileObject.testLock(AbstractFileObject.java:215)
        at org.openide.filesystems.AbstractFileObject.delete(AbstractFileObject.java:409)
        at org.openide.filesystems.MultiFileObject.delete(MultiFileObject.java:644)
        at org.openide.loaders.DataFolder.handleDelete(DataFolder.java:410)
        at org.openide.loaders.DataObject$2.run(DataObject.java:481)
        at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:357)
        at org.openide.loaders.DataObject.delete(DataObject.java:479)
        at org.openide.loaders.DataNode.destroy(DataNode.java:163)
        at org.openide.nodes.FilterNode.destroy(FilterNode.java:308)
        at org.openide.nodes.FilterNode.destroy(FilterNode.java:308)
        at org.openide.explorer.ExplorerActions$1.run(ExplorerActions.java:391)
        at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:357)
        at org.openide.explorer.ExplorerActions$DeleteActionPerformer.performAction(ExplorerActions.java:387)
[snip]
Comment 1 Marek Grummich 2000-07-25 09:17:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 14:56:07 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 15:18:10 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.