Your datafield in the personal details class where not initialised.
And your program did not call the method you use to initialise the variable. That is the add_detail() method in the personal...