Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The native application crashes on startup: "ClassNotFoundException: org.springframework.data.domain.Unpaged" #39254

Closed
rkudryashov opened this issue Jan 20, 2024 · 2 comments
Labels
for: external-project For an external project and not something we can fix status: invalid An issue that we don't feel is valid

Comments

@rkudryashov
Copy link

After upgrade to 3.2.2, it produces:

sb-repro     | org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mappingJackson2HttpMessageConverter': Unsatisfied dependency expressed through method 'mappingJackson2HttpMessageConverter' parameter 0: Error creating bean with name 'jacksonObjectMapper': Unsatisfied dependency expressed through method 'jacksonObjectMapper' parameter 0: Error creating bean with name 'jacksonObjectMapperBuilder': Unsatisfied dependency expressed through method 'jacksonObjectMapperBuilder' parameter 1: Error creating bean with name 'pageModule': Instantiation of supplied bean failed
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.resolveAutowiredArgument(BeanInstanceSupplier.java:344) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.resolveArguments(BeanInstanceSupplier.java:264) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.get(BeanInstanceSupplier.java:204) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:949) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1216) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:561) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1696) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1653) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1470) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1392) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider.resolveStream(DefaultListableBeanFactory.java:2198) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider.orderedStream(DefaultListableBeanFactory.java:2192) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration.messageConverters(HttpMessageConvertersAutoConfiguration.java:72) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  at org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration__BeanDefinitions.lambda$getMessageConvertersInstanceSupplier$0(HttpMessageConvertersAutoConfiguration__BeanDefinitions.java:31) ~[na:na]
sb-repro     |  at org.springframework.util.function.ThrowingBiFunction.apply(ThrowingBiFunction.java:68) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.util.function.ThrowingBiFunction.apply(ThrowingBiFunction.java:54) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.lambda$get$2(BeanInstanceSupplier.java:206) ~[na:na]
sb-repro     |  at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.invokeBeanSupplier(BeanInstanceSupplier.java:218) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.get(BeanInstanceSupplier.java:206) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:949) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1216) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:561) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider.getIfAvailable(DefaultListableBeanFactory.java:2112) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider.ifAvailable(DefaultListableBeanFactory.java:2123) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.configureMessageConverters(WebMvcAutoConfiguration.java:225) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  at org.springframework.web.servlet.config.annotation.WebMvcConfigurerComposite.configureMessageConverters(WebMvcConfigurerComposite.java:137) ~[na:na]
sb-repro     |  at org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration.configureMessageConverters(DelegatingWebMvcConfiguration.java:118) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.getMessageConverters(WebMvcConfigurationSupport.java:841) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.routerFunctionMapping(WebMvcConfigurationSupport.java:558) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport__BeanDefinitions.lambda$getRouterFunctionMappingInstanceSupplier$6(WebMvcConfigurationSupport__BeanDefinitions.java:144) ~[na:na]
sb-repro     |  at org.springframework.util.function.ThrowingBiFunction.apply(ThrowingBiFunction.java:68) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.util.function.ThrowingBiFunction.apply(ThrowingBiFunction.java:54) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.lambda$get$2(BeanInstanceSupplier.java:206) ~[na:na]
sb-repro     |  at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.invokeBeanSupplier(BeanInstanceSupplier.java:218) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.get(BeanInstanceSupplier.java:206) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:949) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1216) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:561) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:959) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  at com.romankudryashov.sbrepro.SbReproKt.main(SbRepro.kt:30) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at [email protected]/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH) ~[na:na]
sb-repro     | Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jacksonObjectMapper': Unsatisfied dependency expressed through method 'jacksonObjectMapper' parameter 0: Error creating bean with name 'jacksonObjectMapperBuilder': Unsatisfied dependency expressed through method 'jacksonObjectMapperBuilder' parameter 1: Error creating bean with name 'pageModule': Instantiation of supplied bean failed
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.resolveAutowiredArgument(BeanInstanceSupplier.java:344) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.resolveArguments(BeanInstanceSupplier.java:264) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.get(BeanInstanceSupplier.java:204) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:949) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1216) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:561) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:907) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.support.RegisteredBean.resolveAutowiredArgument(RegisteredBean.java:229) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.resolveAutowiredArgument(BeanInstanceSupplier.java:341) ~[na:na]
sb-repro     |  ... 73 common frames omitted
sb-repro     | Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jacksonObjectMapperBuilder': Unsatisfied dependency expressed through method 'jacksonObjectMapperBuilder' parameter 1: Error creating bean with name 'pageModule': Instantiation of supplied bean failed
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.resolveAutowiredArgument(BeanInstanceSupplier.java:344) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.resolveArguments(BeanInstanceSupplier.java:264) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.get(BeanInstanceSupplier.java:204) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:949) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1216) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:561) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:343) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:907) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.support.RegisteredBean.resolveAutowiredArgument(RegisteredBean.java:229) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.resolveAutowiredArgument(BeanInstanceSupplier.java:341) ~[na:na]
sb-repro     |  ... 90 common frames omitted
sb-repro     | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageModule': Instantiation of supplied bean failed
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1222) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:561) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.lambda$resolveMultipleBeans$9(DefaultListableBeanFactory.java:1475) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[na:na]
sb-repro     |  at [email protected]/java.util.Iterator.forEachRemaining(Iterator.java:133) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at [email protected]/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at [email protected]/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at [email protected]/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at [email protected]/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at [email protected]/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration.standardJacksonObjectMapperBuilderCustomizer(JacksonAutoConfiguration.java:180) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  at org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration__BeanDefinitions$Jackson2ObjectMapperBuilderCustomizerConfiguration.lambda$getStandardJacksonObjectMapperBuilderCustomizerInstanceSupplier$0(JacksonAutoConfiguration__BeanDefinitions.java:104) ~[na:na]
sb-repro     |  at org.springframework.util.function.ThrowingBiFunction.apply(ThrowingBiFunction.java:68) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.util.function.ThrowingBiFunction.apply(ThrowingBiFunction.java:54) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.lambda$get$2(BeanInstanceSupplier.java:206) ~[na:na]
sb-repro     |  at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.invokeBeanSupplier(BeanInstanceSupplier.java:218) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.get(BeanInstanceSupplier.java:206) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:949) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1216) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:561) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1689) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1653) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeanCollection(DefaultListableBeanFactory.java:1543) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1511) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1392) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:907) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.support.RegisteredBean.resolveAutowiredArgument(RegisteredBean.java:229) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.resolveAutowiredArgument(BeanInstanceSupplier.java:341) ~[na:na]
sb-repro     |  ... 105 common frames omitted
sb-repro     | Caused by: java.lang.ExceptionInInitializerError: null
sb-repro     |  at org.springframework.data.web.config.SpringDataJacksonConfiguration.pageModule(SpringDataJacksonConfiguration.java:46) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  at org.springframework.data.web.config.SpringDataJacksonConfiguration__BeanDefinitions.lambda$getPageModuleInstanceSupplier$1(SpringDataJacksonConfiguration__BeanDefinitions.java:46) ~[na:na]
sb-repro     |  at org.springframework.util.function.ThrowingFunction.apply(ThrowingFunction.java:63) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.util.function.ThrowingFunction.apply(ThrowingFunction.java:51) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.lambda$withGenerator$0(BeanInstanceSupplier.java:171) ~[na:na]
sb-repro     |  at org.springframework.util.function.ThrowingBiFunction.apply(ThrowingBiFunction.java:68) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.util.function.ThrowingBiFunction.apply(ThrowingBiFunction.java:54) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.lambda$get$2(BeanInstanceSupplier.java:206) ~[na:na]
sb-repro     |  at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.invokeBeanSupplier(BeanInstanceSupplier.java:218) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.aot.BeanInstanceSupplier.get(BeanInstanceSupplier.java:206) ~[na:na]
sb-repro     |  at org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:949) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1216) ~[com.romankudryashov.sbrepro.SbReproKt:6.1.3]
sb-repro     |  ... 152 common frames omitted
sb-repro     | Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.data.domain.Unpaged]
sb-repro     |  at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:355) ~[na:na]
sb-repro     |  at org.springframework.data.web.config.SpringDataJacksonConfiguration$PageModule.<clinit>(SpringDataJacksonConfiguration.java:57) ~[com.romankudryashov.sbrepro.SbReproKt:3.2.2]
sb-repro     |  ... 166 common frames omitted
sb-repro     | Caused by: java.lang.ClassNotFoundException: org.springframework.data.domain.Unpaged
sb-repro     |  at org.graalvm.nativeimage.builder/com.oracle.svm.core.hub.ClassForNameSupport.forName(ClassForNameSupport.java:122) ~[na:na]
sb-repro     |  at org.graalvm.nativeimage.builder/com.oracle.svm.core.hub.ClassForNameSupport.forName(ClassForNameSupport.java:86) ~[na:na]
sb-repro     |  at [email protected]/java.lang.Class.forName(DynamicHub.java:1346) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at [email protected]/java.lang.Class.forName(DynamicHub.java:1335) ~[com.romankudryashov.sbrepro.SbReproKt:na]
sb-repro     |  at org.springframework.util.ClassUtils.forName(ClassUtils.java:304) ~[na:na]
sb-repro     |  at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:345) ~[na:na]
sb-repro     |  ... 167 common frames omitted
sb-repro     |
sb-repro exited with code 1

Reproducer: https://github.com/rkudryashov/sb-repro

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 20, 2024
@wilkinsona
Copy link
Member

Thanks for the report. This regression is due to spring-projects/spring-data-commons@3f14df6. Can you please report it to the Spring Data Commons project?

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Jan 21, 2024
@wilkinsona wilkinsona added status: invalid An issue that we don't feel is valid for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 21, 2024
@rkudryashov
Copy link
Author

Probably it is already reported in spring-projects/spring-data-commons#3025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

3 participants