Bug 211379 Fail to print errors in target report to Problem View[0002]
Description: Fail to print errors in target report to Problem View Build number:2.3.0.v20071129 Steps to reproduce: 1. Open attached report and preview. 2. Input 'a' as value and click OK. 3. Click link. The link will pass parameter value row["OFFICECODE"]to self report and change group key to invalid. Expected result: Print errors in Problem View. Actual result: No errors are added in Problem View. Error log: n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
*/
	public ResultSet[] getResultSets( IReportDocument document )
			throws RemoteException
	{
		assert document != null;
		ResultSet[] resultSetArray = null;
		IDataExtractionTask dataTask = engine
				.createDataExtractionTask( document );
		try
		{
			List resultSets = dataTask.getResultSetList( );
			resultSetArray = new ResultSet[resultSets.size( )];
			if ( resultSets.size( ) > 0 )
			{
				for ( int k = 0; k < resultSets.size( ); k++ )
				{
					resultSetArray[k] = new ResultSet( );
					IResultSetItem resultSetItem = (IResultSetItem) resultSets
							.get( k );
					assert resultSetItem != null;
					resultSetArray[k].setQueryName( resultSetItem
							.getResultSetName( ) );
					IResultMetaData metaData = resultSetItem
							.getResultMetaData( );
					assert metaData != null;
					Column[] columnArray = new Column[metaData.getColumnCount( )];
					for ( int i = 0; i < metaData.getColumnCount( ); i++ )
					{
						columnArray[i] = new Column( );
						String name = metaData.getColumnName( i );