Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Dahn, 2 years ago
could not initialize proxy - no Session
via hibernate.org by Unknown author, 2 years ago
via com.br by Unknown author, 2 years ago
could not initialize proxy - no Session
via Apereo Issues by Dan McCallum, 2 years ago
via Apereo Issues by Dan McCallum, 1 year ago
org.hibernate.LazyInitializationException: could not initialize proxy - no Session	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86)	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140)	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)	at com.mycompany.myproject.domain.MyObject_$$_javassist_20.hashCode(MyObject_$$_javassist_20.java)	at org.apache.commons.lang.builder.HashCodeBuilder.append(HashCodeBuilder.java:452)	at org.apache.commons.lang.builder.HashCodeBuilder.reflectionAppend(HashCodeBuilder.java:413)	at org.apache.commons.lang.builder.HashCodeBuilder.reflectionHashCode(HashCodeBuilder.java:379)	at org.apache.commons.lang.builder.HashCodeBuilder.reflectionHashCode(HashCodeBuilder.java:155)	at com.mycompany.myproject.domain.DomainObject.hashCode(DomainObject.java:14)	at java.util.HashMap.hash(HashMap.java:324)	at java.util.HashMap.containsKey(HashMap.java:470)	at java.util.HashSet.contains(HashSet.java:207)	at org.apache.commons.lang.builder.ReflectionToStringBuilder.isRegistered(ReflectionToStringBuilder.java:135)	at org.apache.commons.lang.builder.ReflectionToStringBuilder.appendFieldsIn(ReflectionToStringBuilder.java:660)	at org.apache.commons.lang.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:867)	at org.apache.commons.lang.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:339)	at org.apache.commons.lang.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:173)	at org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(ToStringBuilder.java:124)	at com.mycompany.myproject.domain.DomainObject.toString(DomainObject.java:24)	at java.lang.String.valueOf(String.java:1505)	at java.util.AbstractCollection.toString(AbstractCollection.java:469)	at com.ibm.ws.webcontainer.srt.SRTServletRequest.setAttribute(SRTServletRequest.java:488)	at org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes(AbstractView.java:337)	at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:206)	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1036)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:565)	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)	at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236)	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1036)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)	at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:186)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:565)	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)