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
item.getForeground( 1 ).equals( Display.getDefault( )
						.getSystemColor( SWT.COLOR_BLUE ) );
				item.setForeground( 1, Display.getDefault( )
						.getSystemColor( SWT.COLOR_LIST_FOREGROUND ) );
			}
		}
	}
	protected boolean initDialog( )
	{
		if ( canSelect )
		{
			if ( inputElement instanceof DataItemHandle )
			{
				selectedColumnName = ( (DataItemHandle) inputElement ).getResultSetColumn( );
				updateSelection( );
			}
		}
		/*
		 * generateButton.setEnabled( inputElement.getDataSet( ) != null ||
		 * DEUtil.getBindingHolder( inputElement ).getDataSet( ) != null );
		 */
		updateButtons( );
		return super.initDialog( );
	}
	protected void okPressed( )
	{
		if ( canSelect )
		{
			setResult( selectedColumnName );
			if ( inputElement instanceof DataItemHandle )