testlens-app[bot] commented on PR #16230:
URL: https://github.com/apache/grails-core/pull/16230#issuecomment-5430071889

   ## 🚨 TestLens detected 6 failed tests 🚨
   
   Here is what you can do:
   
   1) Inspect the test failures carefully.
   2) If you are convinced that some of the tests are flaky, you can mute them 
below.
   3) Finally, trigger a rerun by checking the rerun checkbox.
   
   ### Test Summary
   
   #### [CI / Functional Tests \(Java 25, indy\=false, shard 
1\)](https://github.com/apache/grails-core/actions/runs/33001326403/job/98284008505?pr=16230)
 > :grails-test-examples-issue-11767:integrationTest
   
   | Test | Runs | Flakiness |
   |---|---|--:|
   | ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config 
values | ❌ | 0%&nbsp;🟢 |
   | ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config 
values > App Groovy Micronaut beans can load plugin config values | ❌ | 
0%&nbsp;🟢 |
   | ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config 
values > Plugin Groovy Micronaut beans can load plugin config values | ❌ | 
0%&nbsp;🟢 |
   | ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config 
values > Plugin Groovy Spring beans can load plugin config values | ❌ | 
0%&nbsp;🟢 |
   | ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config 
values > Plugin Java Micronaut beans can load plugin config values | ❌ | 
0%&nbsp;🟢 |
   
   #### [Groovy Snapshot Canary Build / Build Grails \(shard 
2\)](https://github.com/apache/grails-core/actions/runs/33001326371/job/98287457727?pr=16230)
 > :grails-test-examples-async-events-pubsub-demo:integrationTest
   
   | Test | Runs | Flakiness |
   |---|---|--:|
   | TaskControllerSpec > test async error handling | ❌ | 0%&nbsp;🟢 |
   
   🏷️ Commit: b3febc2d20b974b1afd89b81142c9fd1da03dfc5
   ▶️ Tests:  44715 executed
   🟡 Checks: 41/83 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>TaskControllerSpec > test async error handling</strong> 
(:grails-test-examples-async-events-pubsub-demo:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/33001326371/job/98287457727?pr=16230";>Groovy
 Snapshot Canary Build / Build Grails (shard 2)</a>)</summary>
   
   ```
   Condition failed with Exception:
   
   response.assertEquals(500, 'error occurred')
   |        |
   |        org.opentest4j.AssertionFailedError: Body differs
   |            at 
org.apache.grails.testing.http.client.TestHttpResponse.verifyBody(TestHttpResponse.groovy:858)
   |            at 
org.apache.grails.testing.http.client.TestHttpResponse.assertEquals(TestHttpResponse.groovy:567)
   |            at 
org.apache.grails.testing.http.client.TestHttpResponse.assertEquals(TestHttpResponse.groovy:581)
   |            at pubsub.demo.TaskControllerSpec.test async error 
handling(TaskControllerSpec.groovy:36)
   <org.apache.grails.testing.http.client.TestHttpResponse@4fd727d7 
delegate=inaccessible jsonSlurperConfig=inaccessible 
xmlSlurperConfig=inaccessible>
   
        at pubsub.demo.TaskControllerSpec.test async error 
handling(TaskControllerSpec.groovy:36)
   Caused by: org.opentest4j.AssertionFailedError: Body differs
        at 
org.apache.grails.testing.http.client.TestHttpResponse.verifyBody(TestHttpResponse.groovy:858)
        at 
org.apache.grails.testing.http.client.TestHttpResponse.assertEquals(TestHttpResponse.groovy:567)
        at 
org.apache.grails.testing.http.client.TestHttpResponse.assertEquals(TestHttpResponse.groovy:581)
        ... 1 more
   ```
   
   </details>
   <details>
   
   <summary><strong>ConfigLoadingSpec > <span>#</span>beanType beans can load 
plugin config values</strong> 
(:grails-test-examples-issue-11767:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/33001326403/job/98284008505?pr=16230";>CI
 / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Failed to load ApplicationContext for 
[WebMergedContextConfiguration@3bbc8c82 testClass = 
issue11767.app.ConfigLoadingSpec, locations = [], classes = 
[issue11767.app.Application], contextInitializerClasses = [], activeProfiles = 
[], propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@40a72ecd,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1b2df3aa,
 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@21da4b5f,
 org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, 
org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.c
 ontext.SpringBootTestAnnotation@e7d9d649], resourceBasePath = 
"src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
        at 
org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.extension.IDataDriver.lambda$static$0(IDataDriver.java:38)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'grailsEventBus': Error creating bean with name 
'grailsPromiseFactory': Instantiation of supplied bean failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1219)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1191)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1121)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:994)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:621)
        at 
org.springframework.boot.web.server.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:113)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:464)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:453)
        at issue11767.app.Application.main(Application.groovy:31)
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:281)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$1(SpringBootContextLoader.java:148)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.lambda$runMain$0(SpringBootContextLoader.java:593)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
        at 
org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:600)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.runMain(SpringBootContextLoader.java:592)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:143)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:114)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
        ... 18 more
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean 
failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1250)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299)
        at 
org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72)
        at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51)
        at 
org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811)
        ... 49 more
   Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: 
No bean named 'applicationTaskExecutor' available
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318)
        at 
org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$BeanSpecAdapter.lambda$supplier$0(BeanRegistryAdapter.java:292)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainInstanceFromSupplier(AbstractAutowireCapableBeanFactory.java:1283)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:1026)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1244)
        ... 62 more
   ```
   
   </details>
   <details>
   
   <summary><strong>ConfigLoadingSpec > <span>#</span>beanType beans can load 
plugin config values > App Groovy Micronaut beans can load plugin config 
values</strong> (:grails-test-examples-issue-11767:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/33001326403/job/98284008505?pr=16230";>CI
 / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Failed to load ApplicationContext for 
[WebMergedContextConfiguration@3bbc8c82 testClass = 
issue11767.app.ConfigLoadingSpec, locations = [], classes = 
[issue11767.app.Application], contextInitializerClasses = [], activeProfiles = 
[], propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@40a72ecd,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1b2df3aa,
 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@21da4b5f,
 org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, 
org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.c
 ontext.SpringBootTestAnnotation@e7d9d649], resourceBasePath = 
"src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
        at 
org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.extension.IDataDriver.lambda$static$0(IDataDriver.java:38)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'grailsEventBus': Error creating bean with name 
'grailsPromiseFactory': Instantiation of supplied bean failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1219)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1191)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1121)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:994)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:621)
        at 
org.springframework.boot.web.server.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:113)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:464)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:453)
        at issue11767.app.Application.main(Application.groovy:31)
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:281)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$1(SpringBootContextLoader.java:148)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.lambda$runMain$0(SpringBootContextLoader.java:593)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
        at 
org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:600)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.runMain(SpringBootContextLoader.java:592)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:143)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:114)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
        ... 18 more
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean 
failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1250)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299)
        at 
org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72)
        at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51)
        at 
org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811)
        ... 49 more
   Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: 
No bean named 'applicationTaskExecutor' available
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318)
        at 
org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$BeanSpecAdapter.lambda$supplier$0(BeanRegistryAdapter.java:292)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainInstanceFromSupplier(AbstractAutowireCapableBeanFactory.java:1283)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:1026)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1244)
        ... 62 more
   ```
   
   </details>
   <details>
   
   <summary><strong>ConfigLoadingSpec > <span>#</span>beanType beans can load 
plugin config values > Plugin Groovy Micronaut beans can load plugin config 
values</strong> (:grails-test-examples-issue-11767:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/33001326403/job/98284008505?pr=16230";>CI
 / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Failed to load ApplicationContext for 
[WebMergedContextConfiguration@3bbc8c82 testClass = 
issue11767.app.ConfigLoadingSpec, locations = [], classes = 
[issue11767.app.Application], contextInitializerClasses = [], activeProfiles = 
[], propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@40a72ecd,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1b2df3aa,
 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@21da4b5f,
 org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, 
org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.c
 ontext.SpringBootTestAnnotation@e7d9d649], resourceBasePath = 
"src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
        at 
org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.extension.IDataDriver.lambda$static$0(IDataDriver.java:38)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'grailsEventBus': Error creating bean with name 
'grailsPromiseFactory': Instantiation of supplied bean failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1219)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1191)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1121)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:994)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:621)
        at 
org.springframework.boot.web.server.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:113)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:464)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:453)
        at issue11767.app.Application.main(Application.groovy:31)
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:281)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$1(SpringBootContextLoader.java:148)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.lambda$runMain$0(SpringBootContextLoader.java:593)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
        at 
org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:600)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.runMain(SpringBootContextLoader.java:592)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:143)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:114)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
        ... 18 more
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean 
failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1250)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299)
        at 
org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72)
        at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51)
        at 
org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811)
        ... 49 more
   Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: 
No bean named 'applicationTaskExecutor' available
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318)
        at 
org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$BeanSpecAdapter.lambda$supplier$0(BeanRegistryAdapter.java:292)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainInstanceFromSupplier(AbstractAutowireCapableBeanFactory.java:1283)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:1026)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1244)
        ... 62 more
   ```
   
   </details>
   <details>
   
   <summary><strong>ConfigLoadingSpec > <span>#</span>beanType beans can load 
plugin config values > Plugin Groovy Spring beans can load plugin config 
values</strong> (:grails-test-examples-issue-11767:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/33001326403/job/98284008505?pr=16230";>CI
 / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Failed to load ApplicationContext for 
[WebMergedContextConfiguration@3bbc8c82 testClass = 
issue11767.app.ConfigLoadingSpec, locations = [], classes = 
[issue11767.app.Application], contextInitializerClasses = [], activeProfiles = 
[], propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@40a72ecd,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1b2df3aa,
 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@21da4b5f,
 org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, 
org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.c
 ontext.SpringBootTestAnnotation@e7d9d649], resourceBasePath = 
"src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
        at 
org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.extension.IDataDriver.lambda$static$0(IDataDriver.java:38)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'grailsEventBus': Error creating bean with name 
'grailsPromiseFactory': Instantiation of supplied bean failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1219)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1191)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1121)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:994)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:621)
        at 
org.springframework.boot.web.server.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:113)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:464)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:453)
        at issue11767.app.Application.main(Application.groovy:31)
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:281)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$1(SpringBootContextLoader.java:148)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.lambda$runMain$0(SpringBootContextLoader.java:593)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
        at 
org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:600)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.runMain(SpringBootContextLoader.java:592)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:143)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:114)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
        ... 18 more
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean 
failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1250)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299)
        at 
org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72)
        at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51)
        at 
org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811)
        ... 49 more
   Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: 
No bean named 'applicationTaskExecutor' available
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318)
        at 
org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$BeanSpecAdapter.lambda$supplier$0(BeanRegistryAdapter.java:292)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainInstanceFromSupplier(AbstractAutowireCapableBeanFactory.java:1283)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:1026)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1244)
        ... 62 more
   ```
   
   </details>
   <details>
   
   <summary><strong>ConfigLoadingSpec > <span>#</span>beanType beans can load 
plugin config values > Plugin Java Micronaut beans can load plugin config 
values</strong> (:grails-test-examples-issue-11767:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/33001326403/job/98284008505?pr=16230";>CI
 / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Failed to load ApplicationContext for 
[WebMergedContextConfiguration@3bbc8c82 testClass = 
issue11767.app.ConfigLoadingSpec, locations = [], classes = 
[issue11767.app.Application], contextInitializerClasses = [], activeProfiles = 
[], propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@40a72ecd,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1b2df3aa,
 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@21da4b5f,
 org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, 
org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.c
 ontext.SpringBootTestAnnotation@e7d9d649], resourceBasePath = 
"src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
        at 
org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.extension.IDataDriver.lambda$static$0(IDataDriver.java:38)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'grailsEventBus': Error creating bean with name 
'grailsPromiseFactory': Instantiation of supplied bean failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1219)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1191)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1121)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:994)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:621)
        at 
org.springframework.boot.web.server.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:113)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:464)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:453)
        at issue11767.app.Application.main(Application.groovy:31)
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:281)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$1(SpringBootContextLoader.java:148)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.lambda$runMain$0(SpringBootContextLoader.java:593)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
        at 
org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:600)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.runMain(SpringBootContextLoader.java:592)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:143)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:114)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
        ... 18 more
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean 
failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1250)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299)
        at 
org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72)
        at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51)
        at 
org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811)
        ... 49 more
   Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: 
No bean named 'applicationTaskExecutor' available
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318)
        at 
org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$BeanSpecAdapter.lambda$supplier$0(BeanRegistryAdapter.java:292)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainInstanceFromSupplier(AbstractAutowireCapableBeanFactory.java:1283)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:1026)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1244)
        ... 62 more
   ```
   
   </details>
   
   ### Rerun Controls
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config 
values <!-- 
uniqueId=[engine:spock]/[spec:issue11767.app.ConfigLoadingSpec]/[feature:$spock_feature_0_0]
 -->
   🔲 TaskControllerSpec > test async error handling <!-- 
uniqueId=[engine:spock]/[spec:pubsub.demo.TaskControllerSpec]/[feature:$spock_feature_0_0]
 -->
   
   Reuse successful test results:
   
   🔲 ♻️ Only rerun the tests that failed or were muted before
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at 
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to