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
if ( subQuery.usesDetails( ) == true )
					resultIterator = new ResultIterator( tempDir, context,
							this,
							queryResultID,
							subQueryName,
							currParentIndex );
				else
					resultIterator = new ResultIterator2( tempDir,
							context,
							this,
							queryResultID,
							subQueryName,
							currParentIndex,
							subQuery.getGroups( ).size( ) );
			}
		}
		return resultIterator;
	}
	
	/**
	 * @return
	 * @throws DataException
	 */
	private RDLoad getRDLoad( String subQueryName, String queryResultID ) throws DataException
	{
		String baseID = QueryResultIDUtil.get1PartID( queryResultID );
		if ( baseID == null )
			baseID = queryResultID;
		RDLoad rdLoad = RDUtil.newLoad( tempDir, context, new QueryResultInfo( baseID,
				subQueryName,