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
this.resultMetaData = resultMetaData;
		this.subQueryName = subQueryName;
		this.currParentIndex = currParentIndex;
	}
	
	/**
	 * 
	 * @return
	 */
	private IPreparedQuery populateDummyPreparedQuery( )
	{
		IPreparedQuery result = null;
		try
		{
			String rootQueryResultID = QueryResultIDUtil.get1PartID( queryResultID );
			String parentQueryResultID = null;
			if ( rootQueryResultID != null )
				parentQueryResultID = QueryResultIDUtil.get2PartID( queryResultID );
			else
				rootQueryResultID = queryResultID;
			QueryResultInfo queryResultInfo = new QueryResultInfo( rootQueryResultID,
					parentQueryResultID,
					null,
					null,
					-1 );
			RDLoad rdLoad = RDUtil.newLoad( tempDir, context, queryResultInfo );
			IBaseQueryDefinition qd = rdLoad.loadQueryDefn( StreamManager.ROOT_STREAM,
					StreamManager.BASE_SCOPE );
			if ( qd instanceof IQueryDefinition )