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 SpringSource Issue Tracker by Emma Lin, 1 year ago
failed to lazily initialize a collection of role: com.vmware.bdd.entity.VcResourcePoolEntity.hadoopNodes, no session or session was closed
via SpringSource Issue Tracker by Emma Lin, 2 years ago
failed to lazily initialize a collection of role: com.vmware.bdd.entity.VcResourcePoolEntity.hadoopNodes, no session or session was closed
via Oracle Community by 843833, 1 year ago
failed to lazily initialize a collection of role: entities.User.userattributeCollection, no session or session was closed
via Coderanch by woo hwang, 1 year ago
failed to lazily initialize a collection of role: ejb3.Member.spreadsh eets, no session or session was closed
via Stack Overflow by user3625546
, 2 years ago
failed to lazily initialize a collection of role: com.sdnext.hibernate.tutorial.dto.UserDetails.lisOfAddresses, no session or session was closed
via Stack Overflow by user1007852
, 2 years ago
failed to lazily initialize a collection, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.vmware.bdd.entity.VcResourcePoolEntity.hadoopNodes, 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.isEmpty(PersistentSet.java:169)	at com.vmware.bdd.entity.VcResourcePoolEntity.toRest(VcResourcePoolEntity.java:110)	at com.vmware.bdd.service.resmgmt.impl.ResourcePoolService.getAllResourcePoolForRest(ResourcePoolService.java:219)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)	at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)	at com.vmware.bdd.manager.TestClusteringJobs.testResourcePoolList(TestClusteringJobs.java:381)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at java.lang.reflect.Method.invoke(Method.java:597)