Bug 168318 [regression]Print doesn't work correctly when preview attached file through external browser[00]
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
}
	/**
	 * Evaluate a BIRT expression
	 * 
	 * @param expr
	 *            the expression to be evaluated
	 * @param name
	 *            the file name
	 * @param lineNo
	 *            the line number
	 * 
	 * @return the result if no error exists, otherwise null.
	 */
	public Object evaluate( String expr, String name, int lineNo )
	{
		if ( expr != null )
		{
			try
			{
				return scriptContext.eval( expr, name, lineNo );
			}
			catch ( Throwable e )
			{
				
				
				log.log( Level.SEVERE, e.getMessage( ), e );
				addException( new EngineException(
						MessageConstants.SCRIPT_EVALUATION_ERROR, expr, e ) ); 
			}
		}