Bug 156166 Error occour when previewing attached report in web viewer.
Decription:Error occour when previewing attached report in web viewer. Steps to reproduce: 1.run attached reports in web viewer. Expeceted results: preview properly Actual results: Error occour when previewing the reports in web viewer while it works properly in html and PDF
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RowSaveUtil.java
{
	private int lastRowIndex;
	private int currentOffset;
	private int rowCount;
	
	
	private DataOutputStream rowExprsDos;
	private DataOutputStream rowLenDos;
	private boolean inited;
	private Set exprNameSet;
	
	/**
	 * @param rowCount
	 * @param rowExprsOs
	 * @param rowLenOs
	 */
	RowSaveUtil( int rowCount, OutputStream rowExprsOs,
			OutputStream rowLenOs, Set exprNameSet )
	{
		this.rowCount = rowCount;
		this.exprNameSet = new HashSet( );
		this.rowExprsDos = new DataOutputStream( rowExprsOs );
		this.rowLenDos = new DataOutputStream( rowLenOs );
		this.lastRowIndex = -1;