Bug 213826 The image can not be shown when using event handler to set image [0800]
Description: The image can not be shown when using event handler to set image. Build number: 2.2.2.v20071225-0630 Steps to reproduce: 1. Copy the attached images and report design to the same folder. 2. New a java project and import the attached java file. 3. Preview the attached report design. Expected result: The image is shown. Actual result: The image is not shown when preview. Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
info
					.setApplicationClassLoader( context
							.getApplicationClassLoader( ) );
			info.setReportContext( context.getReportContext( ) );
			info.setReportQueries( queries );
			info.setResolution( getChartResolution( ) );
			info.setExtendedItemContent( content );
			info.setSupportedImageFormats( getChartFormats( ) );
			info.setActionHandler( context.getActionHandler( ) );
			info.setOutputFormat( getOutputFormat( ) );
			itemPresentation.init( info );
			Object rawValue = content.getRawValue( );
			if ( rawValue instanceof byte[] )
			{
				byte[] values = (byte[]) rawValue;
				itemPresentation
						.deserialize( new ByteArrayInputStream( values ) );
			}
			if ( queries == null )
			{
				DesignElementHandle elementHandle = design.getHandle( );
				if ( elementHandle instanceof ReportElementHandle )
				{
					queries = (IBaseQueryDefinition[]) context.getRunnable( )
							.getReportIR( ).getQueryByReportHandle(
									(ReportElementHandle) elementHandle );
				}
			}
			IBaseResultSet[] rsets = context.getResultSets();
			IBaseResultSet[] resultSets = null;