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

If a resourcepack tries to use a .ttf that doesn't exist, the game crashes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 3
    • Fix Version/s: None
    • Environment:
    • Confirmation Status:
      Confirmed

      Description

      When trying to load a resourcepack that uses a .ttf file in its default.json font, the game will crash if the file does not exist. If the resourcepack was selected before the game closed, it will crash while trying to load it on startup. Attachead are the crash report and the resourcepack I used to recreate the issue.

      ---- Minecraft Crash Report ----
      // Who set us up the TNT?
      
      Time: 10/04/19 15:59
      Description: Rendering overlay
      
      java.lang.NullPointerException: Rendering overlay
      	at cxl$1.b(SourceFile:112)
      	at cxl$1.a(SourceFile:53)
      	at xf.b(SourceFile:11)
      	at xf$$Lambda$1618/566132982.get(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1582)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574)
      	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
      	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- Head --
      Thread: Client thread
      Stacktrace:
      	at cxl$1.b(SourceFile:112)
      	at cxl$1.a(SourceFile:53)
      	at xf.b(SourceFile:11)
      	at xf$$Lambda$1618/566132982.get(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1582)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574)
      
      -- Overlay render details --
      Details:
      	Overlay name: cyw
      Stacktrace:
      	at djw.a(SourceFile:678)
      	at cux.d(SourceFile:945)
      	at cux.b(SourceFile:410)
      	at net.minecraft.client.main.Main.main(SourceFile:154)
      
      -- System Details --
      Details:
      	Minecraft Version: 19w14b
      	Operating System: Windows 10 (amd64) version 10.0
      	Java Version: 1.8.0_51, Oracle Corporation
      	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
      	Memory: 1973666496 bytes (1882 MB) / 3489660928 bytes (3328 MB) up to 4294967296 bytes (4096 MB)
      	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
      	Launched Version: 19w14b
      	LWJGL: 3.2.1 build 12
      	OpenGL: GeForce GTX 760/PCIe/SSE2 GL version 4.6.0 NVIDIA 417.71, NVIDIA Corporation
      	GL Caps: Using GL 1.3 multitexturing.
      Using GL 1.3 texture combiners.
      Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
      Shaders are available because OpenGL 2.1 is supported.
      VBOs are available because OpenGL 1.5 is supported.
      
      	Using VBOs: Yes
      	Is Modded: Probably not. Jar signature remains and client brand is untouched.
      	Type: Client (map_client.txt)
      	Resource Packs: vanilla, file/Crash
      	Current Language: English (US)
      	CPU: 8x Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Suso Jesús Mosteiro García
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: