java.io.IOException

Appcelerator JIRA | Shawn Ostermann | 5 years ago
  1. 0

    After upgrading to the newest release (Aptana Studio 3, build: 3.0.7.201112151935), I am now constantly getting this error message when saving a file to a remote SFTP server. What's even worse is that the original file on the server is then removed! ***** The message is "Error saving the remote file FILENAME has encountered a problem. Unable to close output stream. java.io.IOException **** NOTE: After some more experimenting, it seems that this error only happens when I have more the one instance of the the page open. For example: If I click 'New Editor' and create a copy of the file to work with, when I save it then the errors appear: From the log: !SUBENTRY 1 com.aptana.core.io 4 0 2011-12-27 16:22:13.234 !MESSAGE Unable to close output stream. !STACK 0 java.io.IOException at com.aptana.filesystem.secureftp.internal.SFTPFileUploadOutputStream.close(SFTPFileUploadOutputStream.java:115) at com.aptana.core.io.efs.SyncUtils.safeClose(SyncUtils.java:165) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:116) at com.aptana.ide.ui.io.IOUIPlugin$6$1.run(IOUIPlugin.java:483) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.enterprisedt.net.ftp.FTPException: 2 No such file at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.getOKRequestStatus(SftpSubsystemClient.java:1127) at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.renameFile(SftpSubsystemClient.java:795) at com.enterprisedt.net.j2ssh.SftpClient.rename(SftpClient.java:1378) at com.enterprisedt.net.ftp.ssh.SSHFTPClient.rename(SSHFTPClient.java:1403) at com.aptana.filesystem.secureftp.internal.SFTPFileUploadOutputStream.close(SFTPFileUploadOutputStream.java:98) ... 4 more h1. Steps for Testing # Create a new web project # Create a new connection to an SFTP server and select a directory with write access # Create a new file in the project # Move or sync this file over to the SFTP server # Close all documents # Open the file on the SFTP server # Right-click the editor's tab and select "New Editor" # Make some edits to one of the editors containing the remote file # Save the document You should see no error dialog, the file should still exist on the remote server, and the content of the remote file should have been updated.

    Appcelerator JIRA | 5 years ago | Shawn Ostermann
    java.io.IOException
  2. 0

    After upgrading to the newest release (Aptana Studio 3, build: 3.0.7.201112151935), I am now constantly getting this error message when saving a file to a remote SFTP server. What's even worse is that the original file on the server is then removed! ***** The message is "Error saving the remote file FILENAME has encountered a problem. Unable to close output stream. java.io.IOException **** NOTE: After some more experimenting, it seems that this error only happens when I have more the one instance of the the page open. For example: If I click 'New Editor' and create a copy of the file to work with, when I save it then the errors appear: From the log: !SUBENTRY 1 com.aptana.core.io 4 0 2011-12-27 16:22:13.234 !MESSAGE Unable to close output stream. !STACK 0 java.io.IOException at com.aptana.filesystem.secureftp.internal.SFTPFileUploadOutputStream.close(SFTPFileUploadOutputStream.java:115) at com.aptana.core.io.efs.SyncUtils.safeClose(SyncUtils.java:165) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:116) at com.aptana.ide.ui.io.IOUIPlugin$6$1.run(IOUIPlugin.java:483) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.enterprisedt.net.ftp.FTPException: 2 No such file at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.getOKRequestStatus(SftpSubsystemClient.java:1127) at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.renameFile(SftpSubsystemClient.java:795) at com.enterprisedt.net.j2ssh.SftpClient.rename(SftpClient.java:1378) at com.enterprisedt.net.ftp.ssh.SSHFTPClient.rename(SSHFTPClient.java:1403) at com.aptana.filesystem.secureftp.internal.SFTPFileUploadOutputStream.close(SFTPFileUploadOutputStream.java:98) ... 4 more h1. Steps for Testing # Create a new web project # Create a new connection to an SFTP server and select a directory with write access # Create a new file in the project # Move or sync this file over to the SFTP server # Close all documents # Open the file on the SFTP server # Right-click the editor's tab and select "New Editor" # Make some edits to one of the editors containing the remote file # Save the document You should see no error dialog, the file should still exist on the remote server, and the content of the remote file should have been updated.

    Appcelerator JIRA | 5 years ago | Shawn Ostermann
    java.io.IOException
  3. 0

    FTP errors / General / Discussion Area - Cascade CMS Support

    hannonhill.com | 1 year ago
    com.enterprisedt.net.ftp.FTPException: 550 The process cannot access the file because it is being used by another process.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FTP Exception com.enterprisedt.net.ftp.FTPException: 553 file exists

    Stack Overflow | 1 year ago | javadev
    com.enterprisedt.net.ftp.FTPException: 550 Directory already exists 2015-08-30 01:49:39,916 ERROR [STDERR] (DefaultQuartzScheduler_Worker-10)
  6. 0

    java.net.ConnectException: Connection refused: connect - EnterpriseDT Q&A

    enterprisedt.com | 3 months ago
    com.enterprisedt.net.ftp.FTPException: 500 Illegal PORT Command

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.enterprisedt.net.ftp.FTPException

      2 No such file

      at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.getOKRequestStatus()
    2. com.enterprisedt.net
      SSHFTPClient.rename
      1. com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.getOKRequestStatus(SftpSubsystemClient.java:1127)
      2. com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.renameFile(SftpSubsystemClient.java:795)
      3. com.enterprisedt.net.j2ssh.SftpClient.rename(SftpClient.java:1378)
      4. com.enterprisedt.net.ftp.ssh.SSHFTPClient.rename(SSHFTPClient.java:1403)
      4 frames
    3. com.aptana.filesystem
      SFTPFileUploadOutputStream.close
      1. com.aptana.filesystem.secureftp.internal.SFTPFileUploadOutputStream.close(SFTPFileUploadOutputStream.java:98)
      1 frame
    4. com.aptana.core
      SyncUtils.copy
      1. com.aptana.core.io.efs.SyncUtils.safeClose(SyncUtils.java:165)
      2. com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:116)
      2 frames
    5. com.aptana.ide
      IOUIPlugin$6$1.run
      1. com.aptana.ide.ui.io.IOUIPlugin$6$1.run(IOUIPlugin.java:483)
      1 frame
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame