Bug 207897 [Automation][Regression]A DataException is thrown out when preview reportdesign
Description: A DataException is thrown out when preview reportdesign Test Date: 20071030 Test Build: BIRT2.2.2 v20071029 Step to reproduce: 1. Use the reportdesign attached 2. Preview it Expect result: Report can be previewed without any exception. Actual result: A DataException is thrown out.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
if ( fmt == null )
		{
			fmt = new NumberFormatter( value, ULocale.forLocale(locale) );
			numberFormatters.put( value, fmt );
		}
		return fmt;
	}
	/**
	 * get a date formatter object
	 * 
	 * @param value
	 *            date format
	 * @return formatter object
	 */
	public DateFormatter getDateFormatter( String value )
	{	
		DateFormatter fmt = null;
		if ( value != null )
		{
			fmt = (DateFormatter) dateFormatters.get( value );
			if ( fmt == null )
			{
				fmt = new DateFormatter( value, ULocale.forLocale( locale ),
						timeZone );
				dateFormatters.put( value, fmt );
			}
			return fmt;
		}
		return new DateFormatter( value, ULocale.forLocale( locale ), timeZone );
	}