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 Atlassian JIRA by Mark Chaimungkalanont, 1 year ago
via Atlassian JIRA by Mark Chaimungkalanont, 1 year ago
via jroller.com by Unknown author, 2 years ago
Failed to lazily initialize a collection - no session or session was closed
via Atlassian JIRA by Anatoli Kazatchkov [Atlassian], 1 year ago
Failed to lazily initialize a collection - no session or session was closed
via Atlassian JIRA by Anatoli Kazatchkov [Atlassian], 1 year ago
Failed to lazily initialize a collection - no session or session was closed
via Atlassian JIRA by Christopher Owen [Atlassian], 1 year ago
Failed to lazily initialize a collection - no session or session was closed
net.sf.hibernate.LazyInitializationException: cannot access loading collection	at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:191)	at net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71)	at net.sf.hibernate.collection.Set.isEmpty(Set.java:114)	at com.atlassian.bamboo.autofavourite.AutoFavouriteBuildCompleteAction.run(AutoFavouriteBuildCompleteAction.java:46)	at sun.reflect.GeneratedMethodAccessor434.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)	at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at undefined.$Proxy46.run(Unknown Source)	at com.atlassian.bamboo.v2.build.events.PostBuildCompletedEventListener.performCustomBuildCompleteAction(PostBuildCompletedEventListener.java:68)	at com.atlassian.bamboo.v2.build.events.PostBuildCompletedEventListener.handleEvent(PostBuildCompletedEventListener.java:41)	at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202)	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)	at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32)	at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)	at java.lang.Thread.run(Thread.java:595)