Report engine fails to initialize null emitter

skumarcse
edited February 11, 2022 in Analytics #1
<p>I have copied all JARs files from Birtruntime 4.4.1 into my web project(WEB-INF/lib) and all of them are in build path. Any specific why the below error ? do i still missing any other JARs ?</p>
<p> </p>
<p> </p>
<div>org.eclipse.birt.report.engine.api.EngineException: Report engine fails to initialize null emitter, please make sure required libraries for this emitter are installed.</div>
<div>at org.eclipse.birt.report.engine.api.impl.EngineTask.createContentEmitter(EngineTask.java:1770)</div>
<div>at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:106)</div>
<div>at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)</div>
<div>at com.fnf.tp.desktop.servlet.PdfPrintLetters.generatePDFFile(PdfPrintLetters.java:127)</div>
<div>at com.fnf.tp.desktop.servlet.PdfPrintLetters.doPost(PdfPrintLetters.java:75)</div>
<div>at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)</div>
<div>at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)</div>
<div>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)</div>
<div>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)</div>
<div>at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)</div>
<div>at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)</div>
<div>at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)</div>
<div>at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)</div>
<div>at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)</div>
<div>at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)</div>
<div>at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:881)</div>
<div>at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:674)</div>
<div>at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:541)</div>
<div>at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)</div>
<div>at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)</div>
<div>at java.lang.Thread.run(Thread.java:662)</div>

Comments

  • <p>If you have everything from the WEB-INF/lib folder, you should have everything you need as far as JARs go. Are you using the POJO runtime or the OSGi runtime? What is your setup? What Java version are you using? What OS?</p>
    Warning No formatter is installed for the format ipb
  • <p>I think it is POJO runtime(Downloaded from : <a data-ipb='nomediaparse' href='http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_4_1-201409161320/birt-runtime-4_4_1-20140916.zip'>http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_4_1-201409161320/birt-runtime-4_4_1-20140916.zip</a>). I used Birtruntime for copying lib folder into my project. Really, there is no connection / link in between my project and BIRT runtime. I think Birt runtime is embedded into my project when copied ReportEngine/lib into my WEB-INF/lib. correct ? </p>
    <p> </p>
    <p>I using Eclipse Luna 64bit, JDK 1.6 and tomcat 5.5. this is all in Window 7 64bit.</p>
  • <p>Can you give me any more specifics on your web project so I can try to set something up? Maybe you could set up a simple example and attach it here?</p>
    Warning No formatter is installed for the format ipb
  • Can anybody have a solution for it.
    I am also getting the same exception
    org.eclipse.birt.report.engine.api.EngineException: Report engine fails to initialize org.eclipse.birt.report.engine.emitter.html emitter, please make sure required libraries for this emitter are installed.
    at org.eclipse.birt.report.engine.api.impl.EngineTask.createContentEmitter(EngineTask.java:1783)
    at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:106)
    at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
    at com.avin.reportgeneration.popup.actions.ModuleReportGeneration$1.run(ModuleReportGeneration.java:510)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

    code is failing at

    if(config != null)
    {
    Object object = createObject(config, "class");
    if(object instanceof IContentEmitter)

             return (IContentEmitter)object;
    
       }
      return null;
    

    object is of type org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter, hence returing null

  • I am using windows 8,
    Eclipse oxgen release 2 and Birt 4.7.
    I am adding all required birt plugins in my Target Platform.