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 ( columnNameSet.contains( column.getAlias( ) ) )
			{
				throw new DataException( ResourceConstants.DUPLICATE_COLUMN_NAME,
						column.getAlias( ) );
			}
			columnNameSet.add( column.getName());
			if( column.getAlias()!= null )
				columnNameSet.add(column.getAlias());
		}
			
	}
	
	/**
	 * @param projectedColumns
	 */
	private void initColumnsInfo( List projectedColumns )
	{
		m_fieldCount = projectedColumns.size( );
		projectedCols = new ResultFieldMetadata[m_fieldCount];
		nameToIdMapping = new HashMap( );
		this.originalAnyTypeField = new ArrayList();
		for ( int i = 0, n = projectedColumns.size( ); i < n; i++ )
		{
			projectedCols[i] = (ResultFieldMetadata) projectedColumns.get( i );
			ResultFieldMetadata column = projectedCols[i];
			if( isOfAnyType( column ))
			{
				this.hasAny = true;
				this.originalAnyTypeField.add( new Integer( i + 1 ) );