[ 
https://issues.apache.org/jira/browse/OFBIZ-9165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-9165.
----------------------------------
       Resolution: Duplicate
    Fix Version/s: OFBIZ-8026

> pdf printout of payment transactions cause exception
> ----------------------------------------------------
>
>                 Key: OFBIZ-9165
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9165
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Wai
>             Fix For: OFBIZ-8026
>
>
> Create an order for DemoCustomer
> Specify "offline payment: check/money order"
> Enter payment for amount owning (cash)
> Go to the payment overview... 
> https://localhost:8443/accounting/control/paymentOverview?paymentId=10000
> Click on pdf printout transaction entries for a sales order. Got an exception
> {code}
> Console output...
> 2017-01-02 07:57:54,818 |http-nio-8443-exec-1 |RequestHandler                
> |I| Ran Event 
> [groovy:component://birt/groovyScripts/accounting/PaymentAcctgTransEntryParameters.groovy#]
>  from [request], result is [success]
> 2017-01-02 07:57:54,822 |http-nio-8443-exec-1 |RequestHandler                
> |I| Rendering View [PaymentAcctgTransEntriesPdf].  Hidden sessionId by 
> default.
> 2017-01-02 07:57:54,823 |http-nio-8443-exec-1 |BirtFactory                   
> |I| Got report in 0.0s from: 
> file:/ofbiz-trunk/specialpurpose/birt/webapp/accounting/reports/PaymentAcctgTransEntry.rptdesign
> 2017-01-02 07:57:55,461 |http-nio-8443-exec-1 |BirtWorker                    
> |I| Get report engine
> 2017-01-02 07:57:55,484 |http-nio-8443-exec-1 |BirtWorker                    
> |I| Set BIRT locale:en_US
> 2017-01-02 07:57:55,516 |http-nio-8443-exec-1 |BirtWorker                    
> |I| Set BIRT parameters:{paymentId=10000, userLoginId=admin}
> 2017-01-02 07:57:55,519 |http-nio-8443-exec-1 |BirtWorker                    
> |I| BIRT's locale is: en_US
> 2017-01-02 07:57:55,519 |http-nio-8443-exec-1 |BirtWorker                    
> |I| Run report's task
> 2017-01-02 07:57:56,132 |http-nio-8443-exec-1 |ControlServlet                
> |E| Error in request handler: 
> org.eclipse.birt.report.engine.api.EngineException: Error happened while 
> running the report.
>         at 
> org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2363)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:191)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at org.apache.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:144) 
> ~[ofbiz.jar:?]
>         at 
> org.apache.ofbiz.birt.webapp.view.BirtViewHandler.render(BirtViewHandler.java:118)
>  ~[ofbiz.jar:?]
>         at 
> org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
>  ~[ofbiz.jar:?]
>         at 
> org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:649)
>  ~[ofbiz.jar:?]
>         at 
> org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210) 
> [ofbiz.jar:?]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) 
> [javax.servlet-api-3.1.0.jar:3.1.0]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
> [javax.servlet-api-3.1.0.jar:3.1.0]
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 
> [tomcat-embed-websocket-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209)
>  [ofbiz.jar:?]
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
>  [ofbiz.jar:?]
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) 
> [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) 
> [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
>  [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509) 
> [tomcat-catalina-8.0.39.jar:8.0.39]
>         at 
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
>  [tomcat-coyote-8.0.39.jar:8.0.39]
>         at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
>  [tomcat-coyote-8.0.39.jar:8.0.39]
>         at 
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
>  [tomcat-coyote-8.0.39.jar:8.0.39]
>         at 
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
>  [tomcat-coyote-8.0.39.jar:8.0.39]
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [?:1.8.0_111]
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [?:1.8.0_111]
>         at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  [tomcat-util-8.0.39.jar:8.0.39]
>         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
> Caused by: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
>         at java.util.ArrayList.rangeCheck(ArrayList.java:653) ~[?:1.8.0_111]
>         at java.util.ArrayList.get(ArrayList.java:429) ~[?:1.8.0_111]
>         at 
> org.eclipse.birt.report.model.elements.GridItem.getCellPositionInColumn(GridItem.java:393)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.model.elements.GridItem.cacheValues(GridItem.java:267)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.model.elements.ReportDesignImpl.doCacheValues(ReportDesignImpl.java:392)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.model.elements.ReportDesignImpl.cacheValues(ReportDesignImpl.java:379)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.model.api.ReportDesignHandleImpl.cacheValues(ReportDesignHandleImpl.java:1541)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.model.api.ReportDesignHandle.cacheValues(ReportDesignHandle.java:1)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.engine.parser.EngineIRVisitor.translate(EngineIRVisitor.java:275)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.engine.parser.ReportParser.parse(ReportParser.java:178)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.engine.executor.ExecutionContext.getReport(ExecutionContext.java:2214)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.engine.executor.ReportExecutor.<init>(ReportExecutor.java:86)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         at 
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:107)
>  ~[org.eclipse.birt.runtime-4.4.1.jar:?]
>         ... 35 more
> 2017-01-02 07:57:56,133 |http-nio-8443-exec-1 |ControlServlet                
> |E| An error occurred, going to the errorPage: /error/error.jsp
> 2017-01-02 07:57:56,134 |http-nio-8443-exec-1 |ControlServlet                
> |E| Including errorPage: /error/error.jsp
> Jan 02, 2017 7:57:56 AM org.apache.catalina.core.ApplicationDispatcher invoke
> SEVERE: Servlet.service() for servlet jsp threw exception
> javax.servlet.ServletException: File [/error/error.jsp] not found
>         at 
> org.apache.jasper.servlet.JspServlet.handleMissingResource(JspServlet.java:418)
>         at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523)
>         at 
> org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:248)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>         at 
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>         at 
> org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>         at 
> org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
>         at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
>         at 
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
>         at 
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
>         at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
>         at 
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
>         at 
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>         at java.lang.Thread.run(Thread.java:745)
> 2017-01-02 07:57:56,147 |http-nio-8443-exec-1 |ControlServlet                
> |W| Error while trying to send error page using rd.include (will try 
> response.getOutputStream or response.getWriter): 
> javax.servlet.ServletException: File [/error/error.jsp] not found
> 2017-01-02 07:57:56,147 |http-nio-8443-exec-1 |ControlServlet                
> |W| Error while trying to write error message using response.getOutputStream 
> or response.getWriter: javax.servlet.ServletException: File 
> [/error/error.jsp] not found; sending error code [500], and message [ERROR 
> rendering error page [/error/error.jsp], but here is the error text: 
> org.eclipse.birt.report.engine.api.EngineException&#x3a; Error happened while 
> running the report.]
> 2017-01-02 07:57:56,151 |http-nio-8443-exec-1 |ServerHitBin                  
> |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> 2017-01-02 07:57:56,173 |http-nio-8443-exec-1 |ControlServlet                
> |T| [[[PaymentAcctgTransEntriesPdf(Domain:https://localhost)] Request Done- 
> total:1.4,since last([Pa
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to