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 openxava by juanjovega
, 1 year ago
failed to lazily initialize a collection of role: org.openxava.laoficina.model.Collective.cmembers, no session or session was closed
via Oracle Community by 843833, 2 years ago
failed to lazily initialize a collection of role: entities.User.userattributeCollection, no session or session was closed
via scriptscoop.net by Unknown author, 2 years ago
failed to lazily initialize a collection of role: ru.hostlux.emailmanager.entity.hldovecot .DovecotHost.domains, no session or session was closed
via GitHub by sumitverma
, 1 year ago
failed to lazily initialize a collection of role: SlatwallProduct.skus, no session or session was closed
via Stack Overflow by mtchinthaka
, 2 years ago
failed to lazily initialize a collection of role: com.pos.entities.Item.itemPrices, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of    role: org.openxava.laoficina.model.Collective.cmembers, no session or session was closed	at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383)	at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:375)	at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:122)	at org.hibernate.collection.PersistentSet.size(PersistentSet.java:162)	at org.openxava.laoficina.servlets.CollectiveMembersServlet.doGet(CollectiveMembersServlet.java:34)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)