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/internal/ui/dialogs/DataItemBindingDialog.java
return;
		}
		super.okPressed( );
	}
	public void setAggregateOns( List aggregateOnList )
	{
		if ( aggregateOnList == null )
			setAggregateOns( new String[0] );
		String[] strings = new String[aggregateOnList.size( )];
		for ( int i = 0; i < aggregateOnList.size( ); i++ )
		{
			strings[i] = ( (GroupHandle) aggregateOnList.get( i ) ).getName( );
		}
		setAggregateOns( strings );
	}
	public void setAggregateOns( String[] aggregateOns )
	{
		if ( aggregateOns == null || aggregateOns.length == 0 )
		{
			if ( input != null
					&& DEUtil.getGroupControlType( input ) != DEUtil.TYPE_GROUP_NONE )
			{
				aggregateOns = new String[]{
					ALL
				};
			}
			else
				aggregateOns = new String[]{
					NONE
				};