Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Operation Failed. file system input or outpur error
Operation Failed. file system input or outpur error [message #566891] Wed, 18 April 2007 17:42
Eclipse UserFriend
Originally posted by: udaykabe.hotmail.com

I am hoping to (re-)use some of the RSE plugins to provide users the ability
to transfer files to SFTP and/or FTP servers via drag-and-drop. Although
the file transfer is working, the following message is consistently
displayed in the Remote Systems viewer under the drop target after each
drag-and-drop from my tree viewer.

"Operation Failed. file system input or outpur error"

It apparently all begins with the RefreshJob that is scheduled in
SystemDNDTransferRunnable. The problem is a consequence of the following
code in FTPService.internalFetch():

if (monitor != null) {
if (monitor.isCanceled())
return null;
}

Apparently, there are at least two DeferredTreeContentManager.Jobs that are
being created to fetch the children of the same node. So one gets canceled
and eventually causes internalFetch() to return null. The null is passed to
FTPFileAdapter.convertToRemoteFiles() in the "nodes" argument. The
reference to "nodes" in the for loop throws a NullPointerException that is
caught by SystemViewRemoteFileAdapter. Its general catch clause for
Exception happily creates a SystemMessageObject that seems to result in the
aforementioned message.

I have tried to fix the "bug" in the usual ways (catching the
NullPointerException, returning an empty IHostFile[] from internalFetch(),
etc.) but have not resolved the issue. I am using Eclipse 3.2; this combo
of plugins from CVS compiled without errors on my Eclipse installation.

org.eclipse.rse.connectorservice.local v20070328
org.eclipse.rse.connectorservice.ssh v20070328
org.eclipse.rse.core v20070401
org.eclipse.rse.files.ui v20070401
org.eclipse.rse.services v20070221
org.eclipse.rse.services.files.ftp v20070402
org.eclipse.rse.services.local v20070402
org.eclipse.rse.services.ssh v20070224
org.eclipse.rse.subsystems.files.core v20070401
org.eclipse.rse.subsystems.files.ftp v20070401
org.eclipse.rse.subsystems.files.local v20070401
org.eclipse.rse.subsystems.files.ssh v20070401
org.eclipse.rse.subsystems.shells.core v20070328
org.eclipse.rse.ui v20070401

Thanks in advance for your help and for your software.

Uday
Previous Topic:Test. Please ignore this post!
Next Topic:remote project / remote debug
Goto Forum:
  


Current Time: Thu Nov 27 13:48:14 GMT 2014

Powered by FUDForum. Page generated in 0.03279 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software