Bug 155365 Can not set data type to "date time" when editing "Data Item"
Description: Can not set data type to "date time" when editing "Data Item" Steps to reproduce: 1. Insert a data item to the layout 2. Name it and set the expression to "a = new Date()" 3. Select the data type to date time 4. Press ok Actual result: An Birt Exception is thrown out. Expected result: No NPE thrown out
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ColumnBindingDialog.java
}
			else if ( COLUMN_DATATYPE.equals( property ) )
			{
				IChoice type = DATA_TYPE_CHOICE_SET.findChoice( handle.getDataType( ) );
				if ( type != null )
				{
					for ( int i = 0; i < dataTypeDisplayNames.length; i++ )
					{
						if ( dataTypeDisplayNames[i].equals( type.getDisplayName( ) ) )
						{
							return new Integer( i );
						}
					}
				}
				return new Integer( 0 );
			}
			else if ( COLUMN_EXPRESSION.equals( property ) )
			{
				value = handle.getExpression( );
			}
			else if ( COLUMN_AGGREGATEON.equals( property ) )
			{
				value = handle.getAggregrateOn( );;
				if ( value != null )
				{
					for ( int i = 1; i < groups.length; i++ )
					{
						if ( value.equals( groups[i] ) )
						{
							return new Integer( i );