[OpenVPMS Developers] [JIRA] Created: (OVPMS-948) Suppress reporting of "Failed to find subreport with name: " errors
Key: OVPMS-948 URL: https://openvpms.atlassian.net/browse/OVPMS-948 Project: VPMS Web Application Issue Type: Improvement Components: General Affects Versions: 1.4 Reporter: Tim Anderson Assignee: Tony De Keizer Priority: Minor Fix For: 1.5
From a 1.4-beta-2 error report: {noformat} org.openvpms.report.ReportException: Failed to create report: Failed to find subreport with name: invoiceItemsA5.jrxml at org.openvpms.report.jasper.JasperTemplateLoader.init(JasperTemplateLoader.java:160) at org.openvpms.report.jasper.JasperTemplateLoader.(JasperTemplateLoader.java:88) at org.openvpms.report.jasper.AbstractTemplatedJasperIMReport.(AbstractTemplatedJasperIMReport.java:64) at org.openvpms.report.jasper.TemplatedJasperIMObjectReport.(TemplatedJasperIMObjectReport.java:53) at org.openvpms.report.ReportFactory.createIMObjectReport(ReportFactory.java:80) at org.openvpms.web.component.im.report.IMObjectReporter.getReport(IMObjectReporter.java:113) at org.openvpms.web.component.im.print.AbstractIMPrinter.print(AbstractIMPrinter.java:79) at org.openvpms.web.component.print.InteractivePrinter.doPrint(InteractivePrinter.java:308) at org.openvpms.web.component.print.InteractivePrinter.printDirect(InteractivePrinter.java:298) at org.openvpms.web.component.print.InteractivePrinter.print(InteractivePrinter.java:144) at org.openvpms.web.component.print.InteractivePrinter.print(InteractivePrinter.java:127) at org.openvpms.web.app.workflow.checkout.PrintDocumentsTask$BatchPrinter.print(PrintDocumentsTask.java:237) at org.openvpms.web.app.workflow.checkout.PrintDocumentsTask.print(PrintDocumentsTask.java:130) at org.openvpms.web.app.workflow.checkout.PrintDocumentsTask.access$000(PrintDocumentsTask.java:58) at org.openvpms.web.app.workflow.checkout.PrintDocumentsTask$1.onClose(PrintDocumentsTask.java:110) at org.openvpms.web.component.event.WindowPaneListener.windowPaneClosing(WindowPaneListener.java:39) at nextapp.echo2.app.WindowPane.fireWindowClosing(WindowPane.java:154) at org.openvpms.web.component.dialog.PopupWindow.fireWindowClosing(PopupWindow.java:269) at nextapp.echo2.app.WindowPane.userClose(WindowPane.java:792) at org.openvpms.web.component.dialog.PopupWindow.close(PopupWindow.java:193) at org.openvpms.web.component.dialog.PopupDialog.close(PopupDialog.java:297) at org.openvpms.web.component.dialog.PopupDialog.onOK(PopupDialog.java:228) at org.openvpms.web.component.dialog.PopupDialog.onButton(PopupDialog.java:201) at org.openvpms.web.component.dialog.PopupDialog$2.onAction(PopupDialog.java:310) at org.openvpms.web.component.event.ActionListener.actionPerformed(ActionListener.java:41) at nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135) at echopointng.ButtonEx$1.actionPerformed(ButtonEx.java:120) at nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70) at echopointng.model.DefaultButtonModelEx.doAction(DefaultButtonModelEx.java:51) at echopointng.ButtonEx.processInput(ButtonEx.java:202) at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116) at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89) at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:472) at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279) at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273) at org.openvpms.web.servlet.SpringWebContainerServlet.process(SpringWebContainerServlet.java:148) at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189) 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:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:292) at org.openvpms.web.servlet.SkipLoginFilter.doFilter(SkipLoginFilter.java:111) at org.openvpms.web.servlet.SkipLoginFilter.doFilter(SkipLoginFilter.java:71) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:108) at org.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:197) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:143) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:246) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:220) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source) {noformat}
This is probably a configuration issue where the subreport either hasn't been loaded, or has been deleted. The error message should be changed to be more informative e,g: {noformat} "There is no report with name . This is used by report . Please add " {noformat} The facility to submit an error report this particular exception should also be removed.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://openvpms.atlassian.net/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf