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 Adrian Hempel [Atlassian], 1 year ago
via Atlassian JIRA by Adrian Hempel [Atlassian], 2 years ago
net.sf.hibernate.HibernateException: disconnected session	at net.sf.hibernate.collection.PersistentCollection.forceInitialization(PersistentCollection.java:335)	at net.sf.hibernate.impl.SessionImpl.initializeNonLazyCollections(SessionImpl.java:3168)	at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:143)	at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:1020)	at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:995)	at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:93)	at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:288)	at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3315)	at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195)	at net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71)	at net.sf.hibernate.collection.Set.iterator(Set.java:130)	at com.atlassian.bamboo.results.BuildResultsImpl.getUniqueAuthors(BuildResultsImpl.java:636)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:111)	at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:302)	at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:157)	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)	at org.apache.velocity.runtime.parser.node.ASTNENode.evaluate(ASTNENode.java:45)	at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:45)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:68)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)	at org.apache.velocity.Template.merge(Template.java:256)	at com.atlassian.bamboo.notification.conditions.BuildFailedandFirstFixedCondition.getTextEmail(BuildFailedandFirstFixedCondition.java:102)	at com.atlassian.bamboo.notification.NotificationListener.handleEvent(NotificationListener.java:113)	at sun.reflect.GeneratedMethodAccessor583.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.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at $Proxy35.handleEvent(Unknown Source)	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)