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/util/ExprDataReader2.java
/*
	 * @see org.eclipse.birt.data.engine.impl.document.IExprResultReader#getRowId()
	 */
	public int getRowId( )
	{
		int destIndex = ( (Integer) rowIDMap.get( new Integer( currRowIndex ) ) ).intValue( );
		return destIndex;
	}
	
	/*
	 * @see org.eclipse.birt.data.engine.impl.document.IExprResultReader#getRowIndex()
	 */
	public int getRowIndex( )
	{
		if ( this.currRowIndex >= this.rowCount )
			return this.rowCount;
		return currRowIndex;
	}
	
	/*
	 * @see org.eclipse.birt.data.engine.impl.document.IExprResultReader#next()
	 */
	public boolean next( )
	{
		this.currRowIndex++;
		
		boolean hasNext = this.currRowIndex < this.rowCount;
		if ( hasNext )
		{
			this.nextDestIndex = getNextDestIndex( currRowIndex );