Project: Birt
Bug 263760 [Automation][Smoke]ReportServiceException is thrown out when preview chart report in PDF
Reported: 2009-02-05 05:12:03 | Status: closed fixed

Description: ReportServiceException is thrown out when preview chart report in PDF. Test Date: 20090205 Test Build: BIRT2.5.0 v20090205-1243 Step to reproduce: 1. Create a report with a chart 2. Preview it as PDF format Error log: Caused by: java.lang.ClassCastException: org.eclipse.birt.report.engine.ir.ExtendedItemDesign at org.eclipse.birt.report.engine.layout.pdf.emitter.ConcreteImageLayout.<init>(ImageLayout.java:200) at org.eclipse.birt.report.engine.layout.pdf.emitter.ImageLayout.initialize(ImageLayout.java:109) at org.eclipse.birt.report.engine.layout.pdf.emitter.PDFLayoutEmitter.startContent(PDFLayoutEmitter.java:291) at org.eclipse.birt.report.engine.layout.pdf.emitter.PDFLayoutEmitterProxy.startContent(PDFLayoutEmitterProxy.java:248) at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startImage(ContentEmitterAdapter.java:174) at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.startImage(CompositeContentEmitter.java:274) at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.startContent(ContentEmitterUtil.java:74) at org.eclipse.birt.report.engine.layout.html.buffer.HTMLPageBuffer.startContent(HTMLPageBuffer.java:116) at org.eclipse.birt.report.engine.layout.html.buffer.TableBreakBuffer.startContent(TableBreakBuffer.java:229) at org.eclipse.birt.report.engine.layout.html.HTMLLeafItemLM.start(HTMLLeafItemLM.java:49) at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:134)

Files changed in fix:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/emitter/ImageLayout.java