Bug 153507 Bogus error when bad data set column referenced in group key
Run attached report design. Its group key binding column, "groupkey", is defined to refer to a non-existing data set column: dataSetRow["bad"]. However the actual error seen when previewing the report in BIRT designer: Table (id = 6): + A BIRT exception occurred: Error evaluating Javascript expression. Script engine error: TypeError: valueOf is not a function. Script source: null, line: 0, text: <compiled script>. See next exception for more information. Error evaluating Javascript expression. Script engine error: TypeError: valueOf is not a function. Script source: null, line: 0, text: <compiled script> This error is completely irrelevant to the actual cause of the problem.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryExecutor.java
+ queryFilters.size( ) + multipassFilters.size( ) > 0 )
		{
			IResultObjectEvent objectEvent = new FilterByRow( dataSetFilters,
					queryFilters,
					multipassFilters,
					dataSet );
			odiQuery.addOnFetchEvent( objectEvent );
		}
	}
	
	/**
	 * get the data type of a expression
	 * @param cx
	 * @param expr
	 * @return
	 */
	private int getColumnDataType( Context cx, String expr )
	{
		String columnName = QueryExecutorUtil.getColInfoFromJSExpr( cx, expr )
				.getColumnName( );
		if ( columnName == null )
		{
			return DataType.UNKNOWN_TYPE;
		}
		if ( columnName.equals( "__rownum" ) )
		{
			return DataType.INTEGER_TYPE;
		}
		Object baseExpr = ( this.baseQueryDefn.getResultSetExpressions( ).get( columnName ) );
		if ( baseExpr == null )