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

Cartographer villager freezes or crashes the game when unlocking explorer maps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w45a
    • Minecraft 18w22a, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13.1, 1.14.4, 1.15.2, 20w18a, 20w21a, 1.16 Release Candidate 1, 1.16, 1.16.1, 1.16.2
    • Confirmed
    • Crash, Performance

      The bug

      Cartographer villager crashes the game when unlocking explorer maps.

      How to reproduce

      1. Generate a new world
      2. Spawn a cartographer villager with spawn egg / interact with naturally spawned villager
      3. Unlock its trades
      4. When the cartographer unlocks the explorer maps, click on it
        → The villager GUI doesn't show, instead the game crashes

      Crash report

      Description: Exception in server tick loop
      
      java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
      	at net.minecraft.server.MinecraftServer.g_(SourceFile:392)
      	at dii.a(SourceFile:116)
      	at dii.d(SourceFile:132)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:501)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
      	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2272)
      	at net.minecraft.server.MinecraftServer.g_(SourceFile:390)
      	... 4 more
      Caused by: java.lang.UnsupportedOperationException
      	at bpw.e(SourceFile:100)
      	at sq.i(SourceFile:245)
      	at sq.a(SourceFile:238)
      	at bsi.a(SourceFile:29)
      	at bsi.a(SourceFile:13)
      	at bxf.a(SourceFile:26)
      	at bxf.a(SourceFile:13)
      	at bsl.a(SourceFile:27)
      	at bby.a(SourceFile:515)
      	at bpy.a(SourceFile:109)
      	at sz.a(SourceFile:12)
      	at sy.a(SourceFile:34)
      	at bqc.a(SourceFile:87)
      	at te.a(SourceFile:59)
      	at te.a(SourceFile:23)
      	at agg$a.a(SourceFile:131)
      	at agg$a$$Lambda$1255/104214654.apply(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncApply.exec(CompletableFuture.java:501)
      	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
      	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
      	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
      	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      

        1. crash-2018-05-28_18.00.28-server.txt
          3 kB
          ScaryDrill
        2. crash-2020-01-01_20.31.42-server.txt
          20 kB
          Philip Zimmermann
        3. crash-2020-01-01_20.33.54-server.txt
          18 kB
          Philip Zimmermann
        4. crash-2020-01-01_20.38.50-server.txt
          20 kB
          Philip Zimmermann
        5. crash-2020-01-02_19.14.32-server.txt
          20 kB
          Philip Zimmermann
        6. crash-2020-04-16_18.07.05-server.txt
          21 kB
          Michael Iddisah
        7. crash-2020-04-16_18.15.03-server.txt
          17 kB
          Michael Iddisah
        8. crash-2020-04-16_18.15.03-server-1.txt
          17 kB
          Michael Iddisah
        9. crash-2020-04-16_18.50.37-server.txt
          15 kB
          Michael Iddisah
        10. crash-2020-04-16_18.50.37-server-1.txt
          15 kB
          Michael Iddisah
        11. crash-2020-04-21_19.30.32-server.txt
          24 kB
          Richard
        12. crash-2020-04-21_20.02.01-server.txt
          16 kB
          Richard
        13. crash-2020-04-21_20.04.00-server.txt
          17 kB
          Richard
        14. crash-2020-04-21_20.18.53-server.txt
          15 kB
          Richard
        15. launcher_log.txt
          712 kB
          ScaryDrill

            mgatland [Mojang] Matthew Gatland
            scarydrill ScaryDrill
            Votes:
            56 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: