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
int restRowCount ) throws DataException, BirtException
	{
		assertTrue( it.findGroup( keyValues ) );
		int i = 1;
		while ( it.next( ) )
		{
			i++;
		}
		assertEquals( i, restRowCount );
	}
	/**
	 * Test feature without any group, sort, filter
	 */
	public void testRowIndex( ) throws Exception
	{
		String[] bindingNameRow = new String[1];
		bindingNameRow[0] = "ROW_COUNTRY";
		IBaseExpression[] bindingExprRow = new IBaseExpression[1];
		bindingExprRow[0] = new ScriptExpression( "dataSetRow._rowPosition" );
		createAndRunQuery( null,
				null,
				null,
				null,
				null,
				null,
				null,
				null,
				null,
				bindingNameRow,
				bindingExprRow );