ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gavinju <gavi...@gmail.com>
Subject BIRT Run error in the ofbiz 14.02
Date Sun, 03 Aug 2014 12:10:53 GMT
When i was running the birt report, and the page is error .
The log message as follow:
[java] 2014-08-03 19:25:32,363 (http-0.0.0.0-8443-1)
[ControlEventListener.java:65 :INFO ] Creating session:
426D29A52C412749A03303959F192180.jvm1
     [java] Aug 03, 2014 7:25:33 PM
org.apache.catalina.core.StandardWrapperValve invoke
     [java] SEVERE: Servlet.service() for servlet EngineServlet threw
exception
     [java] java.lang.NoSuchMethodError:
org.mozilla.javascript.ContextFactory.enterContext()Lorg/mozilla/javascript/Context;
     [java] 	at
org.eclipse.birt.report.model.simpleapi.ReportDesign.initFunctions(ReportDesign.java:370)
     [java] 	at
org.eclipse.birt.report.model.simpleapi.ReportDesign.<init>(ReportDesign.java:81)
     [java] 	at
org.eclipse.birt.report.model.simpleapi.ElementUtil.getElement(ElementUtil.java:59)
     [java] 	at
org.eclipse.birt.report.model.api.impl.SimpleElementFactory.getElement(SimpleElementFactory.java:279)
     [java] 	at
org.eclipse.birt.report.engine.executor.ExecutionContext.registerDesign(ExecutionContext.java:1338)
     [java] 	at
org.eclipse.birt.report.engine.executor.ExecutionContext.initializeScriptContext(ExecutionContext.java:378)
     [java] 	at
org.eclipse.birt.report.engine.executor.ExecutionContext.getScriptContext(ExecutionContext.java:1093)
     [java] 	at
org.eclipse.birt.report.engine.executor.ExecutionContext.setLocale(ExecutionContext.java:823)
     [java] 	at
org.eclipse.birt.report.engine.api.impl.EngineTask.doSetLocale(EngineTask.java:276)
     [java] 	at
org.eclipse.birt.report.engine.api.impl.EngineTask.setLocale(EngineTask.java:270)
     [java] 	at
org.eclipse.birt.report.service.ReportEngineService.createGetParameterDefinitionTask(ReportEngineService.java:447)
     [java] 	at
org.eclipse.birt.report.service.BirtViewerReportService.getParameterDefinitionTask(BirtViewerReportService.java:851)
     [java] 	at
org.eclipse.birt.report.service.BirtViewerReportService.getParameterDefinitions(BirtViewerReportService.java:728)
     [java] 	at
org.eclipse.birt.report.context.ViewerAttributeBean.__initParameters(ViewerAttributeBean.java:250)
     [java] 	at
org.ofbiz.birt.report.context.BirtViewerAttributeBean.__init(BirtViewerAttributeBean.java:65)
     [java] 	at
org.eclipse.birt.report.context.BaseAttributeBean.init(BaseAttributeBean.java:233)
     [java] 	at
org.eclipse.birt.report.context.ViewerAttributeBean.<init>(ViewerAttributeBean.java:118)
     [java] 	at
org.ofbiz.birt.report.context.BirtViewerAttributeBean.<init>(BirtViewerAttributeBean.java:37)
     [java] 	at
org.ofbiz.birt.report.context.OFBizBirtContext.__init(OFBizBirtContext.java:43)
     [java] 	at
org.eclipse.birt.report.context.BaseContext.<init>(BaseContext.java:69)
     [java] 	at
org.eclipse.birt.report.context.BirtContext.<init>(BirtContext.java:30)
     [java] 	at
org.ofbiz.birt.report.context.OFBizBirtContext.<init>(OFBizBirtContext.java:34)
     [java] 	at
org.ofbiz.birt.report.servlet.BirtEngineServlet.__getContext(BirtEngineServlet.java:57)
     [java] 	at
org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(BaseReportEngineServlet.java:163)
     [java] 	at
org.eclipse.birt.report.servlet.BaseReportEngineServlet.doPost(BaseReportEngineServlet.java:224)
     [java] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
     [java] 	at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
     [java] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
     [java] 	at
org.eclipse.birt.report.servlet.BaseReportEngineServlet.service(BaseReportEngineServlet.java:116)
     [java] 	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     [java] 	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     [java] 	at
org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
     [java] 	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     [java] 	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     [java] 	at
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:337)
     [java] 	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     [java] 	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     [java] 	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     [java] 	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     [java] 	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     [java] 	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
     [java] 	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     [java] 	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
     [java] 	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
     [java] 	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
     [java] 	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
     [java] 	at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
     [java] 	at java.lang.Thread.run(Thread.java:745)

Please give me some advise for fixing this problem.
Thank you.



--
View this message in context: http://ofbiz.135035.n4.nabble.com/BIRT-Run-error-in-the-ofbiz-14-02-tp4653143.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Mime
View raw message