Bug 212375 [Automation][Regression]Exception occurs when preview a outputParams["xxx"]
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedDataSourceQuery.java
{
		this.configureDataSetCache( queryDefn, appContext, scope != null
				? scope : dataEngine.getSession( ).getSharedScope( ) );
		return preparedQuery.doPrepare( outerResults,
				scope,
				newExecutor( ),
				this );
	}
	
	/**
	 * @param appContext
	 * @throws DataException
	 */
	private void configureDataSetCache( IQueryDefinition querySpec,
			Map appContext, Scriptable scope ) throws DataException
	{		
		if ( querySpec == null )
			return;
		String queryResultID = querySpec.getQueryResultsID( );
		if ( queryResultID != null )
			return;
		if ( dataSetDesign == null )
			return;
		if ( getDataSetCacheManager( ).needsToCache( dataSetDesign,
				DataSetCacheUtil.getCacheOption( dataEngine.getContext( ),
						appContext ),
				DataSetCacheUtil.getCacheCount( dataEngine.getContext( ), appContext ) ) == false )
			return;
		
		Collection parameterHints = null;