Cyberduck Mountain Duck CLI

#5059 closed defect (wontfix)

exception when jakarta-cli is installed

Reported by: mlilback Owned by: dkocher
Priority: normal Milestone:
Component: core Version: 3.5.1
Severity: normal Keywords:
Cc: Architecture: Intel
Platform: Mac OS X 10.6

Description (last modified by dkocher)

I'm getting the following exception when I try to open a browser.

7/18/2010 7:24:21 PM	[0x0-0x5f75f7].ch.sudo.cyberduck[15931]	Caused by: java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.isBlank(Ljava/lang/String;)Z
7/18/2010 7:24:21 PM	[0x0-0x5f75f7].ch.sudo.cyberduck[15931]		at ch.cyberduck.ui.cocoa.BrowserController.setBookmarkFilter(

The problem goes away if I remove the jakarta-cli.jar I have installed in /Library/Java/Extensions. There should be a way to configure Cyberduck to only use its own version. I need to have this installed for numerous java projects I use.

I'll try updating to a newer version to see if that fixes the problem, but if possible, Cyberduck should handle these errors instead of just logging an error to Console and showing no response to the New Browser menu item.

Change History (1)

comment:1 Changed on Jul 19, 2010 at 9:13:00 AM by dkocher

  • Description modified (diff)
  • Resolution set to wontfix
  • Status changed from new to closed

All libraries installed into /Library/Java/Extensions take precedence in the classpath for any application using Java. You should install the dependency for the given application by putting it into the application bundle only as we do with all dependencies in Try to avoid a dependency hell.

Note: See TracTickets for help on using tickets.