try
{
if (initial != null)
{
final ExpressionRuntime expressionRuntime = getRuntime();
final Formula initFormula = new Formula(initialExpression);
final ReportFormulaContext context = new ReportFormulaContext
(getFormulaContext(), expressionRuntime);
try
{
initFormula.initialize(context);
final Object evaluate = initFormula.evaluate();
if (Boolean.TRUE.equals(failOnError))
{
if (evaluate instanceof ErrorValue)
{
throw new InvalidReportStateException(String.format