4 Replies Latest reply on Aug 9, 2018 10:33 AM by zhavoronkov aleksei

    Facing issue with web reporting  in 8.1 ARS.

    Ankur Bindal

      Hi ,

       

      I am facing issue with web reporting in 8.1 ARS. while extracting reports using the midtier I am getting the below error.

       

      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.birt.report.engine.emitter.excel.ExcelUtil


      as shown in the below logs.

       

         

      org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report
      at org.eclipse.birt.report.utility.BirtUtility.makeAxisFault(BirtUtility.java:748)
      at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:94)
      at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.doService(FramesetFragment.java:222)
      at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:86)
      at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)
      at com.remedy.arsys.arwebreport.BIRTCustomViewerServlet.doSuperPost(Unknown Source)
      at com.remedy.arsys.arwebreport.BIRTCustomViewerServlet.doPost(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:744)
      Caused by: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report
      at org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1064)
      at org.eclipse.birt.report.service.ReportEngineService.renderReport(ReportEngineService.java:1467)
      at org.eclipse.birt.report.service.BirtViewerReportService.renderReport(BirtViewerReportService.java:369)
      at org.eclipse.birt.report.service.actionhandler.BirtRenderReportActionHandler.__execute(BirtRenderReportActionHandler.java:65)
      at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
      ... 24 more
      Caused by: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report
      at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:245)
      at org.eclipse.birt.report.service.ReportEngineService.renderReport(ReportEngineService.java:1461)
      ... 27 more
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.birt.report.engine.emitter.excel.ExcelUtil
      at org.eclipse.birt.report.engine.emitter.excel.layout.PageDef.parsePage(PageDef.java:23)
      at org.eclipse.birt.report.engine.emitter.excel.layout.PageDef.<init>(PageDef.java:17)
      at org.eclipse.birt.report.engine.emitter.excel.ExcelEmitter.start(ExcelEmitter.java:194)
      at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:523)
      at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:221)
      ... 28 more

       

       

       

      Do i need to perform any kind of configuration so that it can pick this file.

      Analysis : org.eclipse.birt.report.engine.emitter.excel.ExcelUtil  file exists in a java plugin for reporting. But I am not sure how tomcat will refer to this file.

      location of plugin jar in midtier is <Tomcat_home>/webapps/midtier/WEB-INF/plateform/plugin


      At this location you can find all the plugins using for reporting during runtime.


      How can I resolve this issue of NoClassDef found.



      Best Regards,

      Ankur Bindal