I have upgraded Bamboo from version 5.9.7 to version 5.14 and now my existing plan could run with an error "Error encountered while triggering manual build: Could not generate next build number for 'NEW-TES'"----following are the logs -
***********************************************************************************
Caused by: java.lang.IllegalStateException: No build numbers record for plan NEW-TES
at com.google.common.base.Preconditions.checkState(Preconditions.java:173)
at com.atlassian.bamboo.build.BuildNumberGeneratorDaoImpl.generateBuildNumberNewTx(BuildNumberGeneratorDaoImpl.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy201.generateBuildNumberNewTx(Unknown Source)
at com.atlassian.bamboo.build.BuildNumberGeneratorServiceImpl.lambda$generateBuildNumber$0(BuildNumberGeneratorServiceImpl.java:30)
at io.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:293)
at com.atlassian.bamboo.build.BuildNumberGeneratorServiceImpl.generateBuildNumber(BuildNumberGeneratorServiceImpl.java:29)
... 315 more
2018-07-31 13:57:56,934 INFO [http-nio-8085-exec-19] [DefaultErrorHandler] Recording an error: Error encountered while triggering manual build: Could not generate next build number for 'NEW-TES' : NEW-TES : Could not generate next build number for 'NEW-TES'
Hi!
I hope the latest version 6.8.0 will cover your request
https://confluence.atlassian.com/bamboo/bamboo-releases-671089224.html
Cheers,
Gonchik Tsymzhitov
Recently observed the same issue in 8.0 version also
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.