Bug 163310 testRenderReportlet_complex_list() & testRenderReportlet_complex_table() in tests.engine fail
Details: testRenderReportlet_complex_list() & testRenderReportlet_complex_table() in tests.engine fail You can find the test case in org.eclipse.birt.report.tests.engine.api.RenderTaskTest.java "Failed to find instance id of LIST" & "Failed to find instance id of TABLE"
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/executor/doc/AbstractReportReader.java
}
	protected IResultSet openQuery( IResultSet rset, IContent content )
	{
		Object generateBy = content.getGenerateBy( );
		
		if ( generateBy instanceof ReportItemDesign )
		{
			ReportItemDesign design = (ReportItemDesign) generateBy;
			IBaseQueryDefinition query = design.getQuery( );
			if ( query != null )
			{
				InstanceID iid = content.getInstanceID( );
				if ( iid != null )
				{
					
					
					
					
					
					DataID dataId = iid.getDataID( );
					if ( dataId != null )
					{
						DataSetID dataSetId = dataId.getDataSetID( );
						if ( dataSetId != null )
						{
							DataSetID parentSetId = dataSetId.getParentID( );
							long parentRowId = dataSetId.getRowID( );
							if ( parentSetId != null && parentRowId != -1 )
							{