Bug 211547 [Automation][Acceptance]Exceptions are thrown out in console when click a hyperlink linked to a reportdocument
Description: Exceptions are thrown out on console when click a hyperlink linked to a reportdocument. Test Date: 20071129 Test Build: BIRT2.3.0 Daily Build: v20071129-0800 Step to reproduce: 1. Creat a new report 2. Add a label 3. Set label's hyperlink drill through to the reportdocument attached 4. Preview it in web viewer 5. Click the label. Expect result: Reportdocument should display correctly Actual result: Reportdocument can not be previewed and there is endless exception thrown out in console.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/QueryResults.java
private String tempDir;
	/**
	 * @param context
	 * @param queryResultID
	 */
	public QueryResults( String tempDir, DataEngineContext context, String queryResultID )
	{
		this( tempDir, context, null, queryResultID, null, null, -1 );
	}
	
	/**
	 * @param context
	 * @param queryResultID
	 * @param resultMetaData
	 * @param subQueryName
	 * @param currParentIndex
	 */
	QueryResults( String tempDir, DataEngineContext context, String baseResultID, String queryResultID,
			IResultMetaData resultMetaData, String subQueryName,
			int currParentIndex )
	{
		assert tempDir != null;
		assert context != null;
		assert queryResultID != null;
		if ( subQueryName != null )
			assert resultMetaData != null;
		this.tempDir = tempDir;
		this.context = context;
		this.queryResultID = queryResultID;
		this.baseQueryResultID = baseResultID;