Error when doing a dry release:build
Asked by Shinal Pala:

I have created a plugin and moved from using confluence version 6.10.13 to 7.4.6 by changing the confluence.version property in the pom.xml file.

I have recreated my local test fixtures and cleaned/built/started confluence locally successfully.

After committing my code changes to the central repository i attemted a dryrun of the release build and I keep getting the following error:

\[INFO\] \[INFO\] \[talledLocalContainer\] 2021-04-12 09:30:51,196 ERROR \[main\] \[com.atlassian.threadlocal.BruteForceThreadLocalCleanup\] logErr Thread\[Caesium-1-2,5,Caesium-1\] created a ThreadLocal with key of type \[org.springframework.core.NamedThreadLocal\] (value \[Current aspect-driven transaction\]) and a value of type \[null\] (value \[null\]). This will be cleaned up  
\[INFO\] \[INFO\] \[talledLocalContainer\] 2021-04-12 09:30:51,200 ERROR \[Caesium-1-2\] \[plugins.edgeindex.job.EdgeIndexQueueFlusher\] lambda$null$0 Error performing index task: com.atlassian.confluence.plugins.edgeindex.lucene.tasks.ReIndexPermissionsIndexTask@2b6d4172  
\[INFO\] \[INFO\] \[talledLocalContainer\] org.eclipse.gemini.blueprint.service.importer.ServiceProxyDestroyedException: service proxy has been destroyed  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor$ServiceLookUpCallback.doWithRetry(ServiceDynamicInterceptor.java:101)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.eclipse.gemini.blueprint.service.importer.support.internal.support.RetryTemplate.execute(RetryTemplate.java:81)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.lookupService(ServiceDynamicInterceptor.java:427)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.getTarget(ServiceDynamicInterceptor.java:400)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.sun.proxy.$Proxy2384.getById(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.lucene.tasks.ReIndexPermissionsIndexTask.doReindex(ReIndexPermissionsIndexTask.java:73)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.lucene.tasks.ReIndexPermissionsIndexTask.lambda$perform$0(ReIndexPermissionsIndexTask.java:62)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:21)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.sal.spring.component.SpringHostContextAccessor.lambda$doInTransaction$0(SpringHostContextAccessor.java:70)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:68)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.access$001(ConfluenceSpringHostContextAccessor.java:21)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.lambda$doInTransaction$3(ConfluenceSpringHostContextAccessor.java:72)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:84)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:68)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.doInTransaction(ConfluenceSpringHostContextAccessor.java:72)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:18)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at java.lang.reflect.Method.invoke(Method.java:498)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.sun.proxy.$Proxy180.execute(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at java.lang.reflect.Method.invoke(Method.java:498)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:131)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.sun.proxy.$Proxy180.execute(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.lucene.tasks.ReIndexPermissionsIndexTask.perform(ReIndexPermissionsIndexTask.java:60)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.job.EdgeIndexQueueFlusher.lambda$null$0(EdgeIndexQueueFlusher.java:35)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.fugue.Option$Some.foreach(Option.java:441)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.lucene.JournalEdgeIndexTaskQueue.lambda$processEntriesInternal$1(JournalEdgeIndexTaskQueue.java:97)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.journal.DefaultJournalService.lambda$convert$0(DefaultJournalService.java:83)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.journal.DefaultJournalManager.processEntries(DefaultJournalManager.java:81)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.journal.JournalManager.processNewEntries(JournalManager.java:101)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.journal.DefaultJournalService.processEntries(DefaultJournalService.java:40)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.api.service.journal.JournalService.processNewEntries(JournalService.java:100)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at java.lang.reflect.Method.invoke(Method.java:498)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.sun.proxy.$Proxy385.processNewEntries(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at java.lang.reflect.Method.invoke(Method.java:498)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:131)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.sun.proxy.$Proxy385.processNewEntries(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.lucene.JournalEdgeIndexTaskQueue.processEntriesInternal(JournalEdgeIndexTaskQueue.java:93)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.lucene.JournalEdgeIndexTaskQueue.lambda$processEntries$0(JournalEdgeIndexTaskQueue.java:85)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:21)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.sal.spring.component.SpringHostContextAccessor.lambda$doInTransaction$0(SpringHostContextAccessor.java:70)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:68)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.access$001(ConfluenceSpringHostContextAccessor.java:21)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.lambda$doInTransaction$3(ConfluenceSpringHostContextAccessor.java:72)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:84)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:68)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.doInTransaction(ConfluenceSpringHostContextAccessor.java:72)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:18)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at java.lang.reflect.Method.invoke(Method.java:498)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.sun.proxy.$Proxy180.execute(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at java.lang.reflect.Method.invoke(Method.java:498)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:131)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.sun.proxy.$Proxy180.execute(Unknown Source)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.lucene.JournalEdgeIndexTaskQueue.processEntries(JournalEdgeIndexTaskQueue.java:82)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.job.EdgeIndexQueueFlusher.lambda$null$1(EdgeIndexQueueFlusher.java:33)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:491)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.job.EdgeIndexQueueFlusher.lambda$runJob$2(EdgeIndexQueueFlusher.java:33)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:524)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.plugins.edgeindex.job.EdgeIndexQueueFlusher.runJob(EdgeIndexQueueFlusher.java:33)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(JobRunnerWrapper.java:117)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.lambda$runJob$0(JobRunnerWrapper.java:87)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:84)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:68)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(JobRunnerWrapper.java:87)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:435)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:402)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:380)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:66)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:60)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:35)  
\[INFO\] \[INFO\] \[talledLocalContainer\] at java.lang.Thread.run(Thread.java:748)  
\[INFO\] \[INFO\] \[talledLocalContainer\] 2021-04-12 09:30:51,200 ERROR \[main\] \[com.atlassian.threadlocal.BruteForceThreadLocalCleanup\] logErr Thread\[Caesium-1-2,5,Caesium-1\] created a ThreadLocal with key of type \[org.springframework.core.NamedThreadLocal\] (value \[Prototype beans currently in creation\]) and a value of type \[null\] (value \[null\]). This will be cleaned up  
\[INFO\] \[INFO\] \[talledLocalContainer\] 2021-04-12 09:30:51,202 ERROR \[Caesium-1-2\] \[plugins.edgeindex.job.EdgeIndexQueueFlusher\] lambda$null$0 Error performing index task: com.atlassian.confluence.plugins.edgeindex.lucene.tasks.ReIndexPermissionsIndexTask@692c29a2 ....

Tomcat fails to start which results in confluence attempts to start failing.

Any pointers as to how i might be able to resolve this? I have also amended the confluence.data.version and tried to build but this hasnt made a difference.


Answers:
author: Fabian Lim
body: Hi [@Shinal Pala](/t5/user/viewprofilepage/user-id/3948738)

If you are still having issues with this one, I suggest you post it on the [dev community](https://community.developer.atlassian.com/) boards.

Good Luck.


Tags: confluence-server

server