[jira] [Comment Edited] (OFBIZ-12231) Birt Plugin - PDF Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-12231) Birt Plugin - PDF Error

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-12231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17339519#comment-17339519 ]

Ingo Wolfmayr edited comment on OFBIZ-12231 at 5/5/21, 8:28 AM:
----------------------------------------------------------------

SVG chart output still fails. I am working on it.

 
{code:java}
WARNING: org.apache.batik.gvt.font.GVTFontFamily.isComplex()Z
 java.lang.NoSuchMethodError: org.apache.batik.gvt.font.GVTFontFamily.isComplex()Z
 at org.apache.batik.bridge.SVGTextElementBridge.getFontList(SVGTextElementBridge.java:1527)
 at org.apache.batik.bridge.SVGTextElementBridge.getAttributeMap(SVGTextElementBridge.java:1600)
 at org.apache.batik.bridge.SVGTextElementBridge.fillAttributedStringBuffer(SVGTextElementBridge.java:896)
 at org.apache.batik.bridge.SVGTextElementBridge.buildAttributedString(SVGTextElementBridge.java:850)
 at org.apache.batik.bridge.SVGTextElementBridge.computeLaidoutText(SVGTextElementBridge.java:630)
 at org.apache.batik.bridge.SVGTextElementBridge.buildGraphicsNode(SVGTextElementBridge.java:286)
 at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:224)
 at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
 at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:219)
 at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
 at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:219)
 at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
 at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82)
 at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:208)
 at org.apache.batik.transcoder.print.PrintTranscoder.transcode(PrintTranscoder.java:159)
 at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
 at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)
 at org.apache.batik.transcoder.print.PrintTranscoder.print(PrintTranscoder.java:307)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFPage.transSVG(PDFPage.java:769)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFPage.generateTemplateFromSVG(PDFPage.java:744)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFPage.drawImage(PDFPage.java:244)
 at org.eclipse.birt.report.engine.layout.emitter.AbstractPage.drawImage(AbstractPage.java:76)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.drawImage(PageDeviceRender.java:963)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitImage(PageDeviceRender.java:163)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFRender.visitImage(PDFRender.java:86)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ImageArea.accept(ImageArea.java:66)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitChildren(PageDeviceRender.java:197)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitContainer(PageDeviceRender.java:186)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.accept(ContainerArea.java:276)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitChildren(PageDeviceRender.java:197)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.addPage(PageDeviceRender.java:542)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitPage(PageDeviceRender.java:507)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitContainer(PageDeviceRender.java:181)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.accept(ContainerArea.java:276)
 at org.eclipse.birt.report.engine.layout.emitter.PageEmitter.startPage(PageEmitter.java:51)
 at org.eclipse.birt.report.engine.nLayout.LayoutEngine.outputPage(LayoutEngine.java:963)
 at org.eclipse.birt.report.engine.nLayout.area.impl.PageArea.outputPage(PageArea.java:707)
 at org.eclipse.birt.report.engine.nLayout.area.impl.PageArea.close(PageArea.java:687)
 at org.eclipse.birt.report.engine.nLayout.area.impl.RootArea.autoPageBreak(RootArea.java:68)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.autoPageBreak(ContainerArea.java:138)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.autoPageBreak(ContainerArea.java:138)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.autoPageBreak(ContainerArea.java:138)
 at org.eclipse.birt.report.engine.nLayout.area.impl.BlockTextArea.update(BlockTextArea.java:239)
 at org.eclipse.birt.report.engine.nLayout.area.impl.BlockContainerArea.close(BlockContainerArea.java:126)
 at org.eclipse.birt.report.engine.nLayout.area.impl.BlockTextArea.close(BlockTextArea.java:109)
 at org.eclipse.birt.report.engine.nLayout.area.impl.BlockTextArea.layout(BlockTextArea.java:80)
 at org.eclipse.birt.report.engine.nLayout.LayoutEngine.startContent(LayoutEngine.java:564)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startText(ContentEmitterAdapter.java:147)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startData(ContentEmitterAdapter.java:163)
 at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.startData(CompositeContentEmitter.java:258)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.startContent(ContentEmitterUtil.java:71)
 at org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEmitter.startContent(HTMLTableLayoutEmitter.java:148)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startText(ContentEmitterAdapter.java:147)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startData(ContentEmitterAdapter.java:163)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.startContent(ContentEmitterUtil.java:71)
 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:287)
 at org.eclipse.birt.report.engine.layout.html.HTMLLeafItemLM.start(HTMLLeafItemLM.java:67)
 at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:139)
 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.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
 at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
 at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
 at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
 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.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
 at org.eclipse.birt.report.engine.layout.html.HTMLTableBandLM.layoutChildren(HTMLTableBandLM.java:67)
 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.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
 at org.eclipse.birt.report.engine.layout.html.HTMLRepeatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java:46)
 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:92)
 at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
 at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:158)
 at org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:141)
 at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
 at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:660)
 at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.SameSiteFilter.doFilter(SameSiteFilter.java:44)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:191)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:157)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
 at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
 at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:433)
 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887)
 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684)
 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 at java.lang.Thread.run(Thread.java:748)
May 05, 2021 9:59:24 AM org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender log
 WARNING: Unbalanced save/restore state operators.
 com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators.
 at com.lowagie.text.pdf.PdfContentByte.sanityCheck(Unknown Source)
 at com.lowagie.text.pdf.PdfContentByte.toPdf(Unknown Source)
 at com.lowagie.text.pdf.PdfFormXObject.<init>(Unknown Source)
 at com.lowagie.text.pdf.PdfTemplate.getFormXObject(Unknown Source)
 at com.lowagie.text.pdf.PdfWriter.addSharedObjectsToBody(Unknown Source)
 at com.lowagie.text.pdf.PdfWriter.close(Unknown Source)
 at com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
 at com.lowagie.text.Document.close(Unknown Source)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFPageDevice.close(PDFPageDevice.java:174)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.end(PageDeviceRender.java:144)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFRender.end(PDFRender.java:143)
 at org.eclipse.birt.report.engine.layout.emitter.PageEmitter.end(PageEmitter.java:63)
 at org.eclipse.birt.report.engine.nLayout.LayoutEngine.end(LayoutEngine.java:347)
 at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.end(CompositeContentEmitter.java:65)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:183)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
 at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:158)
 at org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:141)
 at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
 at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:660)
 at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.SameSiteFilter.doFilter(SameSiteFilter.java:44)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:191)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:157)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
 at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
 at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:433)
 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887)
 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684)
 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 at java.lang.Thread.run(Thread.java:748)
{code}
 


was (Author: iwolf):
SVG chart output still fails. I am working on it.

WARNING: org.apache.batik.gvt.font.GVTFontFamily.isComplex()Z
java.lang.NoSuchMethodError: org.apache.batik.gvt.font.GVTFontFamily.isComplex()Z
 at org.apache.batik.bridge.SVGTextElementBridge.getFontList(SVGTextElementBridge.java:1527)
 at org.apache.batik.bridge.SVGTextElementBridge.getAttributeMap(SVGTextElementBridge.java:1600)
 at org.apache.batik.bridge.SVGTextElementBridge.fillAttributedStringBuffer(SVGTextElementBridge.java:896)
 at org.apache.batik.bridge.SVGTextElementBridge.buildAttributedString(SVGTextElementBridge.java:850)
 at org.apache.batik.bridge.SVGTextElementBridge.computeLaidoutText(SVGTextElementBridge.java:630)
 at org.apache.batik.bridge.SVGTextElementBridge.buildGraphicsNode(SVGTextElementBridge.java:286)
 at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:224)
 at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
 at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:219)
 at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
 at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:219)
 at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
 at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82)
 at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:208)
 at org.apache.batik.transcoder.print.PrintTranscoder.transcode(PrintTranscoder.java:159)
 at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
 at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)
 at org.apache.batik.transcoder.print.PrintTranscoder.print(PrintTranscoder.java:307)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFPage.transSVG(PDFPage.java:769)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFPage.generateTemplateFromSVG(PDFPage.java:744)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFPage.drawImage(PDFPage.java:244)
 at org.eclipse.birt.report.engine.layout.emitter.AbstractPage.drawImage(AbstractPage.java:76)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.drawImage(PageDeviceRender.java:963)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitImage(PageDeviceRender.java:163)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFRender.visitImage(PDFRender.java:86)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ImageArea.accept(ImageArea.java:66)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitChildren(PageDeviceRender.java:197)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitContainer(PageDeviceRender.java:186)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.accept(ContainerArea.java:276)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitChildren(PageDeviceRender.java:197)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.addPage(PageDeviceRender.java:542)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitPage(PageDeviceRender.java:507)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitContainer(PageDeviceRender.java:181)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.accept(ContainerArea.java:276)
 at org.eclipse.birt.report.engine.layout.emitter.PageEmitter.startPage(PageEmitter.java:51)
 at org.eclipse.birt.report.engine.nLayout.LayoutEngine.outputPage(LayoutEngine.java:963)
 at org.eclipse.birt.report.engine.nLayout.area.impl.PageArea.outputPage(PageArea.java:707)
 at org.eclipse.birt.report.engine.nLayout.area.impl.PageArea.close(PageArea.java:687)
 at org.eclipse.birt.report.engine.nLayout.area.impl.RootArea.autoPageBreak(RootArea.java:68)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.autoPageBreak(ContainerArea.java:138)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.autoPageBreak(ContainerArea.java:138)
 at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.autoPageBreak(ContainerArea.java:138)
 at org.eclipse.birt.report.engine.nLayout.area.impl.BlockTextArea.update(BlockTextArea.java:239)
 at org.eclipse.birt.report.engine.nLayout.area.impl.BlockContainerArea.close(BlockContainerArea.java:126)
 at org.eclipse.birt.report.engine.nLayout.area.impl.BlockTextArea.close(BlockTextArea.java:109)
 at org.eclipse.birt.report.engine.nLayout.area.impl.BlockTextArea.layout(BlockTextArea.java:80)
 at org.eclipse.birt.report.engine.nLayout.LayoutEngine.startContent(LayoutEngine.java:564)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startText(ContentEmitterAdapter.java:147)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startData(ContentEmitterAdapter.java:163)
 at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.startData(CompositeContentEmitter.java:258)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.startContent(ContentEmitterUtil.java:71)
 at org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEmitter.startContent(HTMLTableLayoutEmitter.java:148)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startText(ContentEmitterAdapter.java:147)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startData(ContentEmitterAdapter.java:163)
 at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.startContent(ContentEmitterUtil.java:71)
 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:287)
 at org.eclipse.birt.report.engine.layout.html.HTMLLeafItemLM.start(HTMLLeafItemLM.java:67)
 at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:139)
 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.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
 at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
 at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
 at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
 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.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
 at org.eclipse.birt.report.engine.layout.html.HTMLTableBandLM.layoutChildren(HTMLTableBandLM.java:67)
 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.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
 at org.eclipse.birt.report.engine.layout.html.HTMLRepeatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java:46)
 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:92)
 at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
 at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:158)
 at org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:141)
 at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
 at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:660)
 at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.SameSiteFilter.doFilter(SameSiteFilter.java:44)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:191)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:157)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
 at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
 at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:433)
 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887)
 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684)
 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 at java.lang.Thread.run(Thread.java:748)

May 05, 2021 9:59:24 AM org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender log
WARNING: Unbalanced save/restore state operators.
com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators.
 at com.lowagie.text.pdf.PdfContentByte.sanityCheck(Unknown Source)
 at com.lowagie.text.pdf.PdfContentByte.toPdf(Unknown Source)
 at com.lowagie.text.pdf.PdfFormXObject.<init>(Unknown Source)
 at com.lowagie.text.pdf.PdfTemplate.getFormXObject(Unknown Source)
 at com.lowagie.text.pdf.PdfWriter.addSharedObjectsToBody(Unknown Source)
 at com.lowagie.text.pdf.PdfWriter.close(Unknown Source)
 at com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
 at com.lowagie.text.Document.close(Unknown Source)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFPageDevice.close(PDFPageDevice.java:174)
 at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.end(PageDeviceRender.java:144)
 at org.eclipse.birt.report.engine.emitter.pdf.PDFRender.end(PDFRender.java:143)
 at org.eclipse.birt.report.engine.layout.emitter.PageEmitter.end(PageEmitter.java:63)
 at org.eclipse.birt.report.engine.nLayout.LayoutEngine.end(LayoutEngine.java:347)
 at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.end(CompositeContentEmitter.java:65)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:183)
 at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
 at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:158)
 at org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:141)
 at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
 at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:660)
 at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.SameSiteFilter.doFilter(SameSiteFilter.java:44)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:191)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:157)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
 at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
 at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:433)
 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887)
 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684)
 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 at java.lang.Thread.run(Thread.java:748)

> Birt Plugin - PDF Error
> -----------------------
>
>                 Key: OFBIZ-12231
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12231
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: birt
>    Affects Versions: Trunk
>            Reporter: Ingo Wolfmayr
>            Priority: Major
>         Attachments: birt.patch
>
>
> Birt PDF Reports do not work.
> https://demo-trunk.ofbiz.apache.org/birt/control/chartViewHandler



--
This message was sent by Atlassian Jira
(v8.3.4#803005)