Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.2k views
in Java FTP by (120 points)
Hello,

I use the ftp/sftp client library "edtftpj-pro.jar". The version I don't know (how do I get the version), but the files have the date "14.11.2006", so the fix of version 1.2.5 (18.11.2005) should be included.

Problem:
I get the following stack trace:
Exception in thread "Transport protocol 1c" java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
at java.util.AbstractList$Itr.next(Unknown Source)
at com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.stop(Unknown Source)
at com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

My Testenvironment:
I have a SFTP server running. My client opens 2 connections (in 1 Thread) to this server (in production environment this will be 2 diifferent server). So the client opens the 2 connections, downloads the available files first of connection1 and then of connection2, and then closes the connections. Sometimes it happens, that I get the above exception.

Question:
Why does this happen?
Is the problem because 1 Thread opens 2 connections to the same server?
Any other opinions?

Thanks in advance

1 Answer

0 votes
by (162k points)
This is an exception we haven't seen for a long time. By far the best thing to do is upgrade to the latest version.

Categories

...