testlens-app[bot] commented on PR #16237: URL: https://github.com/apache/grails-core/pull/16237#issuecomment-5458320707
## 🚨 TestLens detected 12 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 / Spring Security Config Functional Tests \(putWithParams\)](https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237) > :grails-test-examples-spring-security-core-functional-test-app:integrationTest | Test | Runs | Flakiness | |---|---|--:| | TestFormParamsControllerSpec > PATCH request to secured endpoint with parameters as x-www-form-urlencoded | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PATCH request with NULL Content-Type | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PATCH request with NULL Content-Type and parameters in the URL | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PATCH request with no parameters | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PATCH request with parameters as x-www-form-urlencoded | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PATCH request with parameters in the URL | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PUT request to secured endpoint with parameters as x-www-form-urlencoded | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PUT request with NULL Content-Type | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PUT request with NULL Content-Type and parameters in the URL | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PUT request with no parameters | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PUT request with parameters as x-www-form-urlencoded | ❌ | 0% 🟢 | | TestFormParamsControllerSpec > PUT request with parameters in the URL | ❌ | 0% 🟢 | 🏷️ Commit: a2301e00b87f07fe85339377f1984e5dd7d05a12 ▶️ Tests: 2800 executed 🟡 Checks: 20/82 completed ### Test Failures (first 10 of 12) <details> <summary><strong>TestFormParamsControllerSpec > PATCH request to secured endpoint with parameters as x-www-form-urlencoded</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237">CI / Spring Security Config Functional Tests (putWithParams)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@204fb56d testClass = specs.TestFormParamsControllerSpec, locations = [], classes = [functional.test.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@498c535d, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@b0f2d91, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@794eeaf8, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spri ng.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@cca8f031], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) 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.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>TestFormParamsControllerSpec > PATCH request with NULL Content-Type</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237">CI / Spring Security Config Functional Tests (putWithParams)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@204fb56d testClass = specs.TestFormParamsControllerSpec, locations = [], classes = [functional.test.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@498c535d, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@b0f2d91, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@794eeaf8, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spri ng.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@cca8f031], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) 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.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>TestFormParamsControllerSpec > PATCH request with NULL Content-Type and parameters in the URL</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237">CI / Spring Security Config Functional Tests (putWithParams)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@204fb56d testClass = specs.TestFormParamsControllerSpec, locations = [], classes = [functional.test.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@498c535d, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@b0f2d91, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@794eeaf8, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spri ng.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@cca8f031], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) 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.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>TestFormParamsControllerSpec > PATCH request with no parameters</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237">CI / Spring Security Config Functional Tests (putWithParams)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@204fb56d testClass = specs.TestFormParamsControllerSpec, locations = [], classes = [functional.test.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@498c535d, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@b0f2d91, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@794eeaf8, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spri ng.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@cca8f031], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) 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.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>TestFormParamsControllerSpec > PATCH request with parameters as x-www-form-urlencoded</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237">CI / Spring Security Config Functional Tests (putWithParams)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@204fb56d testClass = specs.TestFormParamsControllerSpec, locations = [], classes = [functional.test.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@498c535d, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@b0f2d91, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@794eeaf8, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spri ng.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@cca8f031], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) 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.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>TestFormParamsControllerSpec > PATCH request with parameters in the URL</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237">CI / Spring Security Config Functional Tests (putWithParams)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@204fb56d testClass = specs.TestFormParamsControllerSpec, locations = [], classes = [functional.test.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@498c535d, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@b0f2d91, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@794eeaf8, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spri ng.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@cca8f031], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) 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.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>TestFormParamsControllerSpec > PUT request to secured endpoint with parameters as x-www-form-urlencoded</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237">CI / Spring Security Config Functional Tests (putWithParams)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@204fb56d testClass = specs.TestFormParamsControllerSpec, locations = [], classes = [functional.test.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@498c535d, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@b0f2d91, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@794eeaf8, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spri ng.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@cca8f031], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) 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.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>TestFormParamsControllerSpec > PUT request with NULL Content-Type</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237">CI / Spring Security Config Functional Tests (putWithParams)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@204fb56d testClass = specs.TestFormParamsControllerSpec, locations = [], classes = [functional.test.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@498c535d, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@b0f2d91, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@794eeaf8, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spri ng.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@cca8f031], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) 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.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>TestFormParamsControllerSpec > PUT request with NULL Content-Type and parameters in the URL</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237">CI / Spring Security Config Functional Tests (putWithParams)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@204fb56d testClass = specs.TestFormParamsControllerSpec, locations = [], classes = [functional.test.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@498c535d, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@b0f2d91, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@794eeaf8, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spri ng.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@cca8f031], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) 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.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>TestFormParamsControllerSpec > PUT request with no parameters</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/33215094316/job/98996833564?pr=16237">CI / Spring Security Config Functional Tests (putWithParams)</a>)</summary> ``` java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@204fb56d testClass = specs.TestFormParamsControllerSpec, locations = [], classes = [functional.test.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@498c535d, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@b0f2d91, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@794eeaf8, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot. test.context.SpringBootTestAnnotation@cca8f031], 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.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'groovyPagesTemplateEngine': Cannot resolve reference to bean 'groovyPageLocator' while setting bean property 'groovyPageLocator' at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:377) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:135) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1710) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1459) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602) 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:1225) 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 functional.test.app.Application.main(Application.groovy:29) 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) ... 17 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'groovyPageLocator': Unsatisfied dependency expressed through method 'setMimeTypeResolver' parameter 0: Error creating bean with name 'org.grails.plugins.web.mime.MimeTypesConfiguration': Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'jsonDataBindingSourceCreator': Unsatisfied dependency expressed through field 'jsonMapper': Error creating bean with name 'jacksonJsonMapper' defined in class path resource [org/springframework/boot/jackson/autoconfigure/JacksonAutoConfiguration.class]: Unsatisfied dependency expressed through method 'jacksonJsonMapper' parameter 0: Error creating bean with name 'jsonMapperBuilder' defined in class path resource [org/springframework/boot/jackson/autoconfigure/JacksonAutoConfiguration.class]: Failed to instantiate [tools.jackson.databind.json.JsonMapper$Builder]: Factory method 'jsonMapperBuilder' threw exception with message: The method [public abstract java.util.Collection org.grails.datastore.mapping.model.MappingContext.getPersistentEntities()] cannot be accessed before GORM has initialized at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:872) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:827) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:146) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:493) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1444) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602) 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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:365) ... 51 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.grails.plugins.web.mime.MimeTypesConfiguration': Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'jsonDataBindingSourceCreator': Unsatisfied dependency expressed through field 'jsonMapper': Error creating bean with name 'jacksonJsonMapper' defined in class path resource [org/springframework/boot/jackson/autoconfigure/JacksonAutoConfiguration.class]: Unsatisfied dependency expressed through method 'jacksonJsonMapper' parameter 0: Error creating bean with name 'jsonMapperBuilder' defined in class path resource [org/springframework/boot/jackson/autoconfigure/JacksonAutoConfiguration.class]: Failed to instantiate [tools.jackson.databind.json.JsonMapper$Builder]: Factory method 'jsonMapperBuilder' threw exception with message: The method [public abstract java.util.Collection org.grails.datastore.mapping.model.MappingContext.getP ersistentEntities()] cannot be accessed before GORM has initialized at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1380) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1219) 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.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:413) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1360) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1192) 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:201) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1769) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1658) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:864) ... 62 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jsonDataBindingSourceCreator': Unsatisfied dependency expressed through field 'jsonMapper': Error creating bean with name 'jacksonJsonMapper' defined in class path resource [org/springframework/boot/jackson/autoconfigure/JacksonAutoConfiguration.class]: Unsatisfied dependency expressed through method 'jacksonJsonMapper' parameter 0: Error creating bean with name 'jsonMapperBuilder' defined in class path resource [org/springframework/boot/jackson/autoconfigure/JacksonAutoConfiguration.class]: Failed to instantiate [tools.jackson.databind.json.JsonMapper$Builder]: Factory method 'jsonMapperBuilder' threw exception with message: The method [public abstract java.util.Collection org.grails.datastore.mapping.model.MappingContext.getPersistentEntities()] cannot be accessed before GORM has initialized at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:767) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:748) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:146) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:493) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1444) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602) 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:201) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229) at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:2015) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1978) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeanCollection(DefaultListableBeanFactory.java:1870) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1840) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1718) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1658) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ... 84 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jacksonJsonMapper' defined in class path resource [org/springframework/boot/jackson/autoconfigure/JacksonAutoConfiguration.class]: Unsatisfied dependency expressed through method 'jacksonJsonMapper' parameter 0: Error creating bean with name 'jsonMapperBuilder' defined in class path resource [org/springframework/boot/jackson/autoconfigure/JacksonAutoConfiguration.class]: Failed to instantiate [tools.jackson.databind.json.JsonMapper$Builder]: Factory method 'jsonMapperBuilder' threw exception with message: The method [public abstract java.util.Collection org.grails.datastore.mapping.model.MappingContext.getPersistentEntities()] cannot be accessed before GORM has initialized at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1360) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1192) 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:201) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1769) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1658) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:764) ... 103 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jsonMapperBuilder' defined in class path resource [org/springframework/boot/jackson/autoconfigure/JacksonAutoConfiguration.class]: Failed to instantiate [tools.jackson.databind.json.JsonMapper$Builder]: Factory method 'jsonMapperBuilder' threw exception with message: The method [public abstract java.util.Collection org.grails.datastore.mapping.model.MappingContext.getPersistentEntities()] cannot be accessed before GORM has initialized at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:657) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:645) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1360) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1192) 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.doGetBean(AbstractBeanFactory.java:351) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1769) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1658) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ... 116 more Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [tools.jackson.databind.json.JsonMapper$Builder]: Factory method 'jsonMapperBuilder' threw exception with message: The method [public abstract java.util.Collection org.grails.datastore.mapping.model.MappingContext.getPersistentEntities()] cannot be accessed before GORM has initialized at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:183) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:72) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:152) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ... 128 more Caused by: org.grails.core.exceptions.GrailsConfigurationException: The method [public abstract java.util.Collection org.grails.datastore.mapping.model.MappingContext.getPersistentEntities()] cannot be accessed before GORM has initialized at grails.core.DefaultGrailsApplication$1.invoke(DefaultGrailsApplication.java:123) at org.grails.web.converters.jackson.GrailsJsonMapperCustomizer.customize(GrailsJsonMapperCustomizer.java:69) at org.springframework.boot.jackson.autoconfigure.JacksonAutoConfiguration.lambda$jsonMapperBuilder$0(JacksonAutoConfiguration.java:128) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.stream.SortedOps$RefSortingSink.end(SortedOps.java:395) at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:261) at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:261) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:510) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at org.springframework.boot.jackson.autoconfigure.JacksonAutoConfiguration.jsonMapperBuilder(JacksonAutoConfiguration.java:128) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:155) ... 131 more ``` </details> ### Rerun Controls > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 TestFormParamsControllerSpec > PATCH request to secured endpoint with parameters as x-www-form-urlencoded <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_9] --> 🔲 TestFormParamsControllerSpec > PATCH request with NULL Content-Type <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_11] --> 🔲 TestFormParamsControllerSpec > PATCH request with NULL Content-Type and parameters in the URL <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_10] --> 🔲 TestFormParamsControllerSpec > PATCH request with no parameters <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_5] --> 🔲 TestFormParamsControllerSpec > PATCH request with parameters as x-www-form-urlencoded <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_7] --> 🔲 TestFormParamsControllerSpec > PATCH request with parameters in the URL <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_6] --> 🔲 TestFormParamsControllerSpec > PUT request to secured endpoint with parameters as x-www-form-urlencoded <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_8] --> 🔲 TestFormParamsControllerSpec > PUT request with NULL Content-Type <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_4] --> 🔲 TestFormParamsControllerSpec > PUT request with NULL Content-Type and parameters in the URL <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_3] --> 🔲 TestFormParamsControllerSpec > PUT request with no parameters <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_0] --> 🔲 TestFormParamsControllerSpec > PUT request with parameters as x-www-form-urlencoded <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_2] --> 🔲 TestFormParamsControllerSpec > PUT request with parameters in the URL <!-- uniqueId=[engine:spock]/[spec:specs.TestFormParamsControllerSpec]/[feature:$spock_feature_0_1] --> 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]
