net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36)

Atlassian JIRA | Charles Miller | 1 decade ago
  1. 0

    This is occasionally killing the DR5 on confluence.atlassian.com: [ERROR] Wed Nov 24 07:44:12 CST 2004 [net.sf.hibernate.proxy.LazyInitializer] Exception initializing proxy Throwable: net.sf.hibernate.HibernateException: Could not initialize proxy - the owning Session was closed at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:47) at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:60) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) [ERROR] Wed Nov 24 07:44:12 CST 2004 [com.atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/pages/viewpage.action (ViewPageAction.execute())' due to throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] Throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854) [ERROR] Wed Nov 24 07:44:12 CST 2004 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854)

    Atlassian JIRA | 1 decade ago | Charles Miller
    net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36)
  2. 0

    This is occasionally killing the DR5 on confluence.atlassian.com: [ERROR] Wed Nov 24 07:44:12 CST 2004 [net.sf.hibernate.proxy.LazyInitializer] Exception initializing proxy Throwable: net.sf.hibernate.HibernateException: Could not initialize proxy - the owning Session was closed at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:47) at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:60) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) [ERROR] Wed Nov 24 07:44:12 CST 2004 [com.atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/pages/viewpage.action (ViewPageAction.execute())' due to throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] Throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854) [ERROR] Wed Nov 24 07:44:12 CST 2004 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854)

    Atlassian JIRA | 1 decade ago | Charles Miller
    net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36)
  3. 0

    sorry for long story. some times agom i playef with conflunce api on work system. and something happens, confluence broken (sorry, i don't reproduce steps) (i play with creatr/delete user and spaces, and rights) i fix this situation manualy remove bad user from database (i known, i do wrong) :-( some time ago, i try backup confluence and recive error message in web windows i see following error message on red background 2006-06-27 14:01:11,406 ERROR [confluence.importexport.impl.BackupExporter] backupEntities Couldn't backup database data. net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.opensymphony.user.provider.hibernate.impl.HibernateUserImpl#171] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at com.atlassian.confluence.importexport.impl.XMLDatabinder.maybeInitializeIfProxy(XMLDatabinder.java:224) at com.atlassian.confluence.importexport.impl.XMLDatabinder.associatedObjectFound(XMLDatabinder.java:649) at com.atlassian.confluence.importexport.impl.XMLDatabinder.expandEntity(XMLDatabinder.java:634) at com.atlassian.confluence.importexport.impl.XMLDatabinder.collectObjectGraph(XMLDatabinder.java:558) at com.atlassian.confluence.importexport.impl.XMLDatabinder.toGenericXML(XMLDatabinder.java:133) at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.backupEntities(AbstractXmlExporter.java:177) at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.backupEverything(AbstractXmlExporter.java:85) i see in log file and see another error message 2006-06-27 14:01:11,390 ERROR [sf.hibernate.proxy.LazyInitializer] initializeWrapExceptions Exception initializing proxy net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 171, of class: com.opensymphony.user.provider.hibernate.impl.HibernateUserImpl at net.sf.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:24) at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1946) at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:53) at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:60) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at com.atlassian.confluence.importexport.impl.XMLDatabinder.maybeInitializeIfProxy(XMLDatabinder.java:224) at com.atlassian.confluence.importexport.impl.XMLDatabinder.associatedObjectFound(XMLDatabinder.java:649) i manualy add in database user with ID 171, and backup succefuly finished. i understand, i do wrong ;-) but maybe need some tools for database validation ? integrity testing ?

    Atlassian JIRA | 1 decade ago | Sergey Erokhin
    net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.opensymphony.user.provider.hibernate.impl.HibernateUserImpl#171]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    We started getting: {code} 2011-06-11 00:59:30,420 ERROR [QuartzScheduler_Worker-8] [JobRunShell] Job elastic agent monitor job group.elastic agent monitor job threw an unhandled Exception: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl#262570023] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl$$EnhancerByCGLIB$$cdcad96f.getBuildCompletedDate(<generated>) at com.atlassian.bamboo.agent.elastic.schedule.ElasticRunningInstancesOptimizer$3.isIdleLongerThan(ElasticRunningInstancesOptimizer.java:349) at com.atlassian.bamboo.agent.elastic.schedule.ElasticRunningInstancesOptimizer$3.apply(ElasticRunningInstancesOptimizer.java:340) at com.atlassian.bamboo.agent.elastic.schedule.ElasticRunningInstancesOptimizer$3.apply(ElasticRunningInstancesOptimizer.java:327) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:616) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:140) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:135) at com.atlassian.bamboo.agent.elastic.schedule.ElasticInstancesMonitorJob.execute(ElasticInstancesMonitorJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) {code} This will be fixed properly of course, but in any case, since this exception interferes only with the "is idle longer than" condition, it should not prevent the optimiser from shutting down the instance if all other conditions are met.

    Atlassian JIRA | 5 years ago | Przemek Bruski
    net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl#262570023]
  6. 0

    Please give me more info on what went wrong here, and how to resolve it. I see the following on my Bamboo pages - Bamboo failed to run the backup on 06 Jul 2013. See the logs for further details. I see the following on my bamboo server (/opt/bamboo/atlassian-bamboo-4.4.4/logs/atlassian-bamboo.log) - 2013-07-06 00:12:10,692 INFO [QuartzScheduler_Worker-9] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper@2ff18952 2013-07-06 00:12:10,724 ERROR [QuartzScheduler_Worker-9] [LazyInitializer] Exception initializing proxy net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 3375165, of class: com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl at net.sf.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:24) at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1948) at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:53) at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:60) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl$$EnhancerByCGLIB$$c1601371.getPlanResultKey(<generated>) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportProperties(ConsumedSubscriptionMapper.java:87) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportProperties(ConsumedSubscriptionMapper.java:27) at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:98) at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:149) at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:128) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportData(ConsumedSubscriptionMapper.java:133) at com.atlassian.bamboo.migration.XmlMigrator.exportToStream(XmlMigrator.java:499) at com.atlassian.bamboo.migration.XmlMigrator.exportXml(XmlMigrator.java:429) at com.atlassian.bamboo.migration.XmlMigrator$$FastClassByCGLIB$$b6578fc7.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:694) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:629) at com.atlassian.bamboo.migration.XmlMigrator$$EnhancerByCGLIB$$8177804.exportXml(<generated>) at com.atlassian.bamboo.migration.ImportExportManagerImpl.bambooExport(ImportExportManagerImpl.java:94) at com.atlassian.bamboo.configuration.ScheduledBackupJob.execute(ScheduledBackupJob.java:74) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) 2013-07-06 00:12:10,746 INFO [QuartzScheduler_Worker-9] [XmlMigrator] Ensuring the the file has been unmounted 2013-07-06 00:12:10,746 INFO [QuartzScheduler_Worker-9] [XmlMigrator] Unmounted /mnt/external/bamboo/atlassian-bamboo-4.4.4/backups/bamboo_backup_2013_07_06.zip 2013-07-06 00:12:10,749 INFO [QuartzScheduler_Worker-9] [ServerLifecycleManagerImpl] Server state changed to 'RUNNING' from 'PAUSED' 2013-07-06 00:12:10,749 ERROR [QuartzScheduler_Worker-9] [ScheduledBackupJob] net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl#3375165] net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl#3375165] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl$$EnhancerByCGLIB$$c1601371.getPlanResultKey(<generated>) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportProperties(ConsumedSubscriptionMapper.java:87) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportProperties(ConsumedSubscriptionMapper.java:27) at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:98) at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:149) at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:128) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportData(ConsumedSubscriptionMapper.java:133) at com.atlassian.bamboo.migration.XmlMigrator.exportToStream(XmlMigrator.java:499) at com.atlassian.bamboo.migration.XmlMigrator.exportXml(XmlMigrator.java:429) at com.atlassian.bamboo.migration.XmlMigrator$$FastClassByCGLIB$$b6578fc7.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) +++++++++++++++++++++++++ I also see the following - [root@ip-10-170-101-34 atlassian-bamboo-4.4.4]# cd /mnt/external/bamboo/atlassian-bamboo-4.4.4/backups [root@ip-10-170-101-34 backups]# [root@ip-10-170-101-34 backups]# [root@ip-10-170-101-34 backups]# [root@ip-10-170-101-34 backups]# ls -lrt total 9640 -rw-r--r--. 1 bamboo bamboo 4430460 Mar 16 00:01 bamboo_backup_2013_03_16.zip -rw-rw-r--. 1 bamboo bamboo 142132 Mar 23 00:01 bamboo_backup_2013_03_23.zip -rw-rw-r--. 1 bamboo bamboo 195266 Mar 30 00:01 bamboo_backup_2013_03_30.zip -rw-r--r--. 1 bamboo bamboo 273492 Apr 6 00:01 bamboo_backup_2013_04_06.zip -rw-r--r--. 1 bamboo bamboo 418151 Apr 13 00:01 bamboo_backup_2013_04_13.zip -rw-r--r--. 1 bamboo bamboo 176225 Apr 20 00:01 bamboo_backup_2013_04_20.zip -rw-rw-r--. 1 bamboo bamboo 185179 Apr 27 00:01 bamboo_backup_2013_04_27.zip -rw-rw-r--. 1 bamboo bamboo 204153 May 4 01:00 bamboo_backup_2013_05_04.zip -rw-rw-r--. 1 bamboo bamboo 231989 May 11 01:00 bamboo_backup_2013_05_11.zip -rw-rw-r--. 1 bamboo bamboo 295644 May 18 01:00 bamboo_backup_2013_05_18.zip -rw-rw-r--. 1 bamboo bamboo 322224 May 25 01:00 bamboo_backup_2013_05_25.zip -rw-rw-r--. 1 bamboo bamboo 343318 Jun 1 01:00 bamboo_backup_2013_06_01.zip -rw-rw-r--. 1 bamboo bamboo 367570 Jun 8 01:00 bamboo_backup_2013_06_08.zip -rw-rw-r--. 1 bamboo bamboo 434358 Jun 15 01:00 bamboo_backup_2013_06_15.zip -rw-rw-r--. 1 bamboo bamboo 455438 Jun 22 01:00 bamboo_backup_2013_06_22.zip -rw-rw-r--. 1 bamboo bamboo 537870 Jun 29 00:09 bamboo_backup_2013_06_29.zip -rw-rw-r--. 1 bamboo bamboo 821518 Jul 6 00:12 bamboo_backup_2013_07_06.zip

    Atlassian JIRA | 3 years ago | rajneesh sharma
    net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl#3375165]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. net.sf.hibernate.LazyInitializationException

      Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36)

      at net.sf.hibernate.engine.TypedValue.hashCode()
    2. net.sf.hibernate
      TypedValue.hashCode
      1. net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45)
      1 frame
    3. Java RT
      AbstractMap.hashCode
      1. java.util.HashMap$Entry.hashCode(HashMap.java:707)
      2. java.util.AbstractMap.hashCode(AbstractMap.java:556)
      2 frames
    4. net.sf.hibernate
      QueryKey.hashCode
      1. net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63)
      1 frame
    5. Java RT
      HashMap.put
      1. java.util.HashMap.hash(HashMap.java:261)
      2. java.util.HashMap.removeEntryForKey(HashMap.java:538)
      3. java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396)
      4. java.util.HashMap.put(HashMap.java:392)
      4 frames
    6. Ehcache
      Plugin.put
      1. net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177)
      2. net.sf.ehcache.Cache.put(Cache.java:318)
      3. net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146)
      3 frames