Bug 179676 [regression]Error when report has chart in master page[05]
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
itemPresentation.setOutputFormat( outputFormat );
			Object rawValue = content.getRawValue( );
			if ( rawValue instanceof byte[] )
			{
				byte[] values = (byte[]) rawValue;
				itemPresentation
						.deserialize( new ByteArrayInputStream( values ) );
			}
			IRowSet[] rowSets = null;
			IBaseResultSet[] rsets = context.getResultSets();			
			if ( queries != null )
			{
				if ( rsets != null )
				{
					rowSets = new IRowSet[rsets.length];
					for ( int i = 0; i < rowSets.length; i++ )
					{
						rowSets[i] = new RowSet( context,
								(IQueryResultSet) rsets[i] );
					}
				}
			}
			else
			{
				if ( rsets != null )
				{
					rowSets = new IRowSet[1];
					rowSets[0] = new SingleRowSet( context,
							(IQueryResultSet) rsets[0] );
				}