Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-618

Cannot find Asthma diagnosis when entering visit note

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 2.2
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      The server response is 500 internal server error and with the body:

      <html><head><title>Apache Tomcat/7.0.52 (Ubuntu) - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - Error invoking fragment action</h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>Error invoking fragment action</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>org.openmrs.ui.framework.UiFrameworkException: Error invoking fragment action
      	org.openmrs.module.uiframework.FragmentActionController.handlePath(FragmentActionController.java:166)
      	org.openmrs.module.uiframework.FragmentActionController.handleUrlWithDotAction(FragmentActionController.java:103)
      	sun.reflect.GeneratedMethodAccessor1287.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)
      	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
      	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.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
      	org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
      	org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
      	org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      </pre></p><p><b>root cause</b> <pre>org.openmrs.ui.framework.UiFrameworkException: Error invoking fragment action public java.util.List org.openmrs.module.coreapps.fragment.controller.DiagnosesFragmentController.search(org.openmrs.module.appui.UiSessionContext,org.openmrs.ui.framework.UiUtils,org.openmrs.module.emrapi.EmrApiProperties,org.openmrs.module.emrapi.concept.EmrConceptService,java.lang.String,java.lang.Integer,java.lang.Integer) throws java.lang.Exception
      	org.openmrs.ui.framework.fragment.FragmentFactory.invokeFragmentAction(FragmentFactory.java:493)
      	org.openmrs.module.uiframework.FragmentActionController.handlePath(FragmentActionController.java:143)
      	org.openmrs.module.uiframework.FragmentActionController.handleUrlWithDotAction(FragmentActionController.java:103)
      	sun.reflect.GeneratedMethodAccessor1287.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)
      	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
      	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.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
      	org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
      	org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
      	org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      </pre></p><p><b>root cause</b> <pre>java.lang.reflect.InvocationTargetException
      	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.openmrs.ui.framework.fragment.FragmentFactory.invokeFragmentAction(FragmentFactory.java:468)
      	org.openmrs.module.uiframework.FragmentActionController.handlePath(FragmentActionController.java:143)
      	org.openmrs.module.uiframework.FragmentActionController.handleUrlWithDotAction(FragmentActionController.java:103)
      	sun.reflect.GeneratedMethodAccessor1287.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)
      	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
      	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.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
      	org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
      	org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
      	org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      </pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError: org/openmrs/ConceptWord
      	org.openmrs.module.emrapi.concept.HibernateEmrConceptDAO.conceptSearch(HibernateEmrConceptDAO.java:70)
      	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      	org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      	org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
      	org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
      	org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
      	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      	com.sun.proxy.$Proxy182.conceptSearch(Unknown Source)
      	org.openmrs.module.emrapi.concept.EmrConceptServiceImpl.conceptSearch(EmrConceptServiceImpl.java:108)
      	sun.reflect.GeneratedMethodAccessor2125.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
      	com.sun.proxy.$Proxy183.conceptSearch(Unknown Source)
      	sun.reflect.GeneratedMethodAccessor2125.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      	org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      	org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
      	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
      	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
      	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      	com.sun.proxy.$Proxy184.conceptSearch(Unknown Source)
      	org.openmrs.module.coreapps.fragment.controller.DiagnosesFragmentController.search(DiagnosesFragmentController.java:66)
      	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.openmrs.ui.framework.fragment.FragmentFactory.invokeFragmentAction(FragmentFactory.java:468)
      	org.openmrs.module.uiframework.FragmentActionController.handlePath(FragmentActionController.java:143)
      	org.openmrs.module.uiframework.FragmentActionController.handleUrlWithDotAction(FragmentActionController.java:103)
      	sun.reflect.GeneratedMethodAccessor1287.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:606)
      	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)
      	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
      	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.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
      	org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
      	org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
      	org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/7.0.52 (Ubuntu) logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.52 (Ubuntu)</h3></body></html>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              raff Rafal Korytkowski
              Reporter:
              raff Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: