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 208573 - java.io.IOException: Wrong lock
Summary: java.io.IOException: Wrong lock
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-17 15:10 UTC by Alexander Simon
Modified: 2012-02-22 11:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 185175


Attachments
stacktrace (1.56 KB, text/plain)
2012-02-17 15:10 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-02-17 15:10:27 UTC
Build: NetBeans IDE Dev (Build 20120217-72a136581564)
VM: Java HotSpot(TM) Client VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: SunOS

User Comments:
alexvsimon: move remote file




Stacktrace: 
java.io.IOException: Wrong lock
   at org.netbeans.modules.remote.impl.fs.RemoteFileObjectBase.moveImpl(RemoteFileObjectBase.java:638)
   at org.netbeans.modules.remote.impl.fs.RemoteFileObjectBase.move(RemoteFileObjectBase.java:633)
   at org.netbeans.modules.remote.impl.fs.RemoteFileObject.move(RemoteFileObject.java:292)
   at org.openide.loaders.FileEntry.move(FileEntry.java:116)
   at org.openide.loaders.MultiDataObject.handleMove(MultiDataObject.java:729)
   at org.openide.loaders.DataObject$2Op.run(DataObject.java:744)
Comment 1 Alexander Simon 2012-02-17 15:10:34 UTC
Created attachment 115882 [details]
stacktrace
Comment 2 Alexander Simon 2012-02-17 15:24:19 UTC
Probably it is a part of Bug#208084.
Comment 3 Alexander Simon 2012-02-17 15:26:34 UTC
P2 because any operation that take a lock on symlink will be failed if file is under clearcase or ADE.
Comment 4 Vladimir Kvashin 2012-02-20 12:55:09 UTC
Fixed in cnd-main:
http://hg.netbeans.org/cnd-main/rev/40bdd138fb76
Comment 5 Quality Engineering 2012-02-21 10:56:10 UTC
Integrated into 'main-golden', will be available in build *201202210400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/40bdd138fb76
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fix and test for #208573 - java.io.IOException: Wrong lock
Comment 6 Quality Engineering 2012-02-22 11:03:20 UTC
Integrated into 'main-golden', will be available in build *201202220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/40bdd138fb76
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fix and test for #208573 - java.io.IOException: Wrong lock