Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » org.eclipse.birt.report.engine.api.EngineException: Failed to initialize emitter.
org.eclipse.birt.report.engine.api.EngineException: Failed to initialize emitter. [message #1768354] Mon, 17 July 2017 18:55 Go to next message
Fabian Vega Ramirez is currently offline Fabian Vega RamirezFriend
Messages: 1
Registered: July 2017
Junior Member
Report Engine at PDF generation stops working after a while of working fine. The error has been present between 1 week to 2 months after the webapp start running in Tomcat Linux. No viewer is used... Only PDF generator.

Before running the report the folder where it's going to be made doesn't exist. But other reporters are created fine in the same situation.

Tomcat Info:
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-8-oracle
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Server version: Apache Tomcat/8.0.39
Server built: Nov 9 2016 08:48:39 UTC
Server number: 8.0.39.0
OS Name: Linux
OS Version: 4.4.0-83-generic
Architecture: amd64
JVM Version: 1.8.0_111-b14
JVM Vendor: Oracle Corporation

StackTrace:

org.eclipse.birt.report.engine.api.EngineException: Failed to initialize emitter.
at org.eclipse.birt.report.engine.emitter.EmitterUtil.getOuputStream(EmitterUtil.java:82)
at org.eclipse.birt.report.engine.emitter.pdf.PDFRender.initialize(PDFRender.java:175)
at org.eclipse.birt.report.engine.emitter.pdf.PDFRender.<init>(PDFRender.java:59)
at org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter.createRender(PDFEmitter.java:25)
at org.eclipse.birt.report.engine.layout.emitter.PageEmitter.initialize(PageEmitter.java:43)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.initialize(LayoutEngine.java:140)
at org.eclipse.birt.report.engine.api.impl.EngineTask.initializeContentEmitter(EngineTask.java:2332)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:118)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at com.name1.name2.utils.ReportUtils.buildReport(ReportUtils.java:486)
at com.name1.name2.utils.ReportUtils.createNewOnePage(ReportUtils.java:92)
at com.name1.name2.utils.LocationDataUtils.createNewOnePage(LocationDataUtils.java:265)
at com.name1.name2.utils.LocationDataUtils.generateAllData(LocationDataUtils.java:1682)
at com.name1.name2.services.LocationDataService.generateDataAndInsertSpreadSheet(LocationDataService.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:108)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: /path/to/file.pdf (No such file or directory)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.eclipse.birt.report.engine.emitter.EmitterUtil.getOuputStream(EmitterUtil.java:77)
... 23 more
Re: org.eclipse.birt.report.engine.api.EngineException: Failed to initialize emitter. [message #1781920 is a reply to message #1768354] Wed, 14 February 2018 16:04 Go to previous message
Armin Galliker is currently offline Armin GallikerFriend
Messages: 3
Registered: February 2017
Junior Member
Hi Fabian

Could you ever solve this issue?

Thanks.
Previous Topic:PageNumber in index of PDF Report
Next Topic:print document on a a5 sheet
Goto Forum:
  


Current Time: Wed Sep 19 10:32:40 GMT 2018

Powered by FUDForum. Page generated in 0.01465 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top