Bug 183308 IllegalArgumentException occurs after insert a empty group on a List report item[0001]
Description: IllegalArgumentException occurs after insert a empty group on a List report item[0001] Build number: 2.2.0.v20070419-0945 Steps to reproduce: 1, Insert a list 2, Insert a group on the list, only specify the Group On: "aa" Expected result: No exception Actual result: IllegalArgumentException occurs Error log: java.lang.IllegalArgumentException: Argument cannot be null at org.eclipse.swt.SWT.error(SWT.java:3483) at org.eclipse.swt.SWT.error(SWT.java:3422) at org.eclipse.swt.SWT.error(SWT.java:3393) at org.eclipse.swt.widgets.Widget.error(Widget.java:432) at org.eclipse.swt.widgets.Text.setText(Text.java:1793) at org.eclipse.birt.report.designer.ui.dialogs.GroupDialog$6.focusLost(GroupDialog.java:485) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:136) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/GroupDialog.java
WidgetUtil.createGridPlaceholder( pagebreakGroup, 1, true );
		pagebreakBeforeCombo.setData( pagebreakBeforeChoicesAll );
		new Label( pagebreakGroup, SWT.NONE ).setText( Messages.getString( "GroupDialog.PageBreakAfter" ) ); 
		pagebreakAfterCombo = new Combo( pagebreakGroup, SWT.READ_ONLY
				| SWT.DROP_DOWN );
		for ( int i = 0; i < pagebreakAfterChoicesAll.length; i++ )
		{
			pagebreakAfterCombo.add( pagebreakAfterChoicesAll[i].getDisplayName( ) );
		}
		pagebreakAfterCombo.setData( pagebreakAfterChoicesAll );
		pagebreakAfterCombo.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		WidgetUtil.createGridPlaceholder( pagebreakGroup, 1, true );
		new Label( pagebreakGroup, SWT.NONE ).setText( Messages.getString( "GroupDialog.PageBreakInside" ) ); 
		pagebreakInsideCombo = new Combo( pagebreakGroup, SWT.READ_ONLY
				| SWT.DROP_DOWN );
		for ( int i = 0; i < pagebreakInsideChoicesAll.length; i++ )
		{
			pagebreakInsideCombo.add( pagebreakInsideChoicesAll[i].getDisplayName( ) );
		}
		pagebreakInsideCombo.setData( pagebreakInsideChoicesAll );
		pagebreakInsideCombo.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		WidgetUtil.createGridPlaceholder( pagebreakGroup, 1, true );
		repeatHeaderButton = new Button( pagebreakGroup, SWT.CHECK );
		repeatHeaderButton.setText( Messages.getString( "GroupDialog.RepeatHeader" ) ); 
		GridData data = new GridData( );
		data.horizontalSpan = 3;
		repeatHeaderButton.setLayoutData( data );
	}
	/**
	 * Creates sorting and filter table area