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
|| !((Boolean) result).booleanValue()) {
				throw new ParameterValidationException(
						MessageConstants.PARAMETER_SCRIPT_VALIDATION_EXCEPTION,
						new String[] { paramName, source });
			}
		}
		
		String paramType = paramHandle.getParamType( );
		if ( DesignChoiceConstants.SCALAR_PARAM_TYPE_MULTI_VALUE
				.equals( paramType ) )
		{
			if ( paramValue instanceof Object[] )
			{
				boolean isValid = true;
				Object[] paramValueList = (Object[]) paramValue;
				for ( int i = 0; i < paramValueList.length; i++ )
				{
					if ( paramValueList[i] != null )
					{
						if ( !validateParameterValueType( paramName,
								paramValueList[i], type, paramHandle ) )
						{
							isValid = false;
						}
					}
				}
				return isValid;
			}
			throw new ParameterValidationException(
					MessageConstants.INVALID_PARAMETER_TYPE_EXCEPTION,