Bug 191891 xtab nest in another xtab doesn't display data.[1102]
Description: xtab nest in another xtab doesn't display data. Build number:2.2.0.v200706111025 Steps to reproduce: 1. Insert a xtab. 2. Insert another xtab to first xtab's row area. 3. Preview in web viewer and html (attach report). Expected result: Display data for two xtabs. Actual result: Html display data correctly. Web Viewer can only display data for parent xtab. Error log:N/A
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/AggregationResultSetSaveUtil.java
{
		if ( objects == null )
		{
			IOUtil.writeInt( outputStream, -1 );
			return;
		}
		IOUtil.writeInt( outputStream, objects.length );
		for ( int i = 0; i < objects.length; i++ )
		{
			IOUtil.writeObject( outputStream, objects[i] );
		}
	}
	
	/**
	 * 
	 * @param inputStream
	 * @return
	 * @throws IOException
	 */
	private static Object[] readObjectArray( DataInputStream inputStream ) throws IOException
	{
		int size = IOUtil.readInt( inputStream );
		if( size == -1 )
			return null;
		Object[] result = new Object[size];
		for ( int i = 0; i < result.length; i++ )
		{
			result[i] = IOUtil.readObject( inputStream );
		}
		return result;