Bug 210490 [Automation][Smoke]All the report chart related are failed of a ChartException in webviewer
Description: All the report chart related are failed of a ChartException in webviewer Test Date: 20071121 Test Build: BIRT2.3.0 Daily Build: v20071121-0800 Step to reproduce: 1. Use the report attached 2. Preview it in web viewer Expect result: Every chart should be displayed correctly without any exception. Actual result: An exception is thrown out. Error log: Please see the attachment.
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemPresentationBase.java
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.report.engine.api.EngineConstants;
import org.eclipse.birt.report.engine.extension.IBaseResultSet;
import org.eclipse.birt.report.engine.extension.IQueryResultSet;
import org.eclipse.birt.report.engine.extension.ReportItemPresentationBase;
import org.eclipse.birt.report.model.api.ExtendedItemHandle;
import org.eclipse.birt.report.model.api.extension.ExtendedElementException;
import org.eclipse.birt.report.model.api.extension.IReportItem;
import org.eclipse.emf.ecore.util.EcoreUtil;
/**
 * Base presentation implementation for Chart. This class can be extended for
 * various implementation.
 */
public class ChartReportItemPresentationBase extends ReportItemPresentationBase
{
	protected InputStream fis = null;
	protected String imageMap = null;
	protected String sExtension = null;
	private String sSupportedFormats = null;
	private String outputFormat = null;
	private int outputType = -1;
	protected Chart cm = null;
	protected IDeviceRenderer idr = null;
	protected ExtendedItemHandle handle;
	protected RunTimeContext rtc = null;
	private static List registeredDevices = null;
	protected static ILogger logger = Logger.getLogger( "org.eclipse.birt.chart.reportitem/trace" ); 
	static
	{
		registeredDevices = new ArrayList( );