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
}
		else
		{
			Object renderContext = appContext
					.get( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT );
			if ( renderContext instanceof HTMLRenderContext )
			{
				HTMLRenderContext htmlContext = (HTMLRenderContext) renderContext;
				mergeOption( renderOptions, HTMLRenderOption.BASE_IMAGE_URL,
						htmlContext.getBaseImageURL( ) );
				mergeOption( renderOptions, HTMLRenderOption.BASE_URL,
						htmlContext.getBaseURL( ) );
				mergeOption( renderOptions, HTMLRenderOption.IMAGE_DIRECTROY,
						htmlContext.getImageDirectory( ) );
				mergeOption( renderOptions,
						HTMLRenderOption.SUPPORTED_IMAGE_FORMATS, htmlContext
								.getSupportedImageFormats( ) );
			}
		}
		
		
		HashMap options = new HashMap( );
		
		HashMap configs = engine.getConfig( ).getEmitterConfigs( );
		
		
		IRenderOption defaultOptions = (IRenderOption) configs
				.get( IEngineConfig.DEFAULT_RENDER_OPTION );
		if ( defaultOptions == null )
		{