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 205001

Summary: [71cat] org.openide.filesystems.FSException: Cannot rename file Modules/.nbattrs~ in C:\Users\oso\.netbeans\dev\config to Modules/.nbattrs. New file exists: true. Rename result: null.
Product: platform Reporter: mago_ebon <mago_ebon>
Component: FilesystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 182827
Attachments: stacktrace

Description mago_ebon 2011-11-11 16:28:23 UTC
This bug was originally marked as duplicate of bug 192164, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201111100600)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows 7

Stacktrace: 
org.openide.filesystems.FSException: Cannot rename file Modules/.nbattrs~ in C:\Users\oso\.netbeans\dev\config to Modules/.nbattrs. New file exists: true. Rename result: null.
   at org.openide.filesystems.LocalFileSystem.rename(LocalFileSystem.java:312)
   at org.openide.filesystems.LocalFileSystem$Impl.rename(LocalFileSystem.java:598)
   at org.openide.filesystems.DefaultAttributes.saveTable(DefaultAttributes.java:619)
   at org.openide.filesystems.DefaultAttributes.writeAttribute(DefaultAttributes.java:440)
   at org.netbeans.core.startup.layers.LocalFileSystemEx$DelegatingAttributes.writeAttribute(LocalFileSystemEx.java:209)
   at org.openide.filesystems.AbstractFileObject.setAttribute(AbstractFileObject.java:357)
Comment 1 mago_ebon 2011-11-11 16:28:26 UTC
Created attachment 113132 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-11-14 10:14:55 UTC
ergonomics#92c9d23a32b7
Comment 3 Quality Engineering 2011-11-19 07:04:43 UTC
Integrated into 'releases'
Changeset: http://hg.netbeans.org/releases/rev/92c9d23a32b7
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #205001: [71cat] org.openide.filesystems.FSException: Cannot rename file Modules/.nbattrs~ in C:\Users\oso\.netbeans\dev\config to Modules/.nbattrs. New file exists: true. Rename result: null.
Don't swallow exception when delete fails, try to repeat the operation few times
Comment 4 Quality Engineering 2011-11-19 16:18:20 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/92c9d23a32b7
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #205001: [71cat] org.openide.filesystems.FSException: Cannot rename file Modules/.nbattrs~ in C:\Users\oso\.netbeans\dev\config to Modules/.nbattrs. New file exists: true. Rename result: null.
Don't swallow exception when delete fails, try to repeat the operation few times