The most probable cause is that you should use doc.child("Persons").
Document object in your case has one child Persons, that has several Person children. doc.child("Person") fails to find the node and returns a null handle.
Having said that, don't forget to check load_file return value as well.