com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue

Atlassian JIRA | Adrian Deccico [Atlassian] | 6 years ago
  1. 0

    As it is stated here: https://bamboo.extranet.atlassian.com/admin/viewError.action?buildKey=CONFXHTML-SELENIUMIE8-JOB2&error=30 There is a weird error when a new build is launched. Please note that, there are no agents capable of running this job. The only one is off (have crashed before) so maybe it is related with that. Below is the stack trace. thanks com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomCustomPreBuildQueuedActions(BuildQueueManagerImpl.java:676) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueueWithLock(BuildQueueManagerImpl.java:136) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueue(BuildQueueManagerImpl.java:111) at com.atlassian.bamboo.v2.build.queue.BuildTriggeredListener.handleEvent(BuildTriggeredListener.java:21) at com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:55) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue at com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.failBuild(StartVirtualMachineAction.java:143) at com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.call(StartVirtualMachineAction.java:132) at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy240.call(Unknown Source) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomCustomPreBuildQueuedActions(BuildQueueManagerImpl.java:672) ... 9 more

    Atlassian JIRA | 6 years ago | Adrian Deccico [Atlassian]
    com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue
  2. 0

    As it is stated here: https://bamboo.extranet.atlassian.com/admin/viewError.action?buildKey=CONFXHTML-SELENIUMIE8-JOB2&error=30 There is a weird error when a new build is launched. Please note that, there are no agents capable of running this job. The only one is off (have crashed before) so maybe it is related with that. Below is the stack trace. thanks com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomCustomPreBuildQueuedActions(BuildQueueManagerImpl.java:676) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueueWithLock(BuildQueueManagerImpl.java:136) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueue(BuildQueueManagerImpl.java:111) at com.atlassian.bamboo.v2.build.queue.BuildTriggeredListener.handleEvent(BuildTriggeredListener.java:21) at com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:55) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue at com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.failBuild(StartVirtualMachineAction.java:143) at com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.call(StartVirtualMachineAction.java:132) at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy240.call(Unknown Source) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomCustomPreBuildQueuedActions(BuildQueueManagerImpl.java:672) ... 9 more

    Atlassian JIRA | 6 years ago | Adrian Deccico [Atlassian]
    com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue
  3. 0

    Somehow we got a deadlock database exeception this night. I don't know if we ever can reproduce this, but maybe you have a hint to look after such exceptions: {code} java.lang.RuntimeException: Could not synchronise build numbers of Jobs for 'xxxxx' at com.atlassian.bamboo.build.BuildNumberGeneratorServiceImpl.synchroniseJobsBuildNumbers(BuildNumberGeneratorServiceImpl.java:62) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.synchronizeJobsBuildNumbers(ChainExecutionManagerImpl.java:332) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.createChainState(ChainExecutionManagerImpl.java:286) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.start(ChainExecutionManagerImpl.java:170) at sun.reflect.GeneratedMethodAccessor1624.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy81.start(Unknown Source) at sun.reflect.GeneratedMethodAccessor1624.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at $Proxy82.start(Unknown Source) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.startWithLockTaken(PlanExecutionManagerImpl.java:249) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$100(PlanExecutionManagerImpl.java:40) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1.call(PlanExecutionManagerImpl.java:236) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1.call(PlanExecutionManagerImpl.java:230) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:324) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:68) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:360) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.start(PlanExecutionManagerImpl.java:229) at com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl$1.call(NonBlockingPlanExecutionServiceImpl.java:70) at com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl$1.call(NonBlockingPlanExecutionServiceImpl.java:61) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Unknown Source) Caused by: org.springframework.dao.ConcurrencyFailureException: Hibernate operation: Could not execute JDBC batch update; SQL []; Deadlock found when trying to get lock; try restarting transaction; nested exception is java.sql.BatchUpdateException: Deadlock found when trying to get lock; try restarting transaction at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:116) at org.springframework.orm.hibernate.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:364) at org.springframework.orm.hibernate.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:351) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:375) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:337) at com.atlassian.bamboo.build.BuildNumberGeneratorDaoImpl.updateJobsBuildNumbersNewTx(BuildNumberGeneratorDaoImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 $Proxy80.updateJobsBuildNumbersNewTx(Unknown Source) at com.atlassian.bamboo.build.BuildNumberGeneratorServiceImpl$2.run(BuildNumberGeneratorServiceImpl.java:56) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:333) at com.atlassian.bamboo.build.BuildNumberGeneratorServiceImpl.synchroniseJobsBuildNumbers(BuildNumberGeneratorServiceImpl.java:51) ... 35 more Caused by: java.sql.BatchUpdateException: Deadlock found when trying to get lock; try restarting transaction at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1998) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723) at net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:54) at net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:128) at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2440) at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2395) at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1823) at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:3654) at net.sf.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:238) at net.sf.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:385) at com.atlassian.bamboo.build.BuildNumberGeneratorDaoImpl$2.doInHibernate(BuildNumberGeneratorDaoImpl.java:72) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) ... 51 more {code}

    Atlassian JIRA | 4 years ago | Philipp Schill
    java.lang.RuntimeException: Could not synchronise build numbers of Jobs for 'FWA5-TLSBU23'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring 2.5 + TC 2.7.3 + Tomat 6.0.18 deployment problem

    Terracotta | 8 years ago | sajid
    java.lang.RuntimeException: field info metadata structure could not be build for field: org/springframework/context/support/AbstractApplicationContext.logger:Lorg/apache/commons/logging/Log;
  6. 0

    java.lang.LinkageError: cannot run jetty webapp with terracotta

    Terracotta | 8 years ago | joachimm
    java.lang.RuntimeException: field info metadata structure could not be build for field: org/springframework/context/support/AbstractAp plicationContext.logger:Lorg/apache/commons/logging/Log;

    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. java.lang.RuntimeException

      Could not start LabManager job. Build should not be put on the build queue

      at com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.failBuild()
    2. com.atlassian.bamboo
      StartVirtualMachineAction.call
      1. com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.failBuild(StartVirtualMachineAction.java:143)
      2. com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.call(StartVirtualMachineAction.java:132)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. Hibernate
      HibernateInterceptor.invoke
      1. org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      1 frame
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    7. Unknown
      $Proxy240.call
      1. $Proxy240.call(Unknown Source)
      1 frame
    8. com.atlassian.bamboo
      BuildTriggeredListener.handleEvent
      1. com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomCustomPreBuildQueuedActions(BuildQueueManagerImpl.java:672)
      2. com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueueWithLock(BuildQueueManagerImpl.java:136)
      3. com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueue(BuildQueueManagerImpl.java:111)
      4. com.atlassian.bamboo.v2.build.queue.BuildTriggeredListener.handleEvent(BuildTriggeredListener.java:21)
      4 frames
    9. com.atlassian.event
      AsynchronousAbleEventDispatcher$2.run
      1. com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:55)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
      2 frames
    10. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      2 frames
    11. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
      1 frame
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame