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
for ( int i = 0; i < OPERATOR.length; i++ )
		{
			operator.add( OPERATOR[i][0] );
		}
		operator.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				update2ValueStatus( );
			}
		} );
		
		refreshList( );
		
		create2ValueComposite( condition );
		createApplyStyleArea( innerParent );
		applyLocalFormat = new Label( innerParent, SWT.NONE );
		applyLocalFormat.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Format" ) ); 
		applyLocalFormat.setEnabled( false );
		Composite format = new Composite( innerParent, SWT.NONE );
		format.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		glayout = new GridLayout( 7, false );
		format.setLayout( glayout );
		lb = new Label( format, 0 );
		lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Font" ) ); 
		lb = new Label( format, 0 );
		lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Size" ) ); 
		lb = new Label( format, 0 );
		lb.setText( Messages.getString( "HighlightRuleBuilderDialog.text.Color" ) ); 
		createDummy( format, 4 );
		font = new Combo( format, SWT.READ_ONLY );