Menu

#1774 FTP 1.0.7 ConnectionManager: "Trying to release connection twice!" on SFTP fetch/save

None
closed-fixed
None
5
2014-07-03
2014-02-05
arielCo
No

As the title indicates, every time I fetch/save a file or list a directory through SFTP it works fine but I get this:

ConnectionManager: java.lang.Exception: Thread[AWT-EventQueue-0,6,main]: Trying to release connection twice!
ConnectionManager: at ftp.Connection.unlock(Connection.java:87)
ConnectionManager: at ftp.ConnectionManager.releaseConnection(ConnectionManager.java:537)
ConnectionManager: at ftp.FtpVFS._endVFSSession(FtpVFS.java:191)

(activity.log attached)

As I said it's working, but it started showing up recently so I'm curious about the cause and I thought you might be too.

jEdit: jEdit version 5.2pre1
java.version=1.7.0_51
java.vm.version=24.51-b03
java.vm.name=Java HotSpot(TM) Client VM
java.runtime.version=1.7.0_51-b13
java.runtime.name=Java(TM) SE Runtime Environment
java.vendor=Oracle Corporation
java.compiler=null
os.name=Windows 7
os.version=6.1
os.arch=x86

1 Attachments

Discussion

  • arielCo

    arielCo - 2014-02-07

    Please confirm you are using SFTP and not FTP. The error message "ftp.FtpVFS._endVFSSession(FtpVFS.java:191)" makes me think you are using FTP protocol.

    I am (FTP isn't enabled on the server). Also, the log shows the sftp:// URI and the SSH handshake.

    Also, what kind of server are you connecting to? Does it happen with all servers or just some?

    I checked and it happened with Solaris 10 (Solaris SSH); AIX, RHEL3 (OpenSSH).

    Would it help if I try to reproduce it with a new settings directory?

     
  • Alan Ezust

    Alan Ezust - 2014-02-07

    re: clean settings - that would be good. Any other ideas you might have to help me reproduce it would also help, since I can't yet.

    I am testing with MacOS and Kubuntu Linux openssh servers.

     
  • Alan Ezust

    Alan Ezust - 2014-04-19

    Do you still see this with FTP 1.1 ?
    I am unable to reproduce.

     

    Last edit: Alan Ezust 2014-04-19
  • Alan Ezust

    Alan Ezust - 2014-07-03

    Fixed in FTP 1.1

     
  • Alan Ezust

    Alan Ezust - 2014-07-03
    • status: pending-works-for-me --> closed-fixed
     

Log in to post a comment.