Guest User

Untitled

a guest
Aug 10th, 2020
20
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. HTTP Status 500 – Internal Server Error
  2. Type Exception Report
  3.  
  4. Message Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.hibernate.SessionFactory.getCurrentSession()Lorg/hibernate/classic/Session;
  5.  
  6. Description The server encountered an unexpected condition that prevented it from fulfilling the request.
  7.  
  8. Exception
  9.  
  10. org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.hibernate.SessionFactory.getCurrentSession()Lorg/hibernate/classic/Session;
  11. org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1287)
  12. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
  13. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  14. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  15. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
  16. javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
  17. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  18. javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
  19. org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  20. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  21. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
  22. org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  23. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  24. org.openmrs.module.referenceapplication.filter.RequireLoginLocationFilter.doFilter(RequireLoginLocationFilter.java:93)
  25. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  26. org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
  27. org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  28. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  29. org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  30. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  31. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  32. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  33. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  34. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  35. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  36. Root Cause
  37.  
  38. java.lang.NoSuchMethodError: org.hibernate.SessionFactory.getCurrentSession()Lorg/hibernate/classic/Session;
  39. org.openmrs.module.household.dao.hibernate.HibernateHouseholdDAO.getHouseholdDefinitionParent(HibernateHouseholdDAO.java:1087)
  40. org.openmrs.module.household.service.impl.HouseholdServiceImpl.getHouseholdDefinitionParent(HouseholdServiceImpl.java:1398)
  41. sun.reflect.GeneratedMethodAccessor656.invoke(Unknown Source)
  42. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  43. java.lang.reflect.Method.invoke(Method.java:498)
  44. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  45. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  46. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  47. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  48. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  49. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  50. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  51. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  52. com.sun.proxy.$Proxy274.getHouseholdDefinitionParent(Unknown Source)
  53. sun.reflect.GeneratedMethodAccessor656.invoke(Unknown Source)
  54. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  55. java.lang.reflect.Method.invoke(Method.java:498)
  56. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  57. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  58. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  59. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  60. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  61. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  62. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  63. org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52)
  64. org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:303)
  65. org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
  66. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  67. org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  68. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  69. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  70. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  71. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  72. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  73. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  74. com.sun.proxy.$Proxy275.getHouseholdDefinitionParent(Unknown Source)
  75. sun.reflect.GeneratedMethodAccessor656.invoke(Unknown Source)
  76. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  77. java.lang.reflect.Method.invoke(Method.java:498)
  78. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  79. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  80. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  81. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  82. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  83. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  84. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  85. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  86. com.sun.proxy.$Proxy275.getHouseholdDefinitionParent(Unknown Source)
  87. org.openmrs.module.household.web.controller.HouseholdDashboardController.preparePage(HouseholdDashboardController.java:32)
  88. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  89. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  90. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  91. java.lang.reflect.Method.invoke(Method.java:498)
  92. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
  93. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
  94. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
  95. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
  96. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  97. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  98. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
  99. javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
  100. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  101. javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
  102. org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  103. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  104. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
  105. org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  106. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  107. org.openmrs.module.referenceapplication.filter.RequireLoginLocationFilter.doFilter(RequireLoginLocationFilter.java:93)
  108. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  109. org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
  110. org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  111. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  112. org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  113. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  114. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  115. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  116. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  117. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  118. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  119. Note The full stack trace of the root cause is available in the server logs.
RAW Paste Data