Bug 207258 Error exception message in type validation of multi-value parameters
If there is any exception in type validation of multi-value parameter, we will always get following error message: The type of parameter "NewParameter" is expected as "Object[]", not "Array".. This message is incorrect. Please replace the "Array" with the correct value type.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/EngineTask.java
}
	}
	/**
	 * validate whether the parameter value is a valid value for the parameter
	 * 
	 * @param p
	 *            the parameter to be verified
	 * @param paramValue
	 *            the value for the parameter
	 * @return true if the given parameter value is valid; false otherwise
	 */
	private boolean validateScalarParameter( ScalarParameterHandle paramHandle )
			throws ParameterValidationException
	{
		String paramName = paramHandle.getName( );
		Object paramValue = runValues.get( paramName );
		String type = paramHandle.getDataType( );
		
		if ( paramValue == null )
		{
			if ( !paramHandle.isRequired( ) )
				return true;
			throw new ParameterValidationException(
					MessageConstants.NULL_PARAMETER_EXCEPTION,
					new String[]{paramName} );
		}
		String source = paramHandle.getValidate();
		if (source != null && source.length() != 0) {
			Object result = executionContext.evaluate(source);
			if (!(result instanceof Boolean)