question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.lang.NoClassDefFoundError: Could not initialize class com.facebook.buck.util.environment.MacWifiSsidFinder

See original GitHub issue
java.lang.NoClassDefFoundError: Could not initialize class com.facebook.buck.util.environment.MacWifiSsidFinder
	at com.facebook.buck.util.environment.NetworkInfo.getWifiSsid(NetworkInfo.java:77)
	at com.facebook.buck.util.environment.DefaultExecutionEnvironment.getWifiSsid(DefaultExecutionEnvironment.java:79)
	at com.facebook.buck.cli.MainRunner.runMainWithExitCode(MainRunner.java:1176)
	at com.facebook.buck.cli.MainRunner.runMainThenExit(MainRunner.java:476)
	at com.facebook.buck.cli.MainWithNailgun.nailMain(MainWithNailgun.java:77)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.facebook.nailgun.NGSession.runImpl(NGSession.java:313)
	at com.facebook.nailgun.NGSession.run(NGSession.java:199)

This error happens when I try to generate the Xcode project, after upgrading to Mac OS Big sur. Any idea what could have gone wrong?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:8
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

6reactions
0x221Acommented, Nov 14, 2020

Any update for Mac OS Big Sur?

1reaction
brettwooldridgecommented, Nov 15, 2020

@rootblack45 That code is on the dev branch. Even before your comment, I suspected the issue was likely fixed on dev, and attempted to build it. Unfortunately, I am unable to build dev locally because of #2416. See my comment on that issue.

EDIT: Nevermind, I solved the buck compilation issue. I was able to build the dev branch, and it appears to work on Big Sur.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java.lang.NoClassDefFoundError: Could not initialize class XXX
My best bet is there is an issue here: static { //code for loading properties from file }. It would appear some uncaught...
Read more >
Buck - Bountysource
java.lang.NoClassDefFoundError: Could not initialize class com.facebook.buck.util.environment.MacWifiSsidFinder at com.facebook.buck.util.environment.
Read more >
The future of Buck - Meta for Developers
When Buck was unveiled at Facebook Mobile DevCon in 2013, it was a fast Android build system. Since then, it's expanded to support...
Read more >
java.lang.NoClassDefFoundError: Could not initiali...
java.lang.NoClassDefFoundError: Could not initialize class org.fusesource.jansi.internal.Kernel32 (CloudClient 4.5.0).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found