Bug 179661 NPE throws out when preview the attached report [1102]
Description: NPE throws out when preview the attached report [1102] Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1, Using attached report design file 2, Preview Expected result: Previewed successfully Actual result: NPE throws out when preview Error log:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
if ( DesignChoiceConstants.DATE_TIME_LEVEL_TYPE_YEAR.equals( dateName ))
			{
				exprString = "BirtDateTime.year(" + exprString + ")";
			}
		}*/
		return exprString;
	}
	/**
	 * 
	 * @param type
	 * @return
	 */
	private boolean isTimeType( int type )
	{
		if ( type == DataType.DATE_TYPE 
			 || type == DataType.SQL_DATE_TYPE	)
		{
			return true;
		}	
		return false;
	}
	/*
	 * (non-Javadoc)
	 * @see org.eclipse.birt.data.engine.olap.api.cube.IDatasetIterator#close()
	 */
	public void close( ) throws BirtException
	{
		it.close( );
	}
	/*