chore(deps): bump org.apache.httpcomponents.client5:httpclient5 #1384
GitHub Actions / Test Results
failed
Oct 7, 2024 in 0s
2 errors, 54 pass in 30s
Annotations
Check failure on line 0 in ProxyGeocoderTest
github-actions / Test Results
testType (ProxyGeocoderTest) with error
spring-boot/target/surefire-reports/TEST-ProxyGeocoderTest.xml [took 0s]
Raw output
Failed to resolve parameter [io.redlink.geocoding.Geocoder geocoder] in constructor [ProxyGeocoderTest(io.redlink.geocoding.Geocoder)]: Failed to load ApplicationContext for [MergedContextConfiguration@5fb0a09e testClass = ProxyGeocoderTest, locations = [], classes = [], contextInitializerClasses = [org.springframework.boot.test.context.ConfigDataApplicationContextInitializer], activeProfiles = ["proxy"], propertySourceDescriptors = [], propertySourceProperties = [], contextCustomizers = [[ImportsContextCustomizer@732bb49d key = [@org.springframework.test.context.ActiveProfiles(inheritProfiles=true, profiles={"proxy"}, resolver=org.springframework.test.context.ActiveProfilesResolver.class, value={"proxy"}), @org.springframework.boot.autoconfigure.EnableAutoConfiguration(exclude={}, excludeName={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.class}), @org.springframework.test.context.ContextConfiguration(classes={}, inheritInitializers=true, inheritLocations=true, initializers={org.springframework.boot.test.context.ConfigDataApplicationContextInitializer.class}, loader=org.springframework.test.context.ContextLoader.class, locations={}, name="", value={}), @org.springframework.boot.autoconfigure.AutoConfigurationPackage(basePackageClasses={}, basePackages={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationPackages.Registrar.class})]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@680362a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@238ad8c, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@6813a331], contextLoader = org.springframework.test.context.support.DelegatingSmartContextLoader, parent = null]
org.junit.jupiter.api.extension.ParameterResolutionException: Failed to resolve parameter [io.redlink.geocoding.Geocoder geocoder] in constructor [ProxyGeocoderTest(io.redlink.geocoding.Geocoder)]: Failed to load ApplicationContext for [MergedContextConfiguration@5fb0a09e testClass = ProxyGeocoderTest, locations = [], classes = [], contextInitializerClasses = [org.springframework.boot.test.context.ConfigDataApplicationContextInitializer], activeProfiles = ["proxy"], propertySourceDescriptors = [], propertySourceProperties = [], contextCustomizers = [[ImportsContextCustomizer@732bb49d key = [@org.springframework.test.context.ActiveProfiles(inheritProfiles=true, profiles={"proxy"}, resolver=org.springframework.test.context.ActiveProfilesResolver.class, value={"proxy"}), @org.springframework.boot.autoconfigure.EnableAutoConfiguration(exclude={}, excludeName={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.class}), @org.springframework.test.context.ContextConfiguration(classes={}, inheritInitializers=true, inheritLocations=true, initializers={org.springframework.boot.test.context.ConfigDataApplicationContextInitializer.class}, loader=org.springframework.test.context.ContextLoader.class, locations={}, name="", value={}), @org.springframework.boot.autoconfigure.AutoConfigurationPackage(basePackageClasses={}, basePackages={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationPackages.Registrar.class})]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@680362a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@238ad8c, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@6813a331], contextLoader = org.springframework.test.context.support.DelegatingSmartContextLoader, parent = null]
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext for [MergedContextConfiguration@5fb0a09e testClass = ProxyGeocoderTest, locations = [], classes = [], contextInitializerClasses = [org.springframework.boot.test.context.ConfigDataApplicationContextInitializer], activeProfiles = ["proxy"], propertySourceDescriptors = [], propertySourceProperties = [], contextCustomizers = [[ImportsContextCustomizer@732bb49d key = [@org.springframework.test.context.ActiveProfiles(inheritProfiles=true, profiles={"proxy"}, resolver=org.springframework.test.context.ActiveProfilesResolver.class, value={"proxy"}), @org.springframework.boot.autoconfigure.EnableAutoConfiguration(exclude={}, excludeName={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.class}), @org.springframework.test.context.ContextConfiguration(classes={}, inheritInitializers=true, inheritLocations=true, initializers={org.springframework.boot.test.context.ConfigDataApplicationContextInitializer.class}, loader=org.springframework.test.context.ContextLoader.class, locations={}, name="", value={}), @org.springframework.boot.autoconfigure.AutoConfigurationPackage(basePackageClasses={}, basePackages={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationPackages.Registrar.class})]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@680362a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@238ad8c, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@6813a331], contextLoader = org.springframework.test.context.support.DelegatingSmartContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:180)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:130)
at org.springframework.test.context.junit.jupiter.SpringExtension.getApplicationContext(SpringExtension.java:355)
at org.springframework.test.context.junit.jupiter.SpringExtension.resolveParameter(SpringExtension.java:341)
... 3 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proxyGeocoder' defined in class path resource [io/redlink/geocoding/spring/boot/autoconfigure/ProxyGeocodingAutoConfiguration.class]: Failed to instantiate [io.redlink.geocoding.proxy.ProxyGeocoder]: Factory method 'proxyGeocoder' threw exception with message: 'void org.apache.hc.core5.http.impl.io.DefaultHttpRequestWriterFactory.<init>(org.apache.hc.core5.http.config.Http1Config)'
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1355)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:971)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:625)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:221)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:110)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:212)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:225)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:152)
... 6 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.redlink.geocoding.proxy.ProxyGeocoder]: Factory method 'proxyGeocoder' threw exception with message: 'void org.apache.hc.core5.http.impl.io.DefaultHttpRequestWriterFactory.<init>(org.apache.hc.core5.http.config.Http1Config)'
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:178)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:644)
... 23 more
Caused by: java.lang.NoSuchMethodError: 'void org.apache.hc.core5.http.impl.io.DefaultHttpRequestWriterFactory.<init>(org.apache.hc.core5.http.config.Http1Config)'
at org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory.<init>(ManagedHttpClientConnectionFactory.java:86)
at org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory.<init>(ManagedHttpClientConnectionFactory.java:105)
at org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory.<init>(ManagedHttpClientConnectionFactory.java:120)
at org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory.<init>(ManagedHttpClientConnectionFactory.java:127)
at org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory.<init>(ManagedHttpClientConnectionFactory.java:131)
at org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory.<clinit>(ManagedHttpClientConnectionFactory.java:66)
at org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:250)
at org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManagerBuilder.build(PoolingHttpClientConnectionManagerBuilder.java:331)
at org.apache.hc.client5.http.impl.classic.HttpClientBuilder.build(HttpClientBuilder.java:850)
at io.redlink.geocoding.proxy.ProxyGeocoder.lambda$new$0(ProxyGeocoder.java:59)
at java.base/java.util.Objects.requireNonNullElseGet(Objects.java:310)
at io.redlink.geocoding.proxy.ProxyGeocoder.<init>(ProxyGeocoder.java:58)
at io.redlink.geocoding.proxy.ProxyGeocoder.<init>(ProxyGeocoder.java:70)
at io.redlink.geocoding.proxy.ProxyBuilder.create(ProxyBuilder.java:78)
at io.redlink.geocoding.spring.boot.autoconfigure.ProxyGeocodingAutoConfiguration.proxyGeocoder(ProxyGeocodingAutoConfiguration.java:64)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:146)
... 24 more
12:56:14.368 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [ProxyGeocoderTest]: ProxyGeocoderTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
12:56:14.621 [main] WARN org.springframework.context.support.GenericApplicationContext -- Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proxyGeocoder' defined in class path resource [io/redlink/geocoding/spring/boot/autoconfigure/ProxyGeocodingAutoConfiguration.class]: Failed to instantiate [io.redlink.geocoding.proxy.ProxyGeocoder]: Factory method 'proxyGeocoder' threw exception with message: 'void org.apache.hc.core5.http.impl.io.DefaultHttpRequestWriterFactory.<init>(org.apache.hc.core5.http.config.Http1Config)'
============================
CONDITIONS EVALUATION REPORT
============================
Positive matches:
-----------------
None
Negative matches:
-----------------
None
Exclusions:
-----------
None
Unconditional classes:
----------------------
None
Check failure on line 0 in ProxyGeocoderTest
github-actions / Test Results
testInject (ProxyGeocoderTest) with error
spring-boot/target/surefire-reports/TEST-ProxyGeocoderTest.xml [took 0s]
Raw output
Failed to resolve parameter [io.redlink.geocoding.Geocoder geocoder] in constructor [ProxyGeocoderTest(io.redlink.geocoding.Geocoder)]: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [MergedContextConfiguration@5fb0a09e testClass = ProxyGeocoderTest, locations = [], classes = [], contextInitializerClasses = [org.springframework.boot.test.context.ConfigDataApplicationContextInitializer], activeProfiles = ["proxy"], propertySourceDescriptors = [], propertySourceProperties = [], contextCustomizers = [[ImportsContextCustomizer@732bb49d key = [@org.springframework.test.context.ActiveProfiles(inheritProfiles=true, profiles={"proxy"}, resolver=org.springframework.test.context.ActiveProfilesResolver.class, value={"proxy"}), @org.springframework.boot.autoconfigure.EnableAutoConfiguration(exclude={}, excludeName={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.class}), @org.springframework.test.context.ContextConfiguration(classes={}, inheritInitializers=true, inheritLocations=true, initializers={org.springframework.boot.test.context.ConfigDataApplicationContextInitializer.class}, loader=org.springframework.test.context.ContextLoader.class, locations={}, name="", value={}), @org.springframework.boot.autoconfigure.AutoConfigurationPackage(basePackageClasses={}, basePackages={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationPackages.Registrar.class})]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@680362a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@238ad8c, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@6813a331], contextLoader = org.springframework.test.context.support.DelegatingSmartContextLoader, parent = null]
org.junit.jupiter.api.extension.ParameterResolutionException: Failed to resolve parameter [io.redlink.geocoding.Geocoder geocoder] in constructor [ProxyGeocoderTest(io.redlink.geocoding.Geocoder)]: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [MergedContextConfiguration@5fb0a09e testClass = ProxyGeocoderTest, locations = [], classes = [], contextInitializerClasses = [org.springframework.boot.test.context.ConfigDataApplicationContextInitializer], activeProfiles = ["proxy"], propertySourceDescriptors = [], propertySourceProperties = [], contextCustomizers = [[ImportsContextCustomizer@732bb49d key = [@org.springframework.test.context.ActiveProfiles(inheritProfiles=true, profiles={"proxy"}, resolver=org.springframework.test.context.ActiveProfilesResolver.class, value={"proxy"}), @org.springframework.boot.autoconfigure.EnableAutoConfiguration(exclude={}, excludeName={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.class}), @org.springframework.test.context.ContextConfiguration(classes={}, inheritInitializers=true, inheritLocations=true, initializers={org.springframework.boot.test.context.ConfigDataApplicationContextInitializer.class}, loader=org.springframework.test.context.ContextLoader.class, locations={}, name="", value={}), @org.springframework.boot.autoconfigure.AutoConfigurationPackage(basePackageClasses={}, basePackages={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationPackages.Registrar.class})]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@680362a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@238ad8c, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@6813a331], contextLoader = org.springframework.test.context.support.DelegatingSmartContextLoader, parent = null]
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [MergedContextConfiguration@5fb0a09e testClass = ProxyGeocoderTest, locations = [], classes = [], contextInitializerClasses = [org.springframework.boot.test.context.ConfigDataApplicationContextInitializer], activeProfiles = ["proxy"], propertySourceDescriptors = [], propertySourceProperties = [], contextCustomizers = [[ImportsContextCustomizer@732bb49d key = [@org.springframework.test.context.ActiveProfiles(inheritProfiles=true, profiles={"proxy"}, resolver=org.springframework.test.context.ActiveProfilesResolver.class, value={"proxy"}), @org.springframework.boot.autoconfigure.EnableAutoConfiguration(exclude={}, excludeName={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.class}), @org.springframework.test.context.ContextConfiguration(classes={}, inheritInitializers=true, inheritLocations=true, initializers={org.springframework.boot.test.context.ConfigDataApplicationContextInitializer.class}, loader=org.springframework.test.context.ContextLoader.class, locations={}, name="", value={}), @org.springframework.boot.autoconfigure.AutoConfigurationPackage(basePackageClasses={}, basePackages={}), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.AutoConfigurationPackages.Registrar.class})]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@680362a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@238ad8c, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@6813a331], contextLoader = org.springframework.test.context.support.DelegatingSmartContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:145)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:130)
at org.springframework.test.context.junit.jupiter.SpringExtension.getApplicationContext(SpringExtension.java:355)
at org.springframework.test.context.junit.jupiter.SpringExtension.resolveParameter(SpringExtension.java:341)
... 3 more
Loading