Cyberduck Mountain Duck CLI

#7982 closed defect (worksforme)

NoSuchMethodError for Base64 class

Reported by: cbandy Owned by:
Priority: normal Milestone: 4.4.5
Component: core Version: 4.4.4
Severity: normal Keywords:
Cc: Architecture: Intel
Platform: Mac OS X 10.9

Description

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)

Change History (2)

comment:1 Changed on Jun 2, 2014 at 2:31:54 PM by dkocher

  • Milestone set to 4.4.5
  • Resolution set to worksforme
  • Status changed from new to closed
  • Summary changed from Unable to start on OS X 10.9.3 to NoSuchMethodError for Base64 class

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

comment:2 Changed on Mar 4, 2015 at 12:51:51 PM by dkocher

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

Note: See TracTickets for help on using tickets.
swiss made software