Bug 147819 Dynamic parameter, if value column datas include null datas, preview, system throws exception
Dynamic parameter, if value column datas include null datas, preview, system throws exception Step: data source: sample DB data set: select * from CLASSICMODELS.CUSTOMERS 1.Create a dynamic parameter 2.Display type select List Box, value columm select "State"; display text select "CUSTOMERNAME"; 3.Preview in html Actual Results: 1.System throws Http status 500 exception
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/util/ParameterValidationUtil.java
if ( StringUtil.isBlank( value ) )
			return null;
		try
		{
			DateFormatter formatter = new DateFormatter( locale );
			formatter.applyPattern( format );
			return formatter.parse( value );
		}
		catch ( ParseException e )
		{
			throw new ValidationValueException( value,
					PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE,
					DesignChoiceConstants.PARAM_TYPE_DATETIME );
		}
	}
	/**
	 * Validates the input date time string with the given format.
	 * 
	 * @param dataType
	 *            the data type of the value
	 * @param format
	 *            the format pattern
	 * @param value
	 *            the value to validate
	 * @param locale
	 *            the locale information
	 * @return the double value if the validation is successful
	 * @throws ValidationValueException
	 *             if the value to validate is invalid
	 */