Bug 208168 Meaningless exception occurs when sorting condition refer to a unused binding[07]
Description: Meaningless exception occurs when sorting condition refer to a unused binding[07] Build number: 2.3.0.v2007-0800 Steps to reproduce: 1, New a table binding with a dataset 2, Define a Sort for the table 3, Delete the binding of table which is using by sorting condition 4, Preview Expected result: The exception should be meaningful. Actual result: Exception is meaningless for user to clear the mistake point Error log: An error happen during population of data. This might be caused by including data of mixed type in a column of "ANY" type
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ComputedColumnHelper.java
Object value = null;
					try
					{
						if ( computedColumn[i].getExpression( ).getHandle( ) != null )
							value = ( (CompiledExpression) computedColumn[i].getExpression( )
									.getHandle( ) ).evaluate( cx,
									dataSet.getScriptScope( ) );
						else
						{
							String exprText = ( (IScriptExpression) computedColumn[i].getExpression( ) ).getText( );
							if ( exprText != null )
								value = ScriptEvalUtil.evaluateJSAsExpr( cx,
										dataSet.getJSDataSetObject( ),
										exprText,
										"ComputedColumn",
										0 );
						}
						if ( computedColumn[i] instanceof GroupComputedColumn )
						{
							try
							{
								value = ( (GroupComputedColumn) computedColumn[i] ).calculate( value );
							}
							catch ( BirtException e )
							{
								throw DataException.wrap( e );
							}
						}
						value = DataTypeUtil.convert( value,
								resultClass.getFieldValueClass( columnIndexArray[i] ) );