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.
Build: Oracle Solaris Studio 12.4 (12.4 [2014/09/19 9ae3407e774c]) VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26 OS: Windows 7 User Comments: soldatov: scenario: - Add remote folder to Favorites tab - Create zzzz.c and zzzzz.c - Rename zzzz.c to zzzzz.c ==> exception Stacktrace: java.io.IOException: Can not rename to zzzzz.c: the file already exists at org.netbeans.modules.remote.impl.fs.RemoteFileObjectBase.renameImpl(RemoteFileObjectBase.java:660) at org.netbeans.modules.remote.impl.fs.RemoteFileObjectBase.rename(RemoteFileObjectBase.java:637) at org.netbeans.modules.remote.impl.fs.RemoteFileObject.rename(RemoteFileObject.java:238) at org.openide.loaders.FileEntry.rename(FileEntry.java:96) at org.openide.loaders.MultiDataObject.handleRename(MultiDataObject.java:640) at org.openide.loaders.DataObject$1Op.run(DataObject.java:768)
Created attachment 149381 [details] stacktrace
Created attachment 149452 [details] fix prototype It isn't a complete fix, but rather a protptype: class loaders and bundles should be checked, other places where exceptions occur should be changed as well.
Created attachment 150019 [details] Could you try this pty on your remote arm, will it execute or fail as well? Please copy the attached pty binary to your remote arm machine and try launching it there - will it work?
(In reply to Vladimir Kvashin from comment #3) > Created attachment 150019 [details] > Could you try this pty on your remote arm, will it execute or fail as well? > > Please copy the attached pty binary to your remote arm machine and try > launching it there - will it work? Is it valid comment? This bug I filed from Oracle Solaris Studio, but I can check Solaris Studio + ARM too.
(In reply to soldatov from comment #4) > Is it valid comment?... Oh, sorry, I meant adding this to another bug (issue 245243). Please disregard my previous comment and attachment
fixed by http://hg.netbeans.org/cnd-main/rev/ba45da6bf0fb
Integrated into 'main-silver', will be available in build *201411070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ba45da6bf0fb User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #247315 - java.io.IOException: Can not rename to zzzzz.c: the file already exists
verified in trunk (NetBeans IDE Dev (Build 201411070002))
Integrated into 'releases/release801', will be available in build *201411102027* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/e8227ae5ff4c User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #247315 - java.io.IOException: Can not rename to zzzzz.c: the file already exists (transplanted from ba45da6bf0fb2221a830f1bc4ec9749e71bc91c8)
Verified in patch2 build 20141110.
Additional fix (better message): http://hg.netbeans.org/cnd-main/rev/409816097a48
Integrated into 'main-silver', will be available in build *201411140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/409816097a48 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: additional fix (better message) for #247315 java.io.IOException: Can not rename to zzzzz.c: the file already exists