1. A data processing apparatus comprising: an analyzing unit that analyzes data for outputting a document by synthesizing a common object which is common among a plurality of records and a variable object which can vary among the plurality of records; an extracting unit that extracts the number of records in which a problem has occurred in a same page by using a result analyzed by the analyzing unit; a predicting unit that predicts whether the problem has been caused by the common object or has been caused by the variable object by using the number of records extracted by the extracting unit; and an output unit that outputs a result predicted by the predicting unit.