Aptana intermiittent unable to close output stream

2019-07-02 01:23发布

Hope someone can help with this as it's driving me mad! I'm using Aptana 3.1 on OS X Lion but had the same problem with the previous build of Aptana and Snow Leopard.

I have several ftp connections set up and get an intermittent problem when trying to upload files. It seems to happen much more often with larger php files but not all the time. I click the 'up' arrow to upload a file to the server and the upload progress bar gets to 100% then hangs for about a minute, I then get a message saying 'error unable to close output stream' with the option to continue or cancel.

This is the corresponding entry in the error log:

!SUBENTRY 1 com.aptana.core.io 4 0 2012-02-01 09:51:22.863
!MESSAGE Unable to close output stream.
!STACK 0
com.enterprisedt.net.ftp.ControlChannelIOException: Read timed out
at com.enterprisedt.net.ftp.FTPControlSocket.e(FTPControlSocket.java:1041)
at com.enterprisedt.net.ftp.FTPControlSocket.b(FTPControlSocket.java:1076)  
at com.enterprisedt.net.ftp.FTPClient.validateTransfer(FTPClient.java:2545)
at com.enterprisedt.net.ftp.FTPOutputStream.close(FTPOutputStream.java:275)
at com.aptana.filesystem.ftp.internal.FTPFileUploadOutputStream.close(FTPFileUploadOutputStream.java:106)
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.syncing.core.old.Synchronizer.uploadAndDelete(Synchronizer.java:1370)
at com.aptana.ide.syncing.core.old.Synchronizer.upload(Synchronizer.java:1274)
at com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:128)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

I've tried deleting the connection and recreating with it. I'm using passive mode on port 21.

Any help appreciated.

Thanks,

Derek

2条回答
孤傲高冷的网名
2楼-- · 2019-07-02 02:04

OK Fixed it. Emptying Aptana's error log seems to have done it!

Help -> Aptana -> Clear log file

查看更多
时光不老,我们不散
3楼-- · 2019-07-02 02:12

Also if this fails, this message is shown when there is no free space in the server.

查看更多
登录 后发表回答