It seems you are hitting bug# CSCuq82601 ,XML Parse Error Issue on both Corporate and Personal Directory on 78XX. What is the firmware of 7821 phone ? In case it is lower than 10-2-1-12SR1-4 version then can you upgrade ?
As mentioned by Kunal, you hit a bug. Details below.