Project: Birt
Bug 236742 Preview <blockquote> tag in PDF and PPT fails with NullPointerException
Reported: 2008-06-11 17:02:25 | Status: resolved fixed

Previewing an .rtpdesign file that contains text or dynamic text widgets that use <blockquote> tags in PDF or powerpoint formats will fail with a NullPointerException if there are further HTML tags within the <blockquote>. Steps to reproduce: 1. Open the attached blockquote_failure.rptdesign file in the Report Design perspective. 2. Click Run > View Report > As PDF, or Run > View Report > As PPT 3. An Error dialog appears with the message: "+ org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.; nested exception is: java.lang.NullPointerException"

Files changed in fix:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/css/dom/AreaStyle.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/area/impl/TextArea.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/emitter/LineLayout.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/emitter/PDFLayoutEmitter.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/emitter/PageLayout.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java