Aptana intermiittent unable to close output stream

瘦欲@ 提交于 2019-12-10 21:25:32

问题


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


回答1:


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




回答2:


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

Help -> Aptana -> Clear log file



来源:https://stackoverflow.com/questions/9094010/aptana-intermiittent-unable-to-close-output-stream

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!