Community
Participate
Working Groups
Created attachment 170492 [details] test report Description: Error happened while merge cells in grid when preview as pdf/ppt/ps Test build: BIRT2.6.0 v20100531-0630 Step to reproduce: 1. Use the report attached 2. Preview as pdf/ppt/ps Expect result: Report can preview Actual result: Error happened while running the report error log: Caused by: java.lang.ClassCastException: org.eclipse.birt.report.engine.content.impl.TableContent cannot be cast to org.eclipse.birt.report.engine.content.IBandContent at org.eclipse.birt.report.engine.nLayout.area.impl.TableLayout.isInRepeatHeader(TableLayout.java:975) at org.eclipse.birt.report.engine.nLayout.area.impl.TableLayout.updateRow(TableLayout.java:720) at org.eclipse.birt.report.engine.nLayout.area.impl.TableLayout.addRow(TableLayout.java:645) at org.eclipse.birt.report.engine.nLayout.area.impl.TableArea.addRow(TableArea.java:73) at org.eclipse.birt.report.engine.nLayout.area.impl.RowArea.close(RowArea.java:141) at org.eclipse.birt.report.engine.nLayout.LayoutEngine.closeContainer(LayoutEngine.java:360) at org.eclipse.birt.report.engine.nLayout.LayoutEngine.endTableContainer(LayoutEngine.java:565) at org.eclipse.birt.report.engine.nLayout.LayoutEngine.endRow(LayoutEngine.java:575) at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.endRow(CompositeContentEmitter.java:179) at org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEmitter.flushRow(HTMLTableLayoutEmitter.java:363) at org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEmitter.flush(HTMLTableLayoutEmitter.java:313) at org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEmitter.endRow(HTMLTableLayoutEmitter.java:632) at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.endContent(ContentEmitterUtil.java:111) at org.eclipse.birt.report.engine.layout.html.buffer.AbstractNode.end(AbstractNode.java:69) at org.eclipse.birt.report.engine.layout.html.buffer.HTMLPageBuffer.endRow(HTMLPageBuffer.java:196) at org.eclipse.birt.report.engine.layout.html.buffer.HTMLPageBuffer.endContainer(HTMLPageBuffer.java:140) at org.eclipse.birt.report.engine.layout.html.buffer.TableBreakBuffer.endContainer(TableBreakBuffer.java:360) at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.end(HTMLStackingLM.java:42) at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:141) at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70) at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26) at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layoutChildren(HTMLTableLM.java:132) at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140) at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70) at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:90) at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:99) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:169) ... 32 more
Fixed.
*** Bug 315180 has been marked as a duplicate of this bug. ***
verified in daily build v20100603-0630