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
return topComposite;
	}
	private void createBookmarkArea( Composite parent )
	{
		Composite bookmakrComposite = new Composite( parent, SWT.NONE );
		bookmakrComposite.setLayout( new GridLayout( ) );
		GridData gd = new GridData( GridData.FILL_HORIZONTAL );
		GridLayout layout = new GridLayout( );
		layout.numColumns = 2;
		bookmakrComposite.setLayoutData( gd );
		bookmakrComposite.setLayout( layout );
		new Label( bookmakrComposite, SWT.NONE ).setText( Messages.getString( "GroupDialog.Label.Bookmark" ) );
		bookmarkEditor = new Text( bookmakrComposite, SWT.SINGLE | SWT.BORDER );
		gd = new GridData( );
		gd.widthHint = 200;
		bookmarkEditor.setLayoutData( gd );
	}
	private void createTOCArea( Composite parent )
	{
		Group group = new Group( parent, SWT.NONE );
		group.setText( Messages.getString( "GroupDialog.Dialog.TOCGroup" ) );
		GridLayout layout = new GridLayout( );
		layout.numColumns = 2;
		group.setLayout( layout );
		group.setLayoutData( new GridData( GridData.FILL_BOTH ) );
		
		new Label( group, SWT.NONE ).setText( Messages.getString( "GroupDialog.Dialog.TOC" ) ); 
		
		Composite tocArea = new Composite( group, SWT.NONE );
		tocArea.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );