org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'windDataImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ge.predix.solsvc.timeseries.bootstrap.config.TimeseriesWSConfig com.ge.predix.solsvc.impl.WindDataImpl.tsInjectionWSConfig; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'timeseriesWSConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.ge.predix.solsvc.timeseries.bootstrap.config.TimeseriesWSConfig.wsMaxIdle; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: ""

GitHub | ledikari | 2 months ago
  1. 0

    GitHub comment 6#252531591

    GitHub | 2 months ago | ledikari
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'windDataImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ge.predix.solsvc.timeseries.bootstrap.config.TimeseriesWSConfig com.ge.predix.solsvc.impl.WindDataImpl.tsInjectionWSConfig; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'timeseriesWSConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.ge.predix.solsvc.timeseries.bootstrap.config.TimeseriesWSConfig.wsMaxIdle; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: ""
  2. 0

    java.lang.NumberFormatException if property "com.saggs.terracotta.nrplugin.nr.proxy.port" is left empty

    GitHub | 2 years ago | lanimall
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricReporter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: int com.terracotta.nrplugin.rest.nr.MetricReporter.proxyPort; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: ""
  3. 0

    How to integrate Spring Cloud Netflix to existing Spring MVC application

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cloud.netflix.eureka.EurekaClientAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: int org.springframework.cloud.netflix.eureka.EurekaClientAutoConfiguration.nonSecurePort; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${server.port:${SERVER_PORT:${PORT:8080}}}"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How get value from property file to input in springConfig.xml

    Stack Overflow | 1 year ago | chetra tep
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailSender' defined in class path resource [springConfig.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'int' for property 'port'; nested exception is java.lang.NumberFormatException: For input string: "${email.port}"
  6. 0

    Spring @Value 给非String字段不能赋值 - ITeye问答

    iteye.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genAttrOutController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.psasp.modules.tsc.domain.Student com.psasp.modules.computeoptions.web.GenAttrOutController.student; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'student': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private int com.psasp.modules.tsc.domain.Student.age; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "${student.age}"

  1. kid 16 times, last 5 months ago
  2. DoktorDoener666 1 times, last 3 weeks ago
  3. serious2monkeys 6 times, last 4 weeks ago
  4. maxxi 2 times, last 1 month ago
  5. maxxi 4 times, last 1 month ago
7 more registered users
15 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: ""

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.valueOf
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)[na:1.8.0_102]
    2. java.lang.Integer.parseInt(Integer.java:592)[na:1.8.0_102]
    3. java.lang.Integer.valueOf(Integer.java:766)[na:1.8.0_102]
    3 frames
  3. Spring Core
    NumberUtils.parseNumber
    1. org.springframework.util.NumberUtils.parseNumber(NumberUtils.java:193)[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    1 frame
  4. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.propertyeditors.CustomNumberEditor.setAsText(CustomNumberEditor.java:113)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    2. org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:450)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    3. org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:423)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    4. org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:195)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    5. org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:124)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    6. org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:61)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    7. org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:54)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    8. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:961)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    10. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    11. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    12. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    15. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    16. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    17. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    18. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    19. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    20. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    21. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    22. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    23. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    24. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    25. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    26. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    27. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    28. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    29. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    30. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    31. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    32. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    33. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    33 frames
  5. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    2 frames
  6. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:320)[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:957)[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:946)[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    5 frames
  7. com.ge.predix
    Application.main
    1. com.ge.predix.solsvc.boot.Application.main(Application.java:88)[classes/:na]
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_102]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_102]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_102]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_102]
    4 frames
  9. Spring Boot Maven Plugin
    RunMojo$LaunchRunner.run
    1. org.springframework.boot.maven.RunMojo$LaunchRunner.run(RunMojo.java:418)[spring-boot-maven-plugin-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    1 frame
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_102]
    1 frame