Cyberduck Mountain Duck CLI

#4487 closed defect (worksforme)

java.lang.NoSuchFieldError: level

Reported by: studio@… Owned by: dkocher
Priority: normal Milestone:
Component: core Version: 3.4.2
Severity: major Keywords: Crash on launch
Cc: Architecture:
Platform: Mac OS X 10.5

Description (last modified by dkocher)

We have two identical 2.8GHz Intel Core 2 Duo iMacs (8,1) in our Studio, both running 10.5.8. On one CyberDuck runs perfectly. The other has it crash on launch every time, even with all software updates applied.

System.log reports:

May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: Exception in thread "main" 
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: java.lang.NoSuchFieldError: level
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at org.apache.log4j.spi.RootLogger.setLevel(RootLogger.java:66)
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at org.apache.log4j.spi.RootLogger.<init>(RootLogger.java:45)
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at org.apache.log4j.LogManager.<clinit>(LogManager.java:80)
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at org.apache.log4j.Logger.getLogger(Logger.java:118)
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at ch.cyberduck.ui.cocoa.MainApplication.<clinit>(MainApplication.java:41)
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at java.lang.Class.forName0(Native Method)
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at java.lang.Class.forName(Class.java:247)
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at apple.launcher.LaunchRunner.loadMainMethod(LaunchRunner.java:55)
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at apple.launcher.LaunchRunner.run(LaunchRunner.java:111)
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
May 21 15:19:58 BGA-Studio-2 [0x0-0x1b01b].ch.sudo.cyberduck[156]: 	at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
May 21 15:19:58 BGA-Studio-2 com.apple.launchd[84] ([0x0-0x1b01b].ch.sudo.cyberduck[156]): Exited with exit code: 1

Change History (3)

comment:1 Changed on May 30, 2010 at 1:57:20 AM by dkocher

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

Remove any log4j.jar from the system classpath; e.g. in /Library/Java/Extensions.

comment:2 Changed on May 30, 2010 at 1:58:09 AM by dkocher

  • Summary changed from CyberDuck crashing on Launch with DIFFERENT Java issue to java.lang.NoSuchFieldError: level

comment:3 Changed on Jun 10, 2010 at 1:04:13 AM by anonymous

Thanks for this! We found Cyberduck will now launch after backing up then removing the log4j-core.jar file from that directory.

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