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 193278 - Error when trying to create new file or directory (Cannot rename file attributes.xml~)
Summary: Error when trying to create new file or directory (Cannot rename file attribu...
Status: RESOLVED DUPLICATE of bug 192164
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.0
Hardware: PC All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-11 23:47 UTC by nazzz
Modified: 2011-06-02 08:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Issue after creating new directory (71.62 KB, image/png)
2011-04-28 21:51 UTC, maghiel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nazzz 2010-12-11 23:47:26 UTC
I was trying to create empty file called .htaccess and this error came up
Cannot rename file attributes.xml~ in C:\Users\Naz\.netbeans\dev\var to attributes.xml. New file exists: false. Rename result: false.

Product Version = NetBeans IDE Dev (Build 201012110001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01
Comment 1 Marian Mirilovic 2011-01-07 10:06:50 UTC
Reassign to platform , feel free to reassign ...
Comment 2 maghiel 2011-04-28 21:49:44 UTC
Having the same issue, but in my case it occured when trying to create a new directory. The directory was created, but the dialog says:

Cannot rename file attributes.xml~ in C:\Users\maghiel\.netbeans\7.0\var to attributes.x

with the next and finish buttons disabled. I'll attach a screenshot. 

I'll also update the bug title to be more specific.
Comment 3 maghiel 2011-04-28 21:51:57 UTC
Created attachment 108012 [details]
Issue after creating new directory
Comment 4 maghiel 2011-04-28 21:53:04 UTC
Forgot my environment:
Product Version: NetBeans IDE 7.0 (Build 201104080000)
Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09
System: Windows 7 version 6.1 running on x86; Cp1252; nl_NL (nb)
Userdir: C:\Users\maghiel\.netbeans\7.0
Comment 5 maghiel 2011-05-13 21:32:08 UTC
Still having this issue:
Product Version: NetBeans IDE Dev (Build nbms-and-javadoc-7160-on-20110507)
Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09
System: Windows 7 version 6.1 running on x86; Cp1252; nl_NL (nb)
Userdir: C:\Users\maghiel\.netbeans\dev
Comment 6 Jaroslav Tulach 2011-06-02 08:33:44 UTC
After fix of bug 192164, the code will retry ten times before giving up. I hope that helps.

*** This bug has been marked as a duplicate of bug 192164 ***