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 197087 - Constant errors failing to remove NFS lock file
Summary: Constant errors failing to remove NFS lock file
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-25 12:01 UTC by serggt1
Modified: 2016-07-07 08:38 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 serggt1 2011-03-25 12:01:52 UTC
I get constant errors like this:

java.io.IOException: File /home/serg/.netbeans/dev/var/cache/mavenindex/local/.nfs00000000010a0b1a0000002a unable to be deleted.
	at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1373)
	at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1625)
	at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1570)
	at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.loadIndexingContext(NexusRepositoryIndexerImpl.java:318)
	at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.access$600(NexusRepositoryIndexerImpl.java:164)
	at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$10.run(NexusRepositoryIndexerImpl.java:881)
	at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$10.run(NexusRepositoryIndexerImpl.java:879)
	at org.openide.util.Mutex.writeAccess(Mutex.java:436)
Caused: org.openide.util.MutexException
	at org.openide.util.Mutex.writeAccess(Mutex.java:440)
[catch] at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.getVersions(NexusRepositoryIndexerImpl.java:879)
	at org.netbeans.modules.maven.indexer.api.RepositoryQueries.getVersions(RepositoryQueries.java:154)
	at org.netbeans.modules.maven.nodes.AddDependencyPanel.populateVersion(AddDependencyPanel.java:649)
	at org.netbeans.modules.maven.nodes.AddDependencyPanel.access$600(AddDependencyPanel.java:116)
	at org.netbeans.modules.maven.nodes.AddDependencyPanel$DefAction.run(AddDependencyPanel.java:1393)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 1 Jesse Glick 2011-03-28 17:35:24 UTC
Are you keeping your NetBeans user directory on an NFS partition? Probably not a good idea. I do not know what this particular error is about but try shutting down the IDE, deleting /home/serg/.netbeans/dev/var/cache/mavenindex, and restarting.
Comment 2 serggt1 2011-03-28 18:43:21 UTC
Well, actually I need to store everything on an NFS partition to share my settings and working environment. I never had troubles with release versions. I'll try.
Comment 3 Jesse Glick 2011-03-29 03:21:41 UTC
If you want to keep settings on a shared mount, it is still a good idea to keep the var subdir on a fast local disk (e.g. var -> /tmp/.netbeans-var). var/cache/ in particular can be rather big, and I/O speed is critical.
Comment 4 serggt1 2011-03-30 10:50:27 UTC
Thanks a lot! :)
Comment 5 Martin Balin 2016-07-07 08:38:40 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss