Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
None
-
None
Description
2015-07-22 01:55:37,556 ERROR [http-bio-8085-exec-66] [MovePlanServiceImpl] Error while moving plan
org.springframework.orm.hibernate3.HibernateSystemException: failed to lazily initialize a collection of role: com.atlassian.bamboo.resultsummary.vcs.RepositoryChangesetImpl.commits, no se
ssion or session was closed; nested exception is org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.atlassian.bamboo.resultsummary.vcs.Reposit
oryChangesetImpl.commits, no session or session was closed
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:708)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:414)
(...)
Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.atlassian.bamboo.resultsummary.vcs.RepositoryChangesetImpl.commits, 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 com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:598)
at com.atlassian.bamboo.resultsummary.BaseResultSummary.getCommits(BaseResultSummary.java:386)
at com.atlassian.bamboo.resultsummary.BaseResultSummary.getUniqueAuthors(BaseResultSummary.java:280)
at com.atlassian.bamboo.index.buildresult.BuildResultsSummaryDocumentFactory$5.run(BuildResultsSummaryDocumentFactory.java:220)
at com.atlassian.bamboo.util.BambooProfilingUtils.withUtilTimerStack(BambooProfilingUtils.java:98)
at com.atlassian.bamboo.index.buildresult.BuildResultsSummaryDocumentFactory.addAuthorDataToDocument(BuildResultsSummaryDocumentFactory.java:215)
at com.atlassian.bamboo.index.buildresult.BuildResultsSummaryDocumentFactory.access$200(Bu
Changin LAZY to FULL in indexPlan is possibly a solution.