iterate-ch / cyberduck

Cyberduck is a libre FTP, SFTP, WebDAV, Amazon S3, Backblaze B2, Microsoft Azure & OneDrive and OpenStack Swift file transfer client for Mac and Windows.
https://cyberduck.io/
GNU General Public License v3.0
3.37k stars 294 forks source link

Incompatibility with older SF4J installations in system classpath #6221

Closed cyberduck closed 13 years ago

cyberduck commented 13 years ago

189b432 created the issue

Hi, have been successfully using cyberduck to sftp to an Amazon EC2 instance on port 22 using .dem key. Updating to Version 4.1.2 (8999) today, connection now hangs opening connection. FTP to other servers and Amazon S3 still works.

Nothing in log drawer.

Filezilla successfully making connection so no problems at other end.

Cheers

cyberduck commented 13 years ago

@dkocher commented

Can you find any related output in the system.log (/Applications/Utilities/Console.app)?

cyberduck commented 13 years ago

189b432 commented

Replying to [comment:1 dkocher]:

Can you find any related output in the system.log (/Applications/Utilities/Console.app)?

Log cleared prior to connection attempt

Marker - 19/09/2011 8:56:13 AM
Sep 19 08:57:31: --- last message repeated 2 times ---
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]: Exception in thread "Thread-24" java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at org.slf4j.bridge.SLF4JBridgeHandler.callLocationAwareLogger(SLF4JBridgeHandler.java:192)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:267)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at java.util.logging.Logger.log(Logger.java:481)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at java.util.logging.Logger.doLog(Logger.java:503)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at java.util.logging.Logger.log(Logger.java:526)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at java.util.logging.Logger.info(Logger.java:1045)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at ch.ethz.ssh2.log.Logger.info(Logger.java:47)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at ch.ethz.ssh2.transport.KexManager.mergeKexParameters(KexManager.java:184)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at ch.ethz.ssh2.transport.KexManager.handleMessage(KexManager.java:423)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at ch.ethz.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:822)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at ch.ethz.ssh2.transport.TransportManager$1.run(TransportManager.java:492)
Sep 19 08:57:31 gkelly4 [0x0-0x1ac1ac].ch.sudo.cyberduck[5947]:     at java.lang.Thread.run(Thread.java:680)

When starting cyberduck

Marker - 19/09/2011 9:00:42 AM
Sep 19 09:00:49 gkelly4 SystemUIServer[306]: /SourceCache/SpotlightUI/Spotlight-627.9/menu/Models/MDQueryWorker.m __+[MDQueryWorker startQuery:withOptions:]_block_invoke_1 Can't execute query '(* # "cy*"cdw || kMDItemTextContent"cy*"cdw)': Device not configured
Sep 19 09:00:49 gkelly4 SystemUIServer[306]: /SourceCache/SpotlightUI/Spotlight-627.9/menu/Models/MDQueryWorker.m __+[MDQueryWorker startQuery:withOptions:]_block_invoke_1 Can't execute query '(* # "cyb*"cdw || kMDItemTextContent"cyb*"cdw)': Device not configured

Cheers

cyberduck commented 13 years ago

@dkocher commented

There was a thread on the mailing list with the same issue.

cyberduck commented 13 years ago

@dkocher commented

Remove older SLF4J libraries from /Library/Java/Extensions.

cyberduck commented 12 years ago

Theparadigm commented

I almost gave up on Cyberduck 4.2.1 (9350) with this same error, until I found this ticket:

Apr 28 23:36:55 equinox [0x0-0x4f04f].ch.sudo.cyberduck[953]: Exception in thread "Thread-17" java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

After deleting the sle4j extensions everything was fine, but can I highly suggest you add code to check this. Cheers guys.