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
"ROW_AMOUNT_3",
		};
		IBaseExpression[] bindingExprRow = new IBaseExpression[]{
				new ScriptExpression( "dataSetRow.COUNTRY", 0 ),
				new ScriptExpression( "dataSetRow.CITY", 0 ),
				new ScriptExpression( "dataSetRow.SALE_DATE", 0 ),
				new ScriptExpression( "dataSetRow.AMOUNT", 0 ),
				new ScriptExpression( "Total.sum(dataSetRow.AMOUNT,dataSetRow.COUNTRY == \"US\",0)",
						0 ),
				new ScriptExpression( "Total.sum(dataSetRow.AMOUNT,dataSetRow.COUNTRY == \"CHINA\",0)",
						0 )
		};
		FilterDefinition[] filterDefn = new FilterDefinition[]{
			new FilterDefinition( new ConditionalExpression( "row.ROW_COUNTRY",
					ConditionalExpression.OP_EQ,
					"\"CHINA\"" ) )
		};
		QueryDefinition queryDefn = this.createQuery( bindingNameGroup,
				bindingExprGroup,
				groupDefn,
				null,
				null,
				null,
				null,
				null,
				filterDefn,
				bindingNameRow,
				bindingExprRow );
		queryDefn.setMaxRows( 2 );
		executeQuery( queryDefn, bindingNameRow );