Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-272279

Resource packs containing TrueType fonts fail to load on x64 macOS systems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21 Pre-Release 1
    • 1.20.6
    • None
    • macOS Sonoma 14.5, Intel-based Mac
    • Confirmed
    • Resource Packs
    • Very Important
    • Platform

      [15:01:59] [Render thread/INFO]: Caught error loading resourcepacks, removing all selected resourcepacks
      java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.util.freetype.FreeType
      	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
      	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
      	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
      	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
      	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?]
      	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?]
      	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?]
      	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?]
      	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?]
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.util.freetype.FreeType
      	at fkh.a(SourceFile:23) ~[1.20.6.jar:?]
      	at fkl.a(SourceFile:75) ~[1.20.6.jar:?]
      	at fjv.a(SourceFile:210) ~[1.20.6.jar:?]
      	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
      	... 6 more
      Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: Failed to dynamically load library: /Users/davud/Library/Application Support/minecraft/bin/44685878b69bb36a6fb05390c06c8b0243d34f57/libfreetype.dylib(error = null) [in thread "Worker-Main-7"]
      	at org.lwjgl.system.macosx.MacOSXLibraryDL.loadLibrary(MacOSXLibraryDL.java:33) ~[lwjgl-3.3.3.jar:build 5]
      	at org.lwjgl.system.macosx.MacOSXLibraryDL.<init>(MacOSXLibraryDL.java:20) ~[lwjgl-3.3.3.jar:build 5]
      	at org.lwjgl.system.macosx.MacOSXLibrary.create(MacOSXLibrary.java:27) ~[lwjgl-3.3.3.jar:build 5]
      	at org.lwjgl.system.APIUtil.apiCreateLibrary(APIUtil.java:130) ~[lwjgl-3.3.3.jar:build 5]
      	at org.lwjgl.system.Library.loadNative(Library.java:382) ~[lwjgl-3.3.3.jar:build 5]
      	at org.lwjgl.system.Library.loadNativeFromLibraryPath(Library.java:371) ~[lwjgl-3.3.3.jar:build 5]
      	at org.lwjgl.system.Library.loadNative(Library.java:285) ~[lwjgl-3.3.3.jar:build 5]
      	at org.lwjgl.system.Library.loadNative(Library.java:236) ~[lwjgl-3.3.3.jar:build 5]
      	at org.lwjgl.util.freetype.FreeType.<clinit>(FreeType.java:44) ~[lwjgl-freetype-3.3.3.jar:build 5]
      	at fkh.a(SourceFile:23) ~[1.20.6.jar:?]
      	at fkl.a(SourceFile:75) ~[1.20.6.jar:?]
      	at fjv.a(SourceFile:210) ~[1.20.6.jar:?]
      	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
      	... 6 more 

       

      Reproduced on macOS Sonoma 14.5, 2020 13" Intel-based Macbook Pro, but have also had reports on other Intel macOS devices e.g. 21.5" 2017 iMac

      Issue does not occur on 1.20.4

            gegy1000 [Mojang] Gegy
            clrxbl Michael
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: