Bug 135465 [smoke]An error occurred when new a casading Parameter
Description: An error occurred when new a casading Parameter Step to reproduce: 1.new a sample db data source and data set 2.New a cascading parameter group, named "gp1", 3.select the data set, then create two cascading parameters, one is row["customernumber"], named p1; the other is row["customername"] Actual result; error message occurred repeatly
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
String type = getSelectedDataType( );
		int style;
		if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( type ) )
		{
			return;
		}
		if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( type ) )
		{
			style = FormatBuilder.STRING;
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( type ) )
		{
			style = FormatBuilder.DATETIME;
		}
		else
		{
			style = FormatBuilder.NUMBER;
		}
		FormatBuilder formatBuilder = new FormatBuilder( style );
		formatBuilder.setInputFormat( formatCategroy, formatPattern );
		
		if ( formatBuilder.open( ) == OK )
		{
			formatCategroy = getCategroy( (String) formatBuilder.getResult( ) );
			formatPattern = getPattern( (String) formatBuilder.getResult( ) );
			updateFormatField( );
		}
	}
	private void updateFormatField( )
	{