Added null check in Land.setBuilding