Bug 155799 [regression]Error occour when previewing attached report in web viewer
Error occour when previewing attached report in web viewer Step to reproduce: preview attached report in web viewer Expected: work properly Actual : Error occour in web viewer while in PDF and HTML displayed properly.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedDummyQuery.java
Scriptable sharedScope )
	{
		this.queryDefn = queryDefn;
		init( context, queryDefn, sharedScope );
	}
	/**
	 * @param context
	 * @param subQueryDefn
	 * @param sharedScope
	 */
	private PreparedDummyQuery( DataEngineContext context,
			ISubqueryDefinition subQueryDefn, Scriptable sharedScope )
	{
		this.subQueryDefn = subQueryDefn;
		init( context, subQueryDefn, sharedScope );
	}
	
	/**
	 * @param context
	 * @param queryDefn
	 * @param sharedScope
	 */
	void init( DataEngineContext context, IBaseQueryDefinition queryDefn,
			Scriptable sharedScope )
	{
		assert queryDefn != null;
		this.context = context;
		this.sharedScope = sharedScope;
		this.exprManager = new ExprManager( );
		this.exprManager.addBindingExpr( null, queryDefn.getResultSetExpressions( ),