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 250955 - org.openide.filesystems.FSException: Cannot rename file attributes.xml~ in /home/leo/.netbeans/8.0.1/var to attributes.xml. New file exists: true. Rename result: null.
Summary: org.openide.filesystems.FSException: Cannot rename file attributes.xml~ in /h...
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-06 08:17 UTC by alonelsonranger
Modified: 2015-03-06 10:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215893


Attachments
stacktrace (1.99 KB, text/plain)
2015-03-06 08:17 UTC, alonelsonranger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alonelsonranger 2015-03-06 08:17:10 UTC
This bug was originally marked as duplicate of bug 247182, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: OpenJDK Client VM, 24.75-b04, OpenJDK Runtime Environment, 1.7.0_75-b13
OS: Linux

User Comments:
alonelsonranger: slow response




Stacktrace: 
org.openide.filesystems.FSException: Cannot rename file attributes.xml~ in /home/leo/.netbeans/8.0.1/var to attributes.xml. New file exists: true. Rename result: null.
   at org.openide.filesystems.LocalFileSystem.rename(LocalFileSystem.java:313)
   at org.openide.filesystems.LocalFileSystem$Impl.rename(LocalFileSystem.java:599)
   at org.openide.filesystems.DefaultAttributes.saveTable(DefaultAttributes.java:621)
   at org.openide.filesystems.DefaultAttributes.writeAttribute(DefaultAttributes.java:440)
   at org.netbeans.modules.masterfs.ExLocalFileSystem$OneFileAttributeAttachedToRoot.writeAttribute(ExLocalFileSystem.java:109)
   at org.netbeans.modules.masterfs.providers.Attributes.writeAttribute(Attributes.java:161)
Comment 1 alonelsonranger 2015-03-06 08:17:12 UTC
Created attachment 152426 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-03-06 10:19:36 UTC
Message in IDE Log:
> INFO [org.openide.filesystems.FileSystem]: Cannot delete attributes.xml
> msg
> Caused: org.openide.filesystems.FSException: /home/leo/.netbeans/8.0.1/var/attributes.xml is read-only.
It seems that the file is read-only, so it cannot be deleted or renamed.
Can you please check your filesystem privileges? Is the file writable?
Thank you.