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

NoSuchMethodError for Base64 class #7982

Closed
cyberduck opened this issue May 29, 2014 · 2 comments
Closed

NoSuchMethodError for Base64 class #7982

cyberduck opened this issue May 29, 2014 · 2 comments

Comments

@cyberduck
Copy link
Collaborator

d0aed90 created the issue

When I try to open Cyberduck, I see an error in the console and no window appears:

[LaunchRunner Error] ch.cyberduck.ui.cocoa.MainApplication.main(String[]) threw an exception:
java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.decodeBase64(Ljava/lang/String;)[B
	at ch.cyberduck.core.Profile.write(Profile.java:199)
	at ch.cyberduck.core.Profile.<init>(Profile.java:61)
	at ch.cyberduck.core.serializer.ProfileDictionary.deserialize(ProfileDictionary.java:30)
	at ch.cyberduck.core.serializer.impl.ProfilePlistReader.deserialize(ProfilePlistReader.java:46)
	at ch.cyberduck.core.serializer.impl.ProfilePlistReader.deserialize(ProfilePlistReader.java:31)
	at ch.cyberduck.core.serializer.impl.PlistReader.read(PlistReader.java:72)
	at ch.cyberduck.core.ProtocolFactory.register(ProtocolFactory.java:89)
	at ch.cyberduck.ui.cocoa.MainApplication.main(MainApplication.java:142)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at apple.launcher.LaunchRunner.run(LaunchRunner.java:116)
	at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
	at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
@cyberduck
Copy link
Collaborator Author

@dkocher commented

Please remove any libraries (*.jar dependencies) installed in /Library/Java/Extensions or ~/Library/Java/Extensions respectively. In particular a commons-codec version.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Fixed in 8c7361d with setting the extension directories to only include lib/ext from the bundled runtime.

@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
Development

No branches or pull requests

1 participant