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

Loading Village.dat containing player reputation causes NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.4
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: