Bug 193092 If measure filter's member value type is boolean, exception throws out when preview[1102]
Description: If measure filter's member value type is boolean, exception throws out when preview[1102] Build number: 2.2.0.v20070618-1344 Steps to reproduce: 1, Open the attached report design 2, The measure's filter has a boolean type member value 3, Preview Expected result: The filter works well Actual result: Exception occurs when preview Error log: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is: java.lang.IllegalArgumentException org.eclipse.birt.data.engine.olap.data.util.CompareUtil.compare(CompareUtil.java:58) org.eclipse.birt.data.engine.olap.util.filter.DimensionFilterEvalHelper.evaluateFilter(DimensionFilterEvalHelper.java:71) org.eclipse.birt.data.engine.olap.data.api.CubeQueryExecutorHelper.applyAggrFilter(CubeQueryExecutorHelper.java:769) org.eclipse.birt.data.engine.olap.data.api.CubeQueryExecutorHelper.generateLevelFilters(CubeQueryExecutorHelper.java:595) org.eclipse.birt.data.engine.olap.data.api.CubeQueryExecutorHelper.applyAggrFilters(CubeQueryExecutorHelper.java:477) org.eclipse.birt.data.engine.olap.data.api.CubeQueryExecutorHelper.execute(CubeQueryExecutorHelper.java:299)
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/ScriptEvalUtil.java
* Evaluates a ROM script and converts the result type into one accepted by
	 * BIRT: Double (for all numeric types), java.util.Date, String, Boolean.
	 * Converts Javascript exception and script runtime exceptions to
	 * DataException
	 * 
	 * @param cx
	 * @param scope
	 * @param scriptText
	 * @param source
	 * @param lineNo
	 * @return
	 * @throws DataException
	 */
	public static Object evaluateJSAsExpr(Context cx, Scriptable scope,
			String scriptText, String source, int lineNo)
			throws DataException 
	{
		if ( logger.isLoggable( Level.FINER ) )
			logger.entering( ScriptEvalUtil.class.getName( ),
				"evaluateJSExpr",
				"evaluateJSExpr() scriptText=" + scriptText 
				+ ", source=" + source 
				+ ", lineNo=" + lineNo);
		
		Object result;
		try
		{
			result = JavascriptEvalUtil.evaluateScript( cx, scope, scriptText, source, lineNo );
		}
		catch (BirtException e)