Bug 144611 [regression]viewer failed to handle larger amount of data
steps to reproduce: - use attached reports customer1p-25kr.rptdocument (1 page, 25000 data rows) customer5x500p-10r.rptdocument ( 2500 pages, 10 data rows/page) - deploy these reports with birt report viewer (20060531) - retrieve rendered reports using frameset url keyword expected behavior: - attached reports can be retrieved actual behavior: - exceptions thrown out, refer to attached screen capture for detail - note that these didn't happen with RC3 build
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/expression/ExprEvaluateUtil.java
private static Object doEvaluateRawExpression( IBaseExpression dataExpr,
			Scriptable scope, boolean javaType ) throws BirtException
	{
		if ( dataExpr == null )
			return null;
		
		try
		{
			Context cx = Context.enter( );
			if ( dataExpr instanceof IScriptExpression )
			{
				Object value = JavascriptEvalUtil.evaluateRawScript( cx,
						scope,
						( (IScriptExpression) dataExpr ).getText( ),
						"source",
						0 );
				
				if ( javaType == true )
					value = JavascriptEvalUtil.convertJavascriptValue( value );
				
				value = DataTypeUtil.convert( value, dataExpr.getDataType( ) );
				
				return value;
			}
			else if ( dataExpr instanceof IConditionalExpression )
			{
				if( dataExpr.getHandle( )!= null )
					return new Boolean(((NEvaluator)dataExpr.getHandle( )).evaluate( cx, scope ));
				
				IScriptExpression opr = ( (IConditionalExpression) dataExpr ).getExpression( );