Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Problem embedding Microsoft-like HTML in PDF-reports
Problem embedding Microsoft-like HTML in PDF-reports [message #364828] Mon, 25 August 2008 11:12
Eclipse User
Originally posted by: dittmann.jsources.de

Hi. I have some Microsoft-like HTML text in my database. And I want to
output this text in a Birt-report.

It seams to be the PDF Emitter in new Birt release 2.3.

Everytime I want to output to PDF I get the following errors:

25.08.2008 16:57:48
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask doRun
SCHWERWIEGEND: An error happened while running the report. Cause:
java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
at java.util.LinkedList.entry(LinkedList.java:365)
at java.util.LinkedList.get(LinkedList.java:315)
at
org.eclipse.birt.report.engine.layout.pdf.emitter.ContainerL ayout.addToRoot(ContainerLayout.java:71)
at
org.eclipse.birt.report.engine.layout.pdf.emitter.InlineCont ainerLayout.closeLayout(InlineContainerLayout.java:77)
at
org.eclipse.birt.report.engine.layout.pdf.emitter.ContainerL ayout.closeLayout(ContainerLayout.java:267)
at
org.eclipse.birt.report.engine.layout.pdf.emitter.ContainerL ayout.closeLayout(ContainerLayout.java:351)
at
org.eclipse.birt.report.engine.layout.pdf.emitter.PDFLayoutE mitter._endContainer(PDFLayoutEmitter.java:336)
at
org.eclipse.birt.report.engine.layout.pdf.emitter.PDFLayoutE mitter.endContainer(PDFLayoutEmitter.java:303)
at
org.eclipse.birt.report.engine.emitter.ContentEmitterUtil$En dContentVisitor.visitContainer(ContentEmitterUtil.java:297)
at
org.eclipse.birt.report.engine.content.impl.ContainerContent .accept(ContainerContent.java:40)
at
org.eclipse.birt.report.engine.emitter.ContentEmitterUtil$En dContentVisitor.visit(ContentEmitterUtil.java:277)
at
org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.en dContent(ContentEmitterUtil.java:133)
at
org.eclipse.birt.report.engine.layout.pdf.emitter.PDFLayoutE mitter.visitContent(PDFLayoutEmitter.java:562)
at
org.eclipse.birt.report.engine.layout.pdf.emitter.PDFLayoutE mitter.visitContent(PDFLayoutEmitter.java:559)
at
org.eclipse.birt.report.engine.layout.pdf.emitter.PDFLayoutE mitter.visitContent(PDFLayoutEmitter.java:559)
at
org.eclipse.birt.report.engine.layout.pdf.emitter.PDFLayoutE mitter.startForeign(PDFLayoutEmitter.java:577)
at
org.eclipse.birt.report.engine.emitter.CompositeContentEmitt er.startForeign(CompositeContentEmitter.java:260)
at
org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.st artContent(ContentEmitterUtil.java:75)
at
org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEm itter.startContent(HTMLTableLayoutEmitter.java:140)
at
org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter .startForeign(ContentEmitterAdapter.java:155)
at
org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.st artContent(ContentEmitterUtil.java:75)
at
org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEm itter.startContent(HTMLTableLayoutEmitter.java:140)
at
org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter .startForeign(ContentEmitterAdapter.java:155)
at
org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.st artContent(ContentEmitterUtil.java:75)
at
org.eclipse.birt.report.engine.layout.html.buffer.HTMLPageBu ffer.startContent(HTMLPageBuffer.java:108)
at
org.eclipse.birt.report.engine.layout.html.buffer.TableBreak Buffer.startContent(TableBreakBuffer.java:159)
at
org.eclipse.birt.report.engine.layout.html.HTMLLeafItemLM.st art(HTMLLeafItemLM.java:50)
at
org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:68)
at
org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.la youtChildren(HTMLStackingLM.java:27)
at
org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:133)
at
org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resumeLayout(HTMLInlineStackingLM.java:104)
at
org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layoutNodes(HTMLInlineStackingLM.java:153)
at
org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.la youtChildren(HTMLStackingLM.java:27)
at
org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:133)
at
org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:68)
at
org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.la youtChildren(HTMLStackingLM.java:27)
at
org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(HTMLTableLM.java:76)
at
org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:133)
at
org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:68)
at
org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.la youtChildren(HTMLStackingLM.java:27)
at
org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:133)
at
org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resumeLayout(HTMLInlineStackingLM.java:104)
at
org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layoutNodes(HTMLInlineStackingLM.java:153)
at
org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.la youtChildren(HTMLStackingLM.java:27)
at
org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:133)
at
org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:68)
at
org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.la youtChildren(HTMLStackingLM.java:27)
at
org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(HTMLTableLM.java:76)
at
org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:133)
at
org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:68)
at
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:90)
at
org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:101)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:151)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:72)
Previous Topic:Integration with JBossPortlet from 2.6.1
Next Topic:Programmatically Created Chart Does Not Display
Goto Forum:
  


Current Time: Sat May 25 09:23:02 EDT 2013

Powered by FUDForum. Page generated in 0.01537 seconds