Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception when jakarta-cli is installed #5059

Closed
cyberduck opened this issue Jul 19, 2010 · 1 comment
Closed

exception when jakarta-cli is installed #5059

cyberduck opened this issue Jul 19, 2010 · 1 comment

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Jul 19, 2010

f4ab762 created the issue

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.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jul 19, 2010

@dkocher commented

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 dependency hell.

Loading

@cyberduck cyberduck closed this Jul 19, 2010
@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants