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
String packageName = ModelMessages.class.getName( ).substring( 0,
				ModelMessages.class.getName( ).lastIndexOf( "." ) ); 
		UResourceBundle resourceBundle = UResourceBundle.getBundleInstance(
				packageName + ".Messages", 
				locale, ModelMessages.class.getClassLoader( ) );
		if ( resourceBundle != null )
			return resourceBundle.getString( key );
		return key;
	}
	/**
	 * Validates the input date time string with the given format. The format
	 * can be pre-defined choices or the pattern string.
	 * 
	 * @param format
	 *            the format to validate
	 * @param value
	 *            the value to validate
	 * @param locale
	 *            the locale information
	 * @return the date value if validation is successful
	 * @throws ValidationValueException
	 *             if the value to validate is invalid
	 */
	static private Date doValidateDateTimeByPattern( String format,
			String value, ULocale locale ) throws ValidationValueException
	{
		assert !StringUtil.isBlank( format );
		if ( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_UNFORMATTED
				.equalsIgnoreCase( format ) )
			return doVidateDateTime( value, locale );