Bug 161501 [Smoke] Chart can not be previewed in Web Viewer & HTML
Chart can not be previewed in Web Viewer & HTML Steps to reproduce: 1. Create a chart. 2. Preveiw in Web Viewer/ HTML. Expected result: Chart can be previewed. Actual result: No chart is shown.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
{
			AxisFault fault = new AxisFault( e.getLocalizedMessage( ) );
			fault
					.setFaultCode( new QName(
							"ReportEngineService.renderImage( )" ) ); 
			fault.setFaultString( e.getLocalizedMessage( ) );
			throw fault;
		}
	}
	/**
	 * Create HTML render context.
	 * 
	 * @param svgFlag
	 * @param servletPath
	 * @return HTML render context from the given arguments
	 */
	private HTMLRenderContext createHTMLrenderContext( boolean svgFlag,
			String servletPath )
	{
		HTMLRenderContext renderContext = new HTMLRenderContext( );
		renderContext.setImageDirectory( imageDirectory );
		renderContext.setBaseImageURL( contextPath + imageBaseUrl );
		if ( servletPath != null && servletPath.length( ) > 0 )
		{
			renderContext.setBaseURL( this.contextPath + servletPath );
		}
		else
		{
			renderContext.setBaseURL( this.contextPath
					+ IBirtConstants.SERVLET_PATH_RUN );