Hello Wim/Dev,
As we continue testing the latest version of BIRT we found an issue related to postscript printing/render. We occasionally use postscript printing format when our application prints reports directly to a printer on the network (old habit
now days) and we need to tweak printing options such as number of copies, collate, scale, etc.
Getting the error below with latest version of BIRT (it was working fine with previous version). I logged a new issue on github -
https://github.com/eclipse/birt/issues/1010. More details there.
Please, take a look at your convenience.
Otherwise, the new version runs good!
Thank you much,
Aleksey (Deltek)
SEVERE: An error happened while running the report. Cause:
java.lang.ClassCastException: class java.util.HashMap cannot be cast to class java.util.Properties (java.util.HashMap and java.util.Properties are in module java.base of loader 'bootstrap')
at org.eclipse.birt.report.engine.emitter.postscript.PostscriptWriter.getFontPath(PostscriptWriter.java:741)
at org.eclipse.birt.report.engine.emitter.postscript.PostscriptWriter.applyFont(PostscriptWriter.java:682)
at org.eclipse.birt.report.engine.emitter.postscript.PostscriptWriter.drawString(PostscriptWriter.java:538)
at org.eclipse.birt.report.engine.emitter.postscript.device.PostscriptPage.drawText(PostscriptPage.java:77)
at org.eclipse.birt.report.engine.layout.emitter.AbstractPage.drawText(AbstractPage.java:97)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.drawTextAt(PageDeviceRender.java:703)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.drawText(PageDeviceRender.java:696)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitText(PageDeviceRender.java:142)
at org.eclipse.birt.report.engine.nLayout.area.impl.TextArea.accept(TextArea.java:211)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitChildren(PageDeviceRender.java:176)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitContainer(PageDeviceRender.java:167)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.accept(ContainerArea.java:244)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitChildren(PageDeviceRender.java:176)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitContainer(PageDeviceRender.java:167)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.accept(ContainerArea.java:244)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitChildren(PageDeviceRender.java:176)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitContainer(PageDeviceRender.java:167)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.accept(ContainerArea.java:244)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitChildren(PageDeviceRender.java:176)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitContainer(PageDeviceRender.java:167)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.accept(ContainerArea.java:244)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitChildren(PageDeviceRender.java:176)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitContainer(PageDeviceRender.java:167)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.accept(ContainerArea.java:244)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitChildren(PageDeviceRender.java:176)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.addPage(PageDeviceRender.java:435)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitPage(PageDeviceRender.java:405)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.visitContainer(PageDeviceRender.java:164)
at org.eclipse.birt.report.engine.nLayout.area.impl.ContainerArea.accept(ContainerArea.java:244)
at org.eclipse.birt.report.engine.layout.emitter.PageEmitter.startPage(PageEmitter.java:50)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.outputPage(LayoutEngine.java:730)
at org.eclipse.birt.report.engine.nLayout.area.impl.PageArea.outputPage(PageArea.java:555)
at org.eclipse.birt.report.engine.nLayout.area.impl.PageArea.close(PageArea.java:539)
at org.eclipse.birt.report.engine.nLayout.area.impl.RootArea.close(RootArea.java:192)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.closeContainer(LayoutEngine.java:301)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine._endContainer(LayoutEngine.java:378)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.endContainer(LayoutEngine.java:290)
at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.endPage(ContentEmitterAdapter.java:72)
at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.endContent(ContentEmitterUtil.java:98)
at org.eclipse.birt.report.engine.layout.html.buffer.DummyPageBuffer.endContainer(DummyPageBuffer.java:58)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.end(HTMLPageLM.java:167)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:97)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:97)
at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:547)
at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:273)
From: birt-dev <birt-dev-bounces@xxxxxxxxxxx> On Behalf Of
Wim Jongman
Sent: Wednesday, March 16, 2022 1:33 PM
To: Birt Dev project <birt-dev@xxxxxxxxxxx>
Subject: [External] [birt-dev] BIRT 4.9.0 released
Master is open for 4.10 development.
Here are all the issues resolved for this release:
Thanks to all participants.