Details
-
Bug
-
Resolution: Unsolved Mysteries
-
Low
-
None
-
4.4.4
-
None
-
None
-
Severity 3 - Minor
-
Description
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-rr-. 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-rr-. 1 bamboo bamboo 273492 Apr 6 00:01 bamboo_backup_2013_04_06.zip
rw-rr-. 1 bamboo bamboo 418151 Apr 13 00:01 bamboo_backup_2013_04_13.zip
rw-rr-. 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