Bug 208419 NullPointerException at CubeResultSet close
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/DataPresentationEngine.java
}
		}
		else
		{
			
			String pRsetId;
			if ( parentResult instanceof QueryResultSet )
			{
				pRsetId = ( (QueryResultSet) parentResult )
						.getQueryResultsID( );
			}
			else
			{
				pRsetId = ( (CubeResultSet) parentResult )
						.getQueryResultsID( );
			}
			String rowid;
			try
			{
				rowid = parentResult.getRawID( );
				resultSetID = getResultID( pRsetId, rowid, queryID );
			}
			catch ( BirtException e )
			{
				context.addException( e );
			}
		}
		return resultSetID;
	}
}