Uploaded image for project: 'Patient Summary'
  1. Patient Summary
  2. PS-24

Error when previewing template and on dashboard

    XMLWordPrintable

Details

    • Low

    Description

      This error when previewing a template...

      org.openmrs.module.reporting.report.renderer.ReportRenderer.getRenderedContentType(Lorg/openmrs/module/reporting/report/definition/ReportDefinition;Ljava/lang/String;)Ljava/lang/String;
      

      And this error on the legacy patient dashboard...

      Please fix all errors and try again. 
      javax.servlet.jsp.JspException: javax.el.ELException: Error reading 'contentType' on type org.openmrs.module.patientsummary.PatientSummaryTemplate
      javax.el.BeanELResolver.getValue(BeanELResolver.java:98)
      org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104)
      org.apache.el.parser.AstValue.getValue(AstValue.java:182)
      org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)
      org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:944)
      org.apache.jsp.WEB_002dINF.view.module.patientsummary.portlets.patientSummaries_jsp._jspService(patientSummaries_jsp.java:134)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.openmrs.web.filter.JspClassLoaderFilter.doFilter(JspClassLoaderFilter.java:47)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
      org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
      org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
      org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:229)
      org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:263)
      org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
      org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
      org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
      org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
      org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
      org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:296)
      org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:161)
      org.openmrs.web.taglib.PortletTag.doEndTag(PortletTag.java:100)
      org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspx_meth_openmrs_005fportlet_005f8(patientDashboardForm_jsp.java:6824)
      org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspx_meth_c_005fotherwise_005f5(patientDashboardForm_jsp.java:6766)
      org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspx_meth_c_005fchoose_005f5(patientDashboardForm_jsp.java:6700)
      org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspx_meth_c_005fcatch_005f0(patientDashboardForm_jsp.java:6660)
      org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspx_meth_openmrs_005fhasPrivilege_005f20(patientDashboardForm_jsp.java:6621)
      org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspx_meth_openmrs_005fextensionPoint_005f11(patientDashboardForm_jsp.java:6583)
      org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspService(patientDashboardForm_jsp.java:904)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.openmrs.web.filter.JspClassLoaderFilter.doFilter(JspClassLoaderFilter.java:47)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
      org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
      org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
      org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
      org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
      org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:263)
      org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
      org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
      org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
      org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
      org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
      org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      java.lang.Thread.run(Thread.java:745)
      

      On https://talk.openmrs.org/t/what-is-the-best-way-to-do-a-clinical-summary/3619/2, Mike said this...

      I think there is likely an incompatibility introduced by the reporting module ( there was a backwards-incompatible change introduced a while back here https://github.com/openmrs/openmrs-module-reporting/commit/fa3dd62b4ace6f4ae485c20067cb87c5dbce29ce#diff-1dfd740e61d1cbb08f37f93800d9b189 ).

      Gliffy Diagrams

        Attachments

          Activity

            People

              Unassigned Unassigned
              arbaughj James Arbaugh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: