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

Crash if given too many advancements

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.13-pre5
    • None
    • Community Consensus

      when you try to give yourself many advancements and recipes then the game just crashes because of cannot divide by zero(as seen in the log) 

      To replicate this just build the little machine shown and press the button then your game should crash

      tested in 1.13-pre5 and 18w19b

      [15:21:47] [Server thread/INFO]: [@: Granted 571 advancements to Gewinner413]
      [15:21:47] [Server thread/INFO]: [@: Took 524 recipes from Gewinner413]
      [15:21:47] [Server thread/INFO]: [@: Unlocked 524 recipes for Gewinner413]
      ...
      [15:21:47] [Client thread/INFO]: [CHAT] [@: Granted 571 advancements to Gewinner413]
      [15:21:47] [Client thread/INFO]: [CHAT] [@: Took 524 recipes from Gewinner413]
      [15:21:47] [Client thread/INFO]: [CHAT] [@: Unlocked 524 recipes for Gewinner413]
      [15:21:47] [Client thread/INFO]: Loaded 571 advancements
      [15:21:47] [Server thread/INFO]: [@: Revoked 571 advancements from Gewinner413]
      [15:21:47] [Client thread/INFO]: [CHAT] [@: Revoked 571 advancements from Gewinner413]
      ...
      [15:21:47] [Server thread/INFO]: Gewinner413 has made the advancement [Acquire Hardware]
      ...
      [15:21:47] [Server thread/INFO]: [@: Granted 571 advancements to Gewinner413]
      [15:21:47] [Server thread/INFO]: [@: Took 524 recipes from Gewinner413]
      [15:21:47] [Server thread/INFO]: [@: Unlocked 524 recipes for Gewinner413]
      [15:21:47] [Client thread/INFO]: [CHAT] Gewinner413 has made the advancement [Remote Getaway]
      ...
      [15:21:47] [Client thread/INFO]: [CHAT] [@: Granted 571 advancements to Gewinner413]
      [15:21:47] [Client thread/INFO]: [CHAT] [@: Took 524 recipes from Gewinner413]
      [15:21:47] [Client thread/INFO]: [CHAT] [@: Unlocked 524 recipes for Gewinner413]
      [15:21:47] [Client thread/INFO]: Loaded 571 advancements
      [15:21:49] [Server thread/INFO]: [@: Revoked 571 advancements from Gewinner413]
      [15:21:49] [Server thread/INFO]: Gewinner413 has made the advancement [Cover Me With Diamonds]
      ...
      [15:21:49] [Server thread/INFO]: Gewinner413 has made the advancement [Acquire Hardware]
      [15:21:49] [Server thread/INFO]: [@: Granted 571 advancements to Gewinner413]
      [15:21:49] [Server thread/INFO]: [@: Took 524 recipes from Gewinner413]
      [15:21:49] [Server thread/INFO]: [@: Unlocked 524 recipes for Gewinner413]
      [15:21:49] [Client thread/FATAL]: Unreported exception thrown!
      java.lang.ArithmeticException: / by zero
      	at cgu.a(SourceFile:44) ~[1.13-pre5.jar:?]
      	at cgx$a.a(SourceFile:112) ~[1.13-pre5.jar:?]
      	at cgx.a(SourceFile:32) ~[1.13-pre5.jar:?]
      	at cep.c(SourceFile:810) ~[1.13-pre5.jar:?]
      	at cep.a(SourceFile:373) [1.13-pre5.jar:?]
      	at net.minecraft.client.main.Main.main(SourceFile:143) [1.13-pre5.jar:?]
      

        1. 2018-07-01_14.25.41.png
          2018-07-01_14.25.41.png
          154 kB
        2. latest.log
          114 kB
        3. log.PNG
          log.PNG
          118 kB
        4. MC-132477.zip
          1.37 MB
        5. MC-132477(working).zip
          1.42 MB
        6. TestWorld_PauOlivares.zip
          713 kB

            Unassigned Unassigned
            Gewinner413 unused account
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: