bamboo not starting
Asked by qainterview:

Hello,   
My bamboo installation won't start. I am seeing the following error in my bamboo 5.2 logs. I have read some threads on to delete this particular row from the database. However, how to i find what table this record can be found in.

2014-01-21 22:17:01,729 ERROR \[QuartzScheduler_Worker-4\] \[DeletionServiceImpl\] Unable to complete delayed deletion:   
org.springframework.orm.hibernate.HibernateObjectRetrievalFailureException: No row with the given identifier exists: 52199497, of class: com.atlassian.bamboo.v2.build.agent.capability.RequirementSetImpl; nested exception is net.sf.hibernate.UnresolvableObjectException: No row with the given identifier exists: 52199497, of class: com.atlassian.bamboo.v2.build.agent.capability.RequirementSetImpl  
Caused by: net.sf.hibernate.UnresolvableObjectException: No row with the given identifier exists: 52199497, of class: com.atlassian.bamboo.v2.build.agent.capability.RequirementSetImpl  
at net.sf.hibernate.UnresolvableObjectException.throwIfNull(UnresolvableObjectException.java:38)  
at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1966)  
at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:69)  
at net.sf.hibernate.type.EntityType.resolveIdentifier(EntityType.java:208)  
at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2221)  
at net.sf.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:319)  
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:309)  
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138)  
at net.sf.hibernate.loader.Loader.doList(Loader.java:1063)  
at net.sf.hibernate.loader.Loader.list(Loader.java:1048)  
at net.sf.hibernate.loader.CriteriaLoader.list(CriteriaLoader.java:118)  
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:3662)  
at net.sf.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:238)  
at com.atlassian.bamboo.plan.PlanHibernateDao$15.doInHibernate(PlanHibernateDao.java:437)  
at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370)  
at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:341)  
at com.atlassian.bamboo.plan.PlanHibernateDao.getAllPlansMarkedForDeletion(PlanHibernateDao.java:433)  
at sun.reflect.GeneratedMethodAccessor502.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:606)  
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)  
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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)  
at com.sun.proxy.$Proxy42.getAllPlansMarkedForDeletion(Unknown Source)  
at com.atlassian.bamboo.plan.PlanManagerImpl.getAllPlansMarkedForDeletion(PlanManagerImpl.java:418)  
at sun.reflect.GeneratedMethodAccessor501.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:606)  
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)  
at com.atlassian.bamboo.security.acegi.intercept.aopalliance.AuthorityOverrideMethodSecurityInterceptor.invoke(AuthorityOverrideMethodSecurityInterceptor.java:29)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  
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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)  
at com.sun.proxy.$Proxy45.getAllPlansMarkedForDeletion(Unknown Source)  
at com.atlassian.bamboo.deletion.DeletionServiceImpl.executeDelayedDeletion(DeletionServiceImpl.java:450)  
at sun.reflect.GeneratedMethodAccessor496.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:606)  
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)  
at com.atlassian.bamboo.security.acegi.intercept.aopalliance.AuthorityOverrideMethodSecurityInterceptor.invoke(AuthorityOverrideMethodSecurityInterceptor.java:29)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)  
at com.sun.proxy.$Proxy108.executeDelayedDeletion(Unknown Source)  
at com.atlassian.bamboo.deletion.DeletionServiceJob.execute(DeletionServiceJob.java:26)  
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)  


Answers:
author: Jason Monsorno
body: Is this an installation or an upgrade?


Tags: bamboo-administration