Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Got "Error creating bean with name 'ambariClusterUpscaleService': Injection of autowired dependencies failed" error when running with my own sequenceiq/cloudbreak Docker image

Got "Error creating bean with name 'ambariClusterUpscaleService': Injection of autowired dependencies failed" error when running with my own sequenceiq/cloudbreak Docker image

Explorer

I want to change the HEAT Template,

so I

  1. changed HEAT Template
  2. rebuild cloudbreak.jar: ./gradlew clean build
  3. built my own Docker image with the new cloudbreak.jar: sudo docker build -f Dockerfile.sso --rm -t sequenceiq/cloudbreak:sso-v01 .
  4. regenerate the XML: sudo CBD_DEFAULT_PROFILE=sso cbd regenerate
  5. restart CBD: sudo CBD_DEFAULT_PROFILE=sso cbd start
  6. However, I got the following error
/cbreak_cloudbreak_1 | 2016-08-20 14:01:21,425 [main] log:180 INFO  o.a.c.c.StandardService - [owner:spring] [type:springLog] [id:] [name:] Stopping service Tomcat
/cbreak_cloudbreak_1 | 2016-08-20 14:01:21,454 [main] handleRunFailure:827 ERROR o.s.b.SpringApplication - [owner:spring] [type:springLog] [id:] [name:] Application startup failed
/cbreak_cloudbreak_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ambariClusterUpscaleService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner com.sequenceiq.cloudbreak.core.cluster.AmbariClusterUpscaleService.containerRunner; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterContainerRunner': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner.conversionService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
/cbreak_cloudbreak_1 |     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
/cbreak_cloudbreak_1 |     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
/cbreak_cloudbreak_1 |     at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
/cbreak_cloudbreak_1 |     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
/cbreak_cloudbreak_1 |     at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
/cbreak_cloudbreak_1 |     at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
/cbreak_cloudbreak_1 |     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)
/cbreak_cloudbreak_1 |     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)
/cbreak_cloudbreak_1 |     at com.sequenceiq.cloudbreak.CloudbreakApplication.main(CloudbreakApplication.java:22)
/cbreak_cloudbreak_1 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
/cbreak_cloudbreak_1 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
/cbreak_cloudbreak_1 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
/cbreak_cloudbreak_1 |     at java.lang.reflect.Method.invoke(Method.java:498)
/cbreak_cloudbreak_1 |     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
/cbreak_cloudbreak_1 |     at java.lang.Thread.run(Thread.java:745)
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner com.sequenceiq.cloudbreak.core.cluster.AmbariClusterUpscaleService.containerRunner; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterContainerRunner': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner.conversionService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
/cbreak_cloudbreak_1 |     ... 23 common frames omitted
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterContainerRunner': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner.conversionService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
/cbreak_cloudbreak_1 |     ... 25 common frames omitted
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner.conversionService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
/cbreak_cloudbreak_1 |     ... 36 common frames omitted
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
/cbreak_cloudbreak_1 |     ... 38 common frames omitted
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
/cbreak_cloudbreak_1 |     ... 50 common frames omitted
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:534)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:523)
/cbreak_cloudbreak_1 |     at org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.getBeansOfType(WebMvcAutoConfiguration.java:251)
/cbreak_cloudbreak_1 |     at org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.addFormatters(WebMvcAutoConfiguration.java:239)
/cbreak_cloudbreak_1 |     at org.springframework.web.servlet.config.annotation.WebMvcConfigurerComposite.addFormatters(WebMvcConfigurerComposite.java:49)
/cbreak_cloudbreak_1 |     at org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration.addFormatters(DelegatingWebMvcConfiguration.java:117)
/cbreak_cloudbreak_1 |     at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.mvcConversionService(WebMvcConfigurationSupport.java:535)
/cbreak_cloudbreak_1 |     at org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$af0f1d57.CGLIB$mvcConversionService$28(<generated>)
/cbreak_cloudbreak_1 |     at org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$af0f1d57$$FastClassBySpringCGLIB$$1ae75e65.invoke(<generated>)
/cbreak_cloudbreak_1 |     at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
/cbreak_cloudbreak_1 |     at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)
/cbreak_cloudbreak_1 |     at org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$af0f1d57.mvcConversionService(<generated>)
/cbreak_cloudbreak_1 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
/cbreak_cloudbreak_1 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
/cbreak_cloudbreak_1 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
/cbreak_cloudbreak_1 |     at java.lang.reflect.Method.invoke(Method.java:498)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
/cbreak_cloudbreak_1 |     ... 51 common frames omitted
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
/cbreak_cloudbreak_1 |     ... 75 common frames omitted
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1373)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1119)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
/cbreak_cloudbreak_1 |     ... 77 common frames omitted
/cbreak_cloudbreak_1 | 2016-08-20 14:01:21,501 [main] callFinishedListener:91 WARN  o.s.b.SpringApplication - [owner:spring] [type:springLog] [id:] [name:] Error handling failed (Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.config.internalCacheAdvisor' defined in class path resource [org/springframework/cache/annotation/ProxyCachingConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cache.interceptor.BeanFactoryCacheOperationSourceAdvisor]: Factory method 'cacheAdvisor' threw exception; nested exception is java.lang.NullPointerException)
/cbreak_cloudbreak_1 | Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
/cbreak_cloudbreak_1 |     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62)
/cbreak_cloudbreak_1 |     at java.lang.Thread.run(Thread.java:745)
/cbreak_cloudbreak_1 | Caused by: java.lang.reflect.InvocationTargetException
/cbreak_cloudbreak_1 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
/cbreak_cloudbreak_1 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
/cbreak_cloudbreak_1 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
/cbreak_cloudbreak_1 |     at java.lang.reflect.Method.invoke(Method.java:498)
/cbreak_cloudbreak_1 |     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
/cbreak_cloudbreak_1 |     ... 1 more
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ambariClusterUpscaleService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner com.sequenceiq.cloudbreak.core.cluster.AmbariClusterUpscaleService.containerRunner; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterContainerRunner': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner.conversionService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 | Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hostGroupToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.converter.HostGroupToJsonConverter.conversionService; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'mvcConversionService': Requested bean is currently in creation: Is there an unresolvable circular reference?
/cbreak_cloudbreak_1 | Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jsonToStackValidationConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.converter.JsonToStackValidationConverter.conversionService; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'mvcConversionService': Requested bean is currently in creation: Is there an unresolvable circular reference?
/cbreak_cloudbreak_1 | Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stackToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.converter.StackToJsonConverter.conversionService; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'mvcConversionService': Requested bean is currently in creation: Is there an unresolvable circular reference?
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
/cbreak_cloudbreak_1 |     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
/cbreak_cloudbreak_1 |     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
/cbreak_cloudbreak_1 |     at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
/cbreak_cloudbreak_1 |     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
/cbreak_cloudbreak_1 |     at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
/cbreak_cloudbreak_1 |     at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
/cbreak_cloudbreak_1 |     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)
/cbreak_cloudbreak_1 |     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)
/cbreak_cloudbreak_1 |     at com.sequenceiq.cloudbreak.CloudbreakApplication.main(CloudbreakApplication.java:22)
/cbreak_cloudbreak_1 |     ... 6 more
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner com.sequenceiq.cloudbreak.core.cluster.AmbariClusterUpscaleService.containerRunner; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterContainerRunner': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner.conversionService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
/cbreak_cloudbreak_1 |     ... 23 more
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterContainerRunner': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner.conversionService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
/cbreak_cloudbreak_1 |     ... 25 more
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.core.convert.ConversionService com.sequenceiq.cloudbreak.core.bootstrap.service.container.ClusterContainerRunner.conversionService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
/cbreak_cloudbreak_1 |     ... 36 more
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
/cbreak_cloudbreak_1 |     ... 38 more
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
/cbreak_cloudbreak_1 |     ... 50 more
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterToJsonConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:534)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:523)
/cbreak_cloudbreak_1 |     at org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.getBeansOfType(WebMvcAutoConfiguration.java:251)
/cbreak_cloudbreak_1 |     at org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.addFormatters(WebMvcAutoConfiguration.java:239)
/cbreak_cloudbreak_1 |     at org.springframework.web.servlet.config.annotation.WebMvcConfigurerComposite.addFormatters(WebMvcConfigurerComposite.java:49)
/cbreak_cloudbreak_1 |     at org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration.addFormatters(DelegatingWebMvcConfiguration.java:117)
/cbreak_cloudbreak_1 |     at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.mvcConversionService(WebMvcConfigurationSupport.java:535)
/cbreak_cloudbreak_1 |     at org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$af0f1d57.CGLIB$mvcConversionService$28(<generated>)
/cbreak_cloudbreak_1 |     at org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$af0f1d57$$FastClassBySpringCGLIB$$1ae75e65.invoke(<generated>)
/cbreak_cloudbreak_1 |     at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
/cbreak_cloudbreak_1 |     at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)
/cbreak_cloudbreak_1 |     at org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration$$EnhancerBySpringCGLIB$$af0f1d57.mvcConversionService(<generated>)
/cbreak_cloudbreak_1 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
/cbreak_cloudbreak_1 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
/cbreak_cloudbreak_1 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
/cbreak_cloudbreak_1 |     at java.lang.reflect.Method.invoke(Method.java:498)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
/cbreak_cloudbreak_1 |     ... 51 more
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors com.sequenceiq.cloudbreak.converter.ClusterToJsonConverter.stackServiceComponentDescs; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
/cbreak_cloudbreak_1 |     ... 75 more
/cbreak_cloudbreak_1 | Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sequenceiq.cloudbreak.controller.validation.blueprint.StackServiceComponentDescriptors] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1373)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1119)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
/cbreak_cloudbreak_1 |     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
/cbreak_cloudbreak_1 |     ... 77 more
/cbreak_consul_1 |     2016/08/20 14:01:21 [INFO] agent: Deregistered service 'eca34f9dcd85:cbreak_cloudbreak_1:8080'
/cbreak_registrator_1 | 2016/08/20 14:01:21 registrator: removed: 193162088dbb eca34f9dcd85:cbreak_cloudbreak_1:8080

I found some similar error in Github Issue 1577

I tried to use the master branch in cloudbreak repository, and refreshed the gradle dependencies(delete ~/.gradle/caches),

however it didn't work, I still got the "Injection of autowired dependencies failed" error.

Is there any possible reason?

2 REPLIES 2

Re: Got "Error creating bean with name 'ambariClusterUpscaleService': Injection of autowired dependencies failed" error when running with my own sequenceiq/cloudbreak Docker image

Rising Star

Hi @Shin So

Currently we do not have experience similar in our master, our QA environment that based on the latest master works perfectly.

Could you please check your changes without building a custom docker image?

There is a way to run your local Cloudbreak without building a new docker image, so it could be run from your IDE or as a simple Java process. Related doc: http://sequenceiq.com/cloudbreak-docs/latest/environments/

Br,

Tamas

Re: Got "Error creating bean with name 'ambariClusterUpscaleService': Injection of autowired dependencies failed" error when running with my own sequenceiq/cloudbreak Docker image

Explorer

Hi @Tamas Bihari

Thanks for your reply.

I didn't made any changes to the source code. I just downloaded the newest source code from the master branch.

I will follow your advice to try running it in IDE. However for some security reasons , I can't install Boot2Docker in my Mac(we are only allowed to install Docker-Toolbox in our Mac). I am trying to change my Mac so that I can install Boot2Docker too.

After try again, I will report the result.

Thanks.

Shin

Don't have an account?
Coming from Hortonworks? Activate your account here