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

Loading Village.dat containing player reputation causes NullPointerException

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.4
    • Labels:
      None
    • Confirmation Status:
      Community Consensus

      Description

      Once a player has a reputation written to villages.dat, that file will fail to load. Instead it will cause a NullPointerException during startup and every village with player reputation will be removed from the file.

      Steps to Reproduce:

      • Create or find a village
      • Kill a villager belonging to that village
      • Restart the server
      • Notice the NullPointerException on startup while loading villages.dat

      Removing all player reputation from villages.dat and restarting fixes the exception.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                searge [Mojang] Searge (Michael Stoyke)
                Reporter:
                tangotek Tango Tek
              • Votes:
                174 Vote for this issue
                Watchers:
                79 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: