try
{
List<SortConstraint> sortConstraints = new SortOrderReportPreProcessor().computeSortConstraints(parent);
final TableModel reportData = queryReportData
(parent.getQuery(), parent.getQueryTimeout(), dataFactory, sortConstraints);
final DataSchema dataSchema = dataSchemaCompiler.compile
(reportData, expressions, parameterRow, parameterDefinitions, masterReport.getReportEnvironment());
// this.columnNames = collectColumnNames(reportData, parameterRow, expressions);
if (reportData instanceof CloseableTableModel)
{
final CloseableTableModel ctm = (CloseableTableModel) reportData;