Bug 123219 Export data in attached file which has a table covers multiple page will throw exception.
Description: Export data in attached file which has a table covers multiple page will throw exception. Steps to reproduce: 1. Preview attached design file in viewer. 2. Select the table and click Export Data Expected result: No errors. Actual result: Exception Exception in: ReportEngineService.getMetaData( )
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/DataExtractionTask.java
while( queryResultName == null && parId != null )
				{
					parId = parId.getParentID();
					if( parId != null )
						queryResultName = parId.getDataSetName();
				}
				assert queryResultName != null;
				
				IQueryResults parentQueryResult = dataEngine
						.getQueryResults( queryResultName );
				assert parentQueryResult != null;
				
				IResultIterator iter = parentQueryResult.getResultIterator( );
				long rowid = dataSetId.getRowID( );
				
				int i = 0;
				while ( iter.next( ) && i++ < rowid ) 		;
				
				IResultIterator subIter = iter.getSecondaryIterator( dataSetId
						.getQueryName( ), executionContext.getScope( ) );
				
				currentResult = new ExtractionResults( subIter, 
						selectedColumns, getValueExpressions ( rptItem.getQuery( ) ) );
				return currentResult;
			}
			catch( BirtException be )
			{
				be.printStackTrace( );
			}
		}