<< Back to previous view

[QB-595] Scheduled builds (cron) do not run after system ran out of disk space
Created: 02/Aug/10  Updated: 21/Aug/10

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wood Kong Assigned To: Robin Shen
Resolution: Cannot Reproduce Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Windows 2008


 Description   
Scheduled builds (cron) do not run after system ran out of disk space. Automatic back also not working. Space issue has been corrected and system was rebooted.

The following error was from the backup. Didn't see anything in the log about from cron not running.

2010-07-31 06:00:00,016 [DefaultQuartzScheduler_Worker-9] DEBUG com.pmease.quickbuild.jobs.DatabaseAutoBackup - Acquiring database exclusive lock...
2010-07-31 06:00:00,016 [DefaultQuartzScheduler_Worker-9] DEBUG com.pmease.quickbuild.jobs.DatabaseAutoBackup - Database exclusive lock acquired.
2010-07-31 06:00:00,016 [DefaultQuartzScheduler_Worker-9] INFO com.pmease.quickbuild.dao.HibernateDao - Loading meta data...
2010-07-31 06:00:00,025 [DefaultQuartzScheduler_Worker-9] INFO com.pmease.quickbuild.dao.HibernateDao - Loading configurations...
2010-07-31 06:00:00,188 [DefaultQuartzScheduler_Worker-9] INFO com.pmease.quickbuild.dao.HibernateDao - Loading builds...
2010-07-31 06:00:00,230 [DefaultQuartzScheduler_Worker-9] DEBUG com.pmease.quickbuild.jobs.DatabaseAutoBackup - Database exclusive lock released.
2010-07-31 06:00:00,230 [DefaultQuartzScheduler_Worker-9] ERROR com.pmease.quickbuild.jobs.DatabaseAutoBackup - Execution of database auto-backup failed.
org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: No row with the given identifier exists: [com.pmease.quickbuild.model.Configuration#124]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.pmease.quickbuild.model.Configuration#124]
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.pmease.quickbuild.model.Configuration#124]
at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:161)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:781)
at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:753)
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
at org.hibernate.type.EntityType.resolve(EntityType.java:303)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
at org.hibernate.loader.Loader.doQuery(Loader.java:717)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:223)
at org.hibernate.loader.Loader.doList(Loader.java:2147)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2026)
at org.hibernate.loader.Loader.list(Loader.java:2021)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:296)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:992)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at com.pmease.quickbuild.dao.HibernateDao.loadDataCollectionFacade(HibernateDao.java:1118)
at sun.reflect.GeneratedMethodAccessor1879.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:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at com.pmease.quickbuild.interceptor.HibernateExceptionConverter.invoke(HibernateExceptionConverter.java:21)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:162)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy1.loadDataCollectionFacade(Unknown Source)
at com.pmease.quickbuild.jobs.DatabaseAutoBackup.execute(DatabaseAutoBackup.java:44)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)


 Comments   
Comment by Robin Shen [ 03/Aug/10 06:08 AM ]
Are you running QuickBuild with the embedded HSQL database? The embedded HSQL database is known to be unreliable and may result in data inconsistency under abnormal conditions. You may have our support staff fixing your database by raising a support request at our web site if your support agreement is not expired.
Generated at Thu Oct 09 19:47:39 UTC 2025 using JIRA 189.