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_23",
				"ROW_AMOUNT_24",
		};
		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.Rank(row.ROW_AMOUNT,true,null,2)",
						0 ),
				new ScriptExpression( "Total.Rank(row.ROW_AMOUNT,true,null,1)",
						0 ),
				new ScriptExpression( "Total.Rank(row.ROW_AMOUNT,true,null,Total.OVERALL)",
						0 ),
				new ScriptExpression( "Total.Sum(row.ROW_AMOUNT,null,2)", 0 ),
				new ScriptExpression( "Total.isTopN(row.ROW_AMOUNT,1,null,2)",
						0 ),
				new ScriptExpression( "Total.isBottomN(row.ROW_AMOUNT,1,null,2)",
						0 ),
				new ScriptExpression( "Total.isTopNPercent(row.ROW_AMOUNT,50,null,2)",
						0 ),
				new ScriptExpression( "Total.isBottomNPercent(row.ROW_AMOUNT,50,null,2)",
						0 ),
				new ScriptExpression( "Total.Percentile(row.ROW_AMOUNT,0)", 0 ),
				new ScriptExpression( "Total.Percentile(row.ROW_AMOUNT,1)", 0 ),
				new ScriptExpression( "Total.Percentile(row.ROW_AMOUNT,0.5)", 0 ),
				new ScriptExpression( "Total.Quartile(row.ROW_AMOUNT,0)", 0 ),
				new ScriptExpression( "Total.Quartile(row.ROW_AMOUNT,1)", 0 ),
				new ScriptExpression( "Total.Quartile(row.ROW_AMOUNT,0.5)", 0 ),
				new ScriptExpression( "Total.PercentSum(row.ROW_AMOUNT,null,2)",