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

Occasional crash when changing blocks with a special renderer that uses states

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.13-pre6
    • Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w07c, Minecraft 18w16a, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre5, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a
    • Confirmed

      The bug

      In certain cases, the game can crash when a block with a special renderer changes, with an IllegalArgumentException regarding a property that does not exist in a certain block.

      For example, with chests:

      java.lang.IllegalArgumentException: Cannot get property bbu{name=facing, clazz=class ef, values=[north, east, south, west]} as it does not exist in bbi{block=minecraft:air, properties=[]}
      
      Description: Rendering Block Entity
      
      java.lang.IllegalArgumentException: Cannot get property bbu{name=facing, clazz=class ef, values=[north, east, south, west]} as it does not exist in bbi{block=minecraft:air, properties=[]}
      	at bbi$a.c(SourceFile:173)
      	at cce.a(SourceFile:70)
      	at ccc.a(SourceFile:134)
      	at ccc.a(SourceFile:122)
      	at cad.a(SourceFile:674)
      	at bzx.b(SourceFile:1185)
      	at bzx.a(SourceFile:1093)
      	at bzx.a(SourceFile:951)
      	at bne.b(SourceFile:820)
      	at bne.a(SourceFile:380)
      	at net.minecraft.client.main.Main.main(SourceFile:140)
      

      How to reproduce

      Use the following commands to place and then change a large quantity of chests:

      /fill ~-32 ~-.5 ~-32 ~32 ~-.5 ~32 chest
      /fill ~-32 ~-.5 ~-32 ~32 ~-.5 ~32 grass_block
      

      Generalizations

      This bug is known to affect the following block entities:

      • Chests (and trapped chests and ender chests)
      • Signs
      • Beds
      • Shulker boxes
      • Skulls

      It does not seem to affect the following:

      • Daylight detectors (no special renderer)
      • Furnaces (no special renderer)
      • Structures blocks: Use special renderer in 1.12.2 but could not produce crash
      • moving_piston: Apparently not using facing?

      Other notes

      While /fill is used to consistently reproduce, this same issue has occurred with other cases – usually death. Death temporarily changes all blocks to air during respawning, which would cause this same underlying problem of mismatched blocks (probably). It seems possible to have this happen with fewer chests, it just gets rarer.

        1. (17w50a) crash-2017-12-21_23.12.20-client.txt
          49 kB
          Marcono1234
        2. crash-2017-12-18_13.26.52-client.txt
          8 kB
          Piyotato
        3. crash-2017-12-18_13.38.54-client.txt
          29 kB
          Piyotato
        4. crash-2017-12-18_13.44.19-client.txt
          8 kB
          Piyotato
        5. crash-2017-12-18_13.45.47-client.txt
          7 kB
          Piyotato
        6. crash-2017-12-18_13.46.37-client.txt
          8 kB
          Piyotato
        7. crash-2017-12-18_13.47.38-client.txt
          8 kB
          Piyotato
        8. crash-2017-12-18_13.49.13-client.txt
          9 kB
          Piyotato
        9. crash-2017-12-18_13.50.22-client.txt
          8 kB
          Piyotato
        10. crash-2017-12-18_13.55.49-client.txt
          10 kB
          Piyotato
        11. crash-2017-12-19_15.13.17-client.txt
          4 kB
          Remin
        12. crash-2017-12-19_16.52.05-client.txt
          4 kB
          Remin
        13. crash-2017-12-19_20.14.46-client.txt
          4 kB
          Remin
        14. crash-2017-12-20_00.00.45-server.txt
          2 kB
          Remin
        15. crash-2017-12-20_00.59.19-client.txt
          7 kB
          Piyotato
        16. crash-2017-12-20_01.00.14-client.txt
          7 kB
          Piyotato
        17. crash-2017-12-20_01.04.32-client.txt
          8 kB
          Piyotato
        18. crash-2017-12-20_01.06.07-client.txt
          7 kB
          Piyotato
        19. crash-2017-12-20_01.07.29-client.txt
          7 kB
          Piyotato
        20. crash-2017-12-20_01.08.47-client.txt
          8 kB
          Piyotato
        21. crash-2017-12-20_01.10.43-client.txt
          7 kB
          Piyotato
        22. crash-2017-12-20_01.12.08-client.txt
          5 kB
          Piyotato
        23. crash-2017-12-20_01.16.01-client.txt
          9 kB
          Piyotato
        24. crash-2017-12-20_01.17.29-client.txt
          8 kB
          Piyotato
        25. crash-2017-12-20_21.50.06-client.txt
          13 kB
          Remin
        26. crash-2018-02-01_09.48.53-client.txt
          5 kB
          Thomas Hall

            searge [Mojang] Searge (Michael Stoyke)
            PiyoPwincess Piyotato
            Votes:
            34 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: