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

Closing game during Mojang loading screen causes errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16 Pre-release 1, 1.16 Release Candidate 1, 1.16, 1.17.1, 21w38a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18 Pre-release 8, 1.18 Release Candidate 3, 1.18, 1.18.1 Release Candidate 1, 1.18.1, 22w03a, 22w05a, 1.18.2, 22w11a, 22w15a, 22w16b, 22w18a, 1.19, 1.19.1 Pre-release 5, 1.19.2, 1.19.3 Pre-release 2, 23w07a, 1.20.1, 1.20.2, 23w43a, 1.20.4, 24w10a, 1.21
    • None
    • Confirmed
    • UI
    • Low
    • Platform

      The bug

      When closing the game while the Mojang load screen is shown, errors occur.
      Depending on when you close the game, the logged errors will differ:

      1.16-pre1 log (Closing at beginning of load screen)
      [11:54:11] [main/INFO]: Stopping!
      [11:54:11] [Worker-Main-8/WARN]: Exception loading blockstate definition: minecraft:blockstates/mossy_stone_brick_wall.json: java.io.FileNotFoundException: minecraft:blockstates/mossy_stone_brick_wall.json
      [11:54:11] [Worker-Main-8/WARN]: Exception loading blockstate definition: 'minecraft:blockstates/mossy_stone_brick_wall.json' missing model for variant: 'minecraft:mossy_stone_brick_wall#east=tall,north=tall,south=low,up=false,waterlogged=true,west=none'
      [11:54:11] [Worker-Main-8/WARN]: Exception loading blockstate definition: 'minecraft:blockstates/mossy_stone_brick_wall.json' missing model for variant: 'minecraft:mossy_stone_brick_wall#east=none,north=low,south=none,up=false,waterlogged=false,west=tall'
      [11:54:11] [Worker-Main-8/WARN]: Exception loading blockstate definition: 'minecraft:blockstates/mossy_stone_brick_wall.json' missing model for variant: 'minecraft:mossy_stone_brick_wall#east=none,north=none,south=low,up=false,waterlogged=false,west=none'
      ...
      [11:54:11] [Worker-Main-6/ERROR]: Couldn't load texture minecraft:textures/font/unicode_page_00.png
      java.io.FileNotFoundException: minecraft:textures/font/unicode_page_00.png
      	at abh.a(SourceFile:67) ~[1.16-pre1.jar:?]
      	at dpb.a(SourceFile:107) [1.16-pre1.jar:?]
      	at dpb$$Lambda$2771/1010334754.apply(Unknown Source) [1.16-pre1.jar:?]
      	at java.util.HashMap.computeIfAbsent(HashMap.java:1118) [?:1.8.0_51]
      	at dpb.a(SourceFile:85) [1.16-pre1.jar:?]
      	at doo$1.a(SourceFile:115) [1.16-pre1.jar:?]
      	at doo$1$$Lambda$2719/448831122.accept(Unknown Source) [1.16-pre1.jar:?]
      	at it.unimi.dsi.fastutil.ints.IntIterable.forEach(IntIterable.java:74) [fastutil-8.2.1.jar:?]
      	at doo$1.a(SourceFile:110) [1.16-pre1.jar:?]
      	at doo$1.b(SourceFile:51) [1.16-pre1.jar:?]
      	at abf.a(SourceFile:11) [1.16-pre1.jar:?]
      	at abf$$Lambda$2605/1295675429.get(Unknown Source) [1.16-pre1.jar:?]
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1582) [?:1.8.0_51]
      	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574) [?:1.8.0_51]
      	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_51]
      	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_51]
      	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) [?:1.8.0_51]
      	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_51]
      ...
      
      1.16-pre1 log (Closing near end of load screen)
      [11:48:46] [main/INFO]: Reloading ResourceManager: Default
      [11:48:52] [main/INFO]: Stopping!
      [11:48:52] [Worker-Main-10/ERROR]: Using missing texture, unable to load minecraft:textures/block/respawn_anchor_bottom.png : java.io.FileNotFoundException: minecraft:textures/block/respawn_anchor_bottom.png
      [11:48:52] [Worker-Main-10/ERROR]: Using missing texture, unable to load minecraft:textures/block/anvil.png : java.io.FileNotFoundException: minecraft:textures/block/anvil.png
      [11:48:52] [Worker-Main-10/ERROR]: Using missing texture, unable to load minecraft:textures/block/composter_top.png : java.io.FileNotFoundException: minecraft:textures/block/composter_top.png
      [11:48:52] [Worker-Main-10/ERROR]: Using missing texture, unable to load minecraft:textures/block/cartography_table_side1.png : java.io.FileNotFoundException: minecraft:textures/block/cartography_table_side1.png
      [11:48:52] [Worker-Main-10/ERROR]: Using missing texture, unable to load minecraft:textures/item/flint.png : java.io.FileNotFoundException: minecraft:textures/item/flint.png
      ...
      
      1.17.1 log
      Shutdown failure!
      java.util.ConcurrentModificationException
      	at java.base/java.util.HashMap.forEach(HashMap.java:1428)
      	at exn.close(SourceFile:173)
      	at dvp.close(SourceFile:1038)
      	at dvp.l(SourceFile:1017)
      	at net.minecraft.client.main.Main.main(SourceFile:233)
      
      24w10a log
      [19:05:46] [Render thread/ERROR]: Shutdown failure!
      java.util.ConcurrentModificationException: null
      	at java.base/java.util.HashMap.forEach(HashMap.java:1424) ~[?:?]
      	at glt.close(SourceFile:173) ~[24w10a.jar:?]
      	at fby.close(SourceFile:1247) [24w10a.jar:?]
      	at fby.n(SourceFile:1221) [24w10a.jar:?]
      	at net.minecraft.client.main.Main.main(SourceFile:281) [24w10a.jar:?]
      

      How to reproduce

      1. Start the game
      2. While the Mojang load screen is shown, press the X of the game window
      3. Look at the log

            Unassigned Unassigned
            ampolive [Mod] ampolive
            Votes:
            11 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: