Bug 212478 Exception occurs when preview the table including a Autotext
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
public ReportQueryBuilder( )
	{
		expressionUtil = new ExpressionUtil( );
		queryBuilder = new QueryBuilderVisitor( );
	}
	/**
	 * @param report
	 *            the entry point to the report design
	 * @param context
	 *            the execution context
	 */
	public ReportQueryBuilder( Report report, ExecutionContext context )
	{
		expressionUtil = new ExpressionUtil( );
		queryBuilder = new QueryBuilderVisitor( );
		this.report = report;
		this.context = context;
		
		if ( null != this.context )
		{
			IReportEngine engine = this.context.getEngine( );
			if ( null != engine )
			{
				EngineConfig engineConfig = engine.getConfig( );
				if ( null != engineConfig )
				{
					maxRows = engineConfig.getMaxRowsPerQuery( );
				}
			}
		}