Advertisement
Guest User

Untitled

a guest
May 16th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.46 KB | None | 0 0
  1. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
  2. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
  3. org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:64)
  4. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2345)
  5. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2852)
  6. org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
  7. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
  8. org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:320)
  9. org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:203)
  10. org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:129)
  11. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)
  12. org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)
  13. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)
  14. org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)
  15. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
  16. org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:713)
  17. org.hibernate.impl.SessionImpl.save(SessionImpl.java:701)
  18. org.hibernate.impl.SessionImpl.save(SessionImpl.java:697)
  19. org.openmrs.module.department.api.db.hibernate.HibernateDepartmentDAO.saveDepartment(HibernateDepartmentDAO.java:63)
  20. org.openmrs.module.department.api.impl.DepartmentServiceImpl.saveDepartment(DepartmentServiceImpl.java:64)
  21. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  22. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  23. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  24. java.lang.reflect.Method.invoke(Unknown Source)
  25. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  26. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  27. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  28. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
  29. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
  30. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
  31. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  32. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  33. com.sun.proxy.$Proxy273.saveDepartment(Unknown Source)
  34. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  35. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  36. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  37. java.lang.reflect.Method.invoke(Unknown Source)
  38. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  39. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  40. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  41. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
  42. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
  43. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
  44. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  45. org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  46. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  47. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
  48. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  49. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
  50. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  51. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  52. com.sun.proxy.$Proxy274.saveDepartment(Unknown Source)
  53. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  54. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  55. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  56. java.lang.reflect.Method.invoke(Unknown Source)
  57. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  58. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  59. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  60. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
  61. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
  62. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
  63. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  64. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  65. com.sun.proxy.$Proxy274.saveDepartment(Unknown Source)
  66. org.openmrs.module.department.web.controller.DepartmentManageController.submitDepartment(DepartmentManageController.java:67)
  67. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  68. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  69. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  70. java.lang.reflect.Method.invoke(Unknown Source)
  71. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
  72. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)
  73. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)
  74. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
  75. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
  76. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
  77. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855)
  78. javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
  79. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
  80. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
  81. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
  82. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  83. org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
  84. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  85. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  86. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
  87. org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
  88. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  89. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  90. org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  91. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  92. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  93. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  94. org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
  95. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  96. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  97. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  98. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  99. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  100. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  101. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  102. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  103. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  104. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  105. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  106. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  107. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  108. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  109. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  110. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  111. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  112. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
  113. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
  114. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
  115. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  116. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
  117. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534)
  118. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
  119. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
  120. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
  121. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
  122. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
  123. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  124. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  125. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  126. java.lang.Thread.run(Unknown Source)
  127. org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API at org.openmrs.api.context.Context.getUserContext(Context.java:247) at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:646) at org.apache.jsp.WEB_002dINF.view.uncaughtException_jsp._jspService(uncaughtException_jsp.java:536) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:468) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:263) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208) at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855) at javax.servlet.http.HttpServlet.service(HttpServlet.java:644) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:468) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:433) at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:376) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement