Bug 180608 [Regression]NPE throws out when preview the result in dataset[07]
Description: [Regression]NPE throws out when preview the result in dataset[07] Build number: 2.2.0.v20070403-0630 Steps to reproduce: 1, Use attached report 2, Edit Data Set 3, Preview the Data Set Expected result: The preview should be success Actual result: NPE throws out Error log:
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/FeaturesTest.java
bindingExprRow[3] = new ScriptExpression( "dataSetRow.AMOUNT" );
		bindingExprRow[4] = new ScriptExpression( "Total.sum(row.ROW_AMOUNT,row.ROW_COUNTRY == \"US\",0)",
				0 );
		bindingExprRow[5] = new ScriptExpression( "Total.sum(row.ROW_AMOUNT,row.ROW_COUNTRY == \"CHINA\",0)",
				0 );
		this.createAndRunQuery( bindingNameGroup,
				bindingExprGroup,
				groupDefn,
				null,
				null,
				null,
				null,
				null,
				null,
				bindingNameRow,
				bindingExprRow );
		checkOutputFile( );
	}
	/**
	 * Test aggregation with similar features.
	 */
	public void test12( ) throws Exception
	{
		String[] bindingNameGroup = new String[2];
		bindingNameGroup[0] = "GROUP_COUNTRY";
		bindingNameGroup[1] = "GROUP_CITY";
		IBaseExpression[] bindingExprGroup = new IBaseExpression[2];
		bindingExprGroup[0] = new ScriptExpression( "dataSetRow.COUNTRY" );
		bindingExprGroup[1] = new ScriptExpression( "dataSetRow.CITY" );
		GroupDefinition[] groupDefn = new GroupDefinition[]{