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
delBtn.setEnabled( false );
					}
				}
			}
			public void keyReleased( KeyEvent e )
			{
				
			}
		} );
		table.addMouseListener( new MouseAdapter( ) {
			public void mouseDoubleClick( MouseEvent e )
			{
				IStructuredSelection selection = (IStructuredSelection) tableViewer.getSelection( );
				if ( selection.getFirstElement( ) != null
						&& selection.getFirstElement( ) instanceof String )
				{
					String initValue = (String) selection.getFirstElement( );
					ExpressionBuilder expressionBuilder = new ExpressionBuilder( getShell( ),
							initValue );
					if ( designHandle != null )
					{
						if ( expressionProvider == null )
							expressionBuilder.setExpressionProvier( new ExpressionProvider( designHandle ) );
						else
							expressionBuilder.setExpressionProvier( expressionProvider );
					}
					if ( expressionBuilder.open( ) == OK )
					{
						String result = DEUtil.resolveNull( expressionBuilder.getResult( ) );
						int index = table.getSelectionIndex( );