Report engine fails to initialize null emitter

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 ?


 


 


org.eclipse.birt.report.engine.api.EngineException: Report engine fails to initialize null emitter, please make sure required libraries for this emitter are installed.

at org.eclipse.birt.report.engine.api.impl.EngineTask.createContentEmitter(EngineTask.java:1770)

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.fnf.tp.desktop.servlet.PdfPrintLetters.generatePDFFile(PdfPrintLetters.java:127)

at com.fnf.tp.desktop.servlet.PdfPrintLetters.doPost(PdfPrintLetters.java:75)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:881)

at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:674)

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:541)

at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)

at java.lang.Thread.run(Thread.java:662)

Comments

  • 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?


    Regards,

    Michael Williams

    eSignLive Evangelism & Community Manager | eSignLive by VASCO
     
    Find me on:
    Twitter
    Facebook
    Blog

    LinkedIn

    eSignLive Developer Community
     
    Email me:
    Google: mwilliams.silanis@gmail.com

  • I think it is POJO runtime(Downloaded from : http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_4_1-201409161320/birt-runtime-4_4_1-20140916.zip). 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 ?


     


    I using Eclipse Luna 64bit, JDK 1.6 and tomcat 5.5. this is all in Window 7 64bit.

  • 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?


    Regards,

    Michael Williams

    eSignLive Evangelism & Community Manager | eSignLive by VASCO
     
    Find me on:
    Twitter
    Facebook
    Blog

    LinkedIn

    eSignLive Developer Community
     
    Email me:
    Google: mwilliams.silanis@gmail.com

  • 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.

Sign In or Register to comment.