Bug 200777 [Firefox]Fail to show svg bar chart using chart deploy package.[0601][13]
Description: Fail to show svg bar chart using chart deploy package. Build number:2.2.1.v200708220927 Steps to reproduce: 1. Deploy chart-viewer-sample.war to Tomcat5.5.23. 2. Preview index.jsp Expected result: Display three charts. Actual result: Fail to display svg bar chart. see attached. Error log:n/a
chart/org.eclipse.birt.chart.viewer/src/org/eclipse/birt/chart/viewer/internal/util/ChartImageManager.java
final Bounds originalBounds = cm.getBlock( ).getBounds( );
			
			
			final Bounds bo = (Bounds) EcoreUtil.copy( originalBounds );
			GeneratedChartState gcs = gr.build( idr.getDisplayServer( ),
					cm,
					bo,
					externalContext,
					rtc,
					styleProc );
			
			ByteArrayOutputStream baos = new ByteArrayOutputStream( );
			BufferedOutputStream bos = new BufferedOutputStream( baos );
			idr.setProperty( IDeviceRenderer.FILE_IDENTIFIER, bos );
			idr.setProperty( IDeviceRenderer.UPDATE_NOTIFIER,
					new EmptyUpdateNotifier( cm, gcs.getChartModel( ) ) );
			gr.render( idr, gcs );
			
			
			
			try
			{
				fis = new ByteArrayInputStream( baos.toByteArray( ) );
				bos.close( );
			}
			catch ( Exception ioex )
			{
				throw new ChartException( ChartEnginePlugin.ID,
						ChartException.GENERATION,