Question for calculating the Energy above hull

I’m trying to calculate the energy above hull by pymatgen, while the error, as shown in the following figure, occurs frequently.
What should i do to solve this problem?

Hi @Guancred , the line NoneType object has no attribute energy_adjustments indicates to me that either computed_entry or mp_entries is None. Inspect both of those and make sure that they are each ComputedEntry objects. Good luck!

Thank you sir, may be this error is attributed to the vasprun.xml file, when i use another vasprun.xml, this error did not occur.