Bug 153506 Strange error message when group key refers to bad binding column name
Run attached report design. The following error is shown: Group key "groupkey" in group 1 cannot depend on column bindings defined in the group lower than itself. This is a strange error. Since the actual problem is that the table's binding column "groupkey" is defined to refer to another existing binding: row["bad"]. EXPECTED BEHAVIOR: The error message should clearly indicate that a non-existing binding is the cause of the failure.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ExprManagerUtil.java
/*******************************************************************************
 * Copyright (c) 2004, 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.data.engine.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.eclipse.birt.data.engine.api.IBaseExpression;
import org.eclipse.birt.data.engine.api.IConditionalExpression;
import org.eclipse.birt.data.engine.api.IScriptExpression;
import org.eclipse.birt.data.engine.core.DataException;
import org.eclipse.birt.data.engine.expression.ExpressionCompilerUtil;
import org.eclipse.birt.data.engine.i18n.ResourceConstants;
/**
 * This is a utility class which is used to validate the colum bindings defined 
 * in ExprManager instance.
 */
class ExprManagerUtil