java.lang.NoClassDefFoundError: Could not initialize class com.facebook.buck.util.environment.MacWifiSsidFinder
See original GitHub issuejava.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:
- Created 3 years ago
- Reactions:8
- Comments:13 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any update for Mac OS Big Sur?
@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.