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

Empty advancement file crashes server when loading world

    Details

    • Confirmation Status:
      Confirmed

      Description

      The bug

      Putting an empty .json file in the data\advancements folder of a world causes the server to crash when the world is loaded.

      Description: Exception in server tick loop
      
      java.lang.NullPointerException: Exception in server tick loop
      	at j.a(SourceFile:64)
      	at mx.a(SourceFile:74)
      	at mx.<init>(SourceFile:66)
      	at ns.b(SourceFile:162)
      	at cgb.a(SourceFile:98)
      	at cgb.j(SourceFile:130)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:436)
      	at java.lang.Thread.run(Unknown Source)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dinnerbone [Mojang] Dinnerbone (Nathan Adams)
                Reporter:
                marcono1234 [Helper] Marcono1234
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: