[Cyberduck-trac] [Cyberduck] #5059: exception when jakarta-cli is installed

Cyberduck trac at trac.cyberduck.ch
Mon Jul 19 11:13:01 CEST 2010


#5059: exception when jakarta-cli is installed
----------------------+-----------------------------------------------------
 Reporter:  mlilback  |        Owner:  dkocher      
     Type:  defect    |       Status:  closed       
 Priority:  normal    |    Milestone:               
Component:  core      |      Version:  3.5.1        
 Severity:  normal    |   Resolution:  wontfix      
 Keywords:            |     Platform:  Mac OS X 10.6
     Arch:  Intel     |  
----------------------+-----------------------------------------------------
Changes (by dkocher):

  * status:  new => closed
  * resolution:  => wontfix


Old description:

> 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(BrowserController.java:1519)
>
> 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.

New description:

 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(BrowserController.java:1519)
 }}}

 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.

--

Comment:

 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
 `Cyberduck.app/Contents/Resources/Java`. Try to avoid a
 [http://en.wikipedia.org/wiki/Dependency_hell dependency hell].

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/5059#comment:1>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files and Amazon S3 Browser for Mac OS X.


More information about the Cyberduck-trac mailing list