Guest User

LazyInitializationException

a guest
Jun 25th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 7.98 KB | None | 0 0
  1. ERROR - LazyInitializationException.<init>(42) |2016-06-25 11:26:44,935| could not initialize proxy - no Session
  2. org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  3.         at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167)
  4.         at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215)
  5.         at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
  6.         at org.openmrs.PatientIdentifierType_$$_jvst5b_15.toString(PatientIdentifierType_$$_jvst5b_15.java)
  7.         at java.lang.String.valueOf(String.java:2979)
  8.         at java.lang.StringBuilder.append(StringBuilder.java:131)
  9.         at org.openmrs.validator.PatientIdentifierValidator.validateIdentifier(PatientIdentifierValidator.java:119)
  10.         at org.openmrs.validator.PatientIdentifierValidator.validateIdentifier(PatientIdentifierValidator.java:84)
  11.         at org.openmrs.validator.PatientIdentifierValidator.validate(PatientIdentifierValidator.java:55)
  12.         at org.openmrs.validator.PatientValidator.validate(PatientValidator.java:104)
  13.         at org.openmrs.module.registrationapp.fragment.controller.RegisterPatientFragmentController.submit(RegisterPatientFragmentController.java:160)
  14.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  15.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  16.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  17.         at java.lang.reflect.Method.invoke(Method.java:483)
  18.         at org.openmrs.ui.framework.fragment.FragmentFactory.invokeFragmentAction(FragmentFactory.java:468)
  19.         at org.openmrs.module.uiframework.FragmentActionController.handlePath(FragmentActionController.java:143)
  20.         at org.openmrs.module.uiframework.FragmentActionController.handleUrlWithDotAction(FragmentActionController.java:103)
  21.         at sun.reflect.GeneratedMethodAccessor643.invoke(Unknown Source)
  22.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  23.         at java.lang.reflect.Method.invoke(Method.java:483)
  24.         at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
  25.         at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)
  26.         at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)
  27.         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)
  28.         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)
  29.         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
  30.         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
  31.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
  32.         at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
  33.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
  34.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
  35.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  36.         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  37.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  38.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  39.         at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
  40.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  41.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  42.         at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
  43.         at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
  44.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  45.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  46.         at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  47.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
  48.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  49.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  50.         at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:232)
  51.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
  52.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  53.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  54.         at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  55.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  56.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  57.         at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  58.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  59.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  60.         at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  61.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  62.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  63.         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  64.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
  65.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  66.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  67.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  68.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
  69.         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
  70.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
  71.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  72.         at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
  73.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
  74.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
  75.         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
  76.         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
  77.         at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2463)
  78.         at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2452)
  79.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  80.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  81.         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  82.         at java.lang.Thread.run(Thread.java:745)
Add Comment
Please, Sign In to add comment