-
Bug
-
Resolution: Fixed
-
High
-
0.4.4
-
None
This is the exception that is thrown:
18:00:01,844 ERROR org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.atlassian.crowd.model.application.Application.directories, no session or session was closed org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.atlassian.crowd.model.application.Application.directories, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) at org.hibernate.collection.PersistentList.iterator(PersistentList.java:115) at com.atlassian.crowd.manager.license.CrowdLicenseManagerImpl.getCurrentResourceUsuageTotal(CrowdLicenseManagerImpl.java:141) at com.atlassian.crowd.license.LicenseResourceJob.getCurrentResourceTotal(LicenseResourceJob.java:125) at com.atlassian.crowd.license.LicenseResourceJob.executeInternal(LicenseResourceJob.java:38) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 18:00:01,844 FATAL atlassian.crowd.manager.license.CrowdLicenseManagerImpl: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.atlassian.crowd.model.application.Application.directories, no session or sess ion was closed 18:00:01,844 FATAL com.atlassian.crowd.license.LicenseResourceJob: com.atlassian.crowd.manager.license.CrowdLicenseManagerException: Failed to calculate the current number of 'used' resources.