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
&& temporaryComputedColumns.size( ) > 0 )
		{
			( (org.eclipse.birt.data.engine.executor.dscache.DataSourceQuery) odiQuery ).setTempComputedColumn( this.temporaryComputedColumns );
		}
	}
	
	/**
	 * 
	 * @param cx
	 * @throws DataException
	 */
	private void populateGrouping( Context cx ) throws DataException
	{
		List groups = this.baseQueryDefn.getGroups( );
		if ( groups != null && !groups.isEmpty( ) )
		{
			IQuery.GroupSpec[] groupSpecs = new IQuery.GroupSpec[groups.size( )];
			Iterator it = groups.iterator( );
			for ( int i = 0; it.hasNext( ); i++ )
			{
				IGroupDefinition src = (IGroupDefinition) it.next( );
				if ( ( src.getKeyColumn( ) == null || src.getKeyColumn( )
						.trim( )
						.length( ) == 0 )
						&& ( src.getKeyExpression( ) == null || src.getKeyExpression( )
								.trim( )
								.length( ) == 0 ) )
					throw new DataException( ResourceConstants.BAD_GROUP_EXPRESSION );
					
				String expr = getGroupKeyExpression( src );