Fixed null pointer problem in document package setttings convert test.