Bug 209126 DataException throws out when set highlight condition in sub-report[0302]
Description: Set highlight condition in sub-report, when "select value..." in the highlight dialog, DataException throws out. Build version:2.3.0.v20071108-0800 Steps to reproduce: 1.Get the attached report design file, which contains a sub-report. 2.Select the inner table, and then go to "highlight" tab in the property editor view to set a highlight rule. When click "select value...", DataException throws out. Error: The expression's value can not be retrieved. An error happened in data type conversion. Can not convert the value of org.eclipse.birt.data.engine.script.DataExceptionMocker@79c17b to Integer type.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
String familyValue = getFontFamily( );
			int sizeValue = getFontSize( );
			previewLabel.setFontFamily( familyValue );
			previewLabel.setFontSize( sizeValue );
			previewLabel.setBold( bold.getSelection( ) );
			previewLabel.setItalic( italic.getSelection( ) );
			previewLabel.setForeground( ColorManager.getColor( color.getRGB( ) ) );
			previewLabel.setBackground( ColorManager.getColor( backColor.getRGB( ) ) );
			previewLabel.setUnderline( underline.getSelection( ) );
			previewLabel.setLinethrough( linethrough.getSelection( ) );
			previewLabel.setOverline( false );
			previewLabel.updateView( );;
		}
		else
		{
			StyleHandle style = (StyleHandle) styles.get( stylesChooser.getText( ) );
			String familyValue = DEUtil.RemoveQuote( style.getFontFamilyHandle( )
					.getStringValue( ) );
			int sizeValue = DEUtil.getFontSize( style.getFontSize( )
					.getDisplayValue( ) );
			previewLabel.setFontFamily( familyValue );
			previewLabel.setFontSize( sizeValue );
			previewLabel.setForeground( ColorManager.getColor( style.getColor( )
					.getRGB( ) ) );
			previewLabel.setBackground( ColorManager.getColor( style.getBackgroundColor( )
					.getRGB( ) ) );
			if ( style.getFontWeight( )
					.equals( DesignChoiceConstants.FONT_WEIGHT_BOLD ) )
			{
				previewLabel.setBold( true );