Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

'Could not generate next build number..' error in bamboo after upgrade from 5.9.7 to 5.14

Deleted user July 31, 2018

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'

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 10, 2019

 

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

Sivarama Krishna
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 16, 2022

Recently observed the same issue in 8.0 version also

Like Roberto likes this
Mark Wolff July 7, 2023

I get this multiple times a day at times.  8.2.4.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events