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/src/org/eclipse/birt/data/engine/executor/ResultClass.java
{
		if( fieldNames == null )
		{
			int size = m_fieldCount;
			fieldNames = new String[ size ];
			for( int i = 0; i < size; i++ )
			{
				fieldNames[i] = projectedCols[i].getName();
			}
		}
		
		return fieldNames;
	}
	public int[] getFieldDriverPositions()
	{
		if( fieldDriverPositions == null )
		{
			int size = m_fieldCount;
			fieldDriverPositions = new int[ size ];
			for( int i = 0; i < size; i++ )
			{
				ResultFieldMetadata column = projectedCols[i];
				fieldDriverPositions[i] = column.getDriverPosition();
			}
		}
		
		return fieldDriverPositions;
	}
	
	public String getFieldName( int index ) throws DataException