Bug 136553 [regression]Preview error when set invalid group interval.
Description: Preview error when set invalid group interval. Steps to reproduce: 1. Insert a table 2. Add a group on number column, set interval to Year,1 3. Preview 4. Edit group on string column set interval to Prefix,1 5. Preview Expected result: Error msg about invalid group interval. Actual result: Error happened while running the report
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/DataPresentationEngine.java
import org.eclipse.birt.data.engine.api.IBaseQueryDefinition;
import org.eclipse.birt.data.engine.api.IQueryDefinition;
import org.eclipse.birt.data.engine.api.IQueryResults;
import org.eclipse.birt.report.engine.api.EngineException;
import org.eclipse.birt.report.engine.api.impl.ReportDocumentConstants;
import org.eclipse.birt.report.engine.data.IResultSet;
import org.eclipse.birt.report.engine.executor.ExecutionContext;
import org.eclipse.birt.report.engine.ir.Report;
import org.mozilla.javascript.Scriptable;
public class DataPresentationEngine extends AbstractDataEngine
{
	private IDocArchiveReader reader;
	/*
	 * store relations of various query ResultSet. Such as relations between
	 * parent ResultSet and nested query ResultSet.
	 * 
	 * The user use
	 * 
	 * ParentResultId.rowId.queryName to access the result set id.
	 */
	protected HashMap rsetRelations = new HashMap( );
	public DataPresentationEngine( ExecutionContext ctx,
			IDocArchiveReader reader )
	{
		context = ctx;
		try
		{
			Scriptable scope = context.getScope( );