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

java.lang.NoSuchFieldError: level #4487

Closed
cyberduck opened this issue May 21, 2010 · 2 comments
Closed

java.lang.NoSuchFieldError: level #4487

cyberduck opened this issue May 21, 2010 · 2 comments

Comments

@cyberduck
Copy link
Collaborator

2a0e2c5 created the issue

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
@cyberduck
Copy link
Collaborator Author

@dkocher commented

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

@cyberduck
Copy link
Collaborator Author

anonymous commented

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

@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

2 participants