Uploaded image for project: 'Atlas Module'
  1. Atlas Module
  2. ATLAS-114

Error when clicking to view Atlas Module in OpenMRS 1.10: NoClassDefFoundError: org/openmrs/ui/framework/page/PageModel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: Atlas Module 2.0
    • Fix Version/s: Atlas Module 2.1
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      The full error is...

      HTTP Status 500 -
      
      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      java.lang.NoClassDefFoundError: org/openmrs/ui/framework/page/PageModel
      	java.lang.Class.getDeclaredMethods0(Native Method)
      	java.lang.Class.privateGetDeclaredMethods(Class.java:2534)
      	java.lang.Class.privateGetPublicMethods(Class.java:2654)
      	java.lang.Class.getMethods(Class.java:1467)
      	org.openmrs.ui.framework.UiFrameworkUtil.findControllerMethodForHttpRequestMethod(UiFrameworkUtil.java:72)
      	org.openmrs.ui.framework.UiFrameworkUtil.executeControllerMethod(UiFrameworkUtil.java:50)
      	org.openmrs.ui.framework.page.PageFactory.handleRequestWithController(PageFactory.java:224)
      	org.openmrs.ui.framework.page.PageFactory.processThisFragment(PageFactory.java:166)
      	org.openmrs.ui.framework.page.PageFactory.process(PageFactory.java:122)
      	org.openmrs.ui.framework.page.PageFactory.handle(PageFactory.java:92)
      	org.openmrs.module.uiframework.PageController.handlePath(PageController.java:110)
      	org.openmrs.module.uiframework.PageController.handleUrlWithDotPage(PageController.java:77)
      	sun.reflect.GeneratedMethodAccessor579.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:622)
      	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)
      	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
      	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      	org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:65)
      	org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:76)
      	org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)
      	org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:111)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      root cause
      
      java.lang.ClassNotFoundException: org.openmrs.ui.framework.page.PageModel
      	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)
      	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
      	org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:502)
      	java.lang.ClassLoader.loadClass(ClassLoader.java:268)
      	java.lang.Class.getDeclaredMethods0(Native Method)
      	java.lang.Class.privateGetDeclaredMethods(Class.java:2534)
      	java.lang.Class.privateGetPublicMethods(Class.java:2654)
      	java.lang.Class.getMethods(Class.java:1467)
      	org.openmrs.ui.framework.UiFrameworkUtil.findControllerMethodForHttpRequestMethod(UiFrameworkUtil.java:72)
      	org.openmrs.ui.framework.UiFrameworkUtil.executeControllerMethod(UiFrameworkUtil.java:50)
      	org.openmrs.ui.framework.page.PageFactory.handleRequestWithController(PageFactory.java:224)
      	org.openmrs.ui.framework.page.PageFactory.processThisFragment(PageFactory.java:166)
      	org.openmrs.ui.framework.page.PageFactory.process(PageFactory.java:122)
      	org.openmrs.ui.framework.page.PageFactory.handle(PageFactory.java:92)
      	org.openmrs.module.uiframework.PageController.handlePath(PageController.java:110)
      	org.openmrs.module.uiframework.PageController.handleUrlWithDotPage(PageController.java:77)
      	sun.reflect.GeneratedMethodAccessor579.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:622)
      	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
      	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)
      	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
      	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      	org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:65)
      	org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:76)
      	org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)
      	org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:111)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      note The full stack trace of the root cause is available in the Apache Tomcat/7.0.26 logs.
      
      Apache Tomcat/7.0.26
      

      This happens with OpenMRS Version: 1.10.0 Build d8b5d0

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: