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

error deploying on cloud and local #6

Closed
ledikari opened this Issue Oct 7, 2016 · 11 comments

Comments

Projects
None yet
5 participants
@ledikari

ledikari commented Oct 7, 2016

  1. setup environment by following this tutorial https://www.predix.io/resources/tutorials/tutorial-details.html?tutorial_id=1574&tag=1607&journey=Development%20environment&resources=1466,1557,1574,1545
  2. create the app by following this tutorial
    https://www.predix.io/resources/tutorials/journey.html#1605
  3. follow every instruction, do everything correctly until exploring time series https://www.predix.io/resources/tutorials/tutorial-details.html?tutorial_id=1553&tag=1605&journey=Build%20a%20basic%20application&resources=1580,1569,1523,1544,1547,1549,1556,1553,1570
  4. on deploy cloud will yield an error, same on local build

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) on project winddata-timeseries-service: An exception occured while running. null: InvocationTargetException: 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: "" -> [Help 1]

note: correctly added configuration on config/application.properties and manifest.yml, maven also configured

@turnerth

This comment has been minimized.

Contributor

turnerth commented Oct 7, 2016

do you have a little bit more from the error. Need the line number of the item that is an integer that cannot convert "" to it.

please paste in the stack trace, particularly the Caused By section.

@katyatalluri

This comment has been minimized.

Contributor

katyatalluri commented Oct 7, 2016

This appears to be due to a formatting issue in the manifest.yml. I uploaded the reformatted manifest.yml. However, if you continue to encounter the same issue, please make sure that there is no indentation following the "predix_wspool_maxIdle : 5" property in the manifest. You could perhaps use a tool like text wrangler to notice any formatting issue.

@ledikari

This comment has been minimized.

ledikari commented Oct 10, 2016

@turnerth here is the complete stack trace. (local deploy)

[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building winddata-timeseries-service 2.0.2
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) > test-compile @ winddata-timeseries-service >>>
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (pre-unit-test) @ winddata-timeseries-service ---
[INFO] argLine set to -javaagent:/Users/ledikari/.m2/repository/org/jacoco/org.jacoco.agent/0.7.2.201409121644/org.jacoco.agent-0.7.2.201409121644-runtime.jar=destfile=/Users/ledikari/Workspace/winddata-timeseries-service/target/coverage-reports/jacoco-ut.exec,excludes=com/ge/predix/solsvc/boot/Application.class:com/ge/predix/solsvc/boot/PredixBootSecurityConfig.class:com/ge/predix/solsvc/spi/*.class:com/ge/predix/solsvc/boot/service/DefaultService.class:com/ge/predix/solsvc/boot/service/DynamicService.class
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ winddata-timeseries-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ winddata-timeseries-service ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ winddata-timeseries-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ winddata-timeseries-service ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) < test-compile @ winddata-timeseries-service <<<
[INFO] 
[INFO] --- spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) @ winddata-timeseries-service ---

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.2.3.RELEASE)

2016-10-10 11:04:16 INFO [com.ge.predix.solsvc.boot.Application.main()]
                c.g.p.s.b.Application [StartupInfoLogger.java:47] Starting Application on Glenn-Estonilo-Macbook-Pro with PID 1313 (/Users/ledikari/Workspace/winddata-timeseries-service/target/classes started by ledikari in /Users/ledikari/Workspace/winddata-timeseries-service)
2016-10-10 11:04:16 DEBUG [com.ge.predix.solsvc.boot.Application.main()]
                c.g.p.s.b.Application [StartupInfoLogger.java:50] Running with Spring Boot v1.2.3.RELEASE, Spring v4.1.6.RELEASE
2016-10-10 11:04:16 INFO [com.ge.predix.solsvc.boot.Application.main()]
                o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext [AbstractApplicationContext.java:510] Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@6b128404: startup date [Mon Oct 10 11:04:16 PHT 2016]; root of context hierarchy
2016-10-10 11:04:17 INFO [com.ge.predix.solsvc.boot.Application.main()]
                o.s.b.f.x.XmlBeanDefinitionReader [XmlBeanDefinitionReader.java:317] Loading XML bean definitions from URL [file:/Users/ledikari/Workspace/winddata-timeseries-service/src/main/resources/META-INF/spring/predix-microservice-cf-jsr-cxf-context.xml]
2016-10-10 11:04:17 INFO [com.ge.predix.solsvc.boot.Application.main()]
                o.s.b.f.x.XmlBeanDefinitionReader [XmlBeanDefinitionReader.java:317] Loading XML bean definitions from URL [file:/Users/ledikari/Workspace/winddata-timeseries-service/src/main/resources/META-INF/spring/predix-microservice-cf-jsr-scan-context.xml]
2016-10-10 11:04:17 INFO [com.ge.predix.solsvc.boot.Application.main()]
                o.s.b.f.x.XmlBeanDefinitionReader [XmlBeanDefinitionReader.java:317] Loading XML bean definitions from URL [jar:file:/Users/ledikari/.m2/repository/com/ge/predix/solsvc/predix-rest-client/2.0.2/predix-rest-client-2.0.2.jar!/META-INF/spring/predix-rest-client-scan-context.xml]
2016-10-10 11:04:18 INFO [com.ge.predix.solsvc.boot.Application.main()]
                o.s.b.f.s.DefaultListableBeanFactory [DefaultListableBeanFactory.java:822] Overriding bean definition for bean 'beanNameViewResolver': replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
2016-10-10 11:04:19 INFO [com.ge.predix.solsvc.boot.Application.main()]
                o.s.b.c.e.t.TomcatEmbeddedServletContainer [TomcatEmbeddedServletContainer.java:79] Tomcat initialized with port(s): 9092 (http)
2016-10-10 11:04:19 INFO [localhost-startStop-1]
                o.s.w.c.ContextLoader [EmbeddedWebApplicationContext.java:268] Root WebApplicationContext: initialization completed in 3094 ms
2016-10-10 11:04:20 INFO [localhost-startStop-1]
                o.s.s.w.DefaultSecurityFilterChain [DefaultSecurityFilterChain.java:28] Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4a77d0c9, org.springframework.security.web.context.SecurityContextPersistenceFilter@64c73f32, org.springframework.security.web.header.HeaderWriterFilter@4b8ec90, org.springframework.security.web.authentication.logout.LogoutFilter@256a2181, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@77182cf1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3428e99b, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1d53eadc, org.springframework.security.web.session.SessionManagementFilter@4f38d7da, org.springframework.security.web.access.ExceptionTranslationFilter@1f39d6eb]
2016-10-10 11:04:20 INFO [localhost-startStop-1]
                o.s.b.c.e.ServletRegistrationBean [ServletRegistrationBean.java:188] Mapping servlet: 'CXFServlet' to [/services/*]
2016-10-10 11:04:20 INFO [localhost-startStop-1]
                o.s.b.c.e.ServletRegistrationBean [ServletRegistrationBean.java:188] Mapping servlet: 'dispatcherServlet' to [/]
2016-10-10 11:04:20 INFO [localhost-startStop-1]
                o.s.b.c.e.FilterRegistrationBean [FilterRegistrationBean.java:286] Mapping filter: 'characterEncodingFilter' to: [/*]
2016-10-10 11:04:20 INFO [localhost-startStop-1]
                o.s.b.c.e.FilterRegistrationBean [FilterRegistrationBean.java:286] Mapping filter: 'springSecurityFilterChain' to: [/*]
2016-10-10 11:04:20 INFO [localhost-startStop-1]
                o.s.b.c.e.FilterRegistrationBean [FilterRegistrationBean.java:286] Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-10-10 11:04:21 WARN [com.ge.predix.solsvc.boot.Application.main()]
                o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext [AbstractApplicationContext.java:487] Exception encountered during context initialization - cancelling refresh attempt
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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at com.ge.predix.solsvc.boot.Application.main(Application.java:88) [classes/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_102]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_102]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_102]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_102]
    at org.springframework.boot.maven.RunMojo$LaunchRunner.run(RunMojo.java:418) [spring-boot-maven-plugin-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 22 common frames omitted
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 24 common frames omitted
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 35 common frames omitted
Caused by: 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: ""
    at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:77) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:54) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:961) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 37 common frames omitted
Caused by: java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.8.0_102]
    at java.lang.Integer.parseInt(Integer.java:592) ~[na:1.8.0_102]
    at java.lang.Integer.valueOf(Integer.java:766) ~[na:1.8.0_102]
    at org.springframework.util.NumberUtils.parseNumber(NumberUtils.java:193) ~[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.propertyeditors.CustomNumberEditor.setAsText(CustomNumberEditor.java:113) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:450) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:423) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:195) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:124) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:61) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 41 common frames omitted
2016-10-10 11:04:21 INFO [com.ge.predix.solsvc.boot.Application.main()]
                o.s.b.l.ClasspathLoggingApplicationListener [ClasspathLoggingApplicationListener.java:55] Application failed to start with classpath: [file:/Users/ledikari/Workspace/winddata-timeseries-service/src/main/resources/, file:/Users/ledikari/Workspace/winddata-timeseries-service/src/main/resources/, file:/Users/ledikari/Workspace/winddata-timeseries-service/target/classes/, file:/Users/ledikari/.m2/repository/org/springframework/security/spring-security-core/3.2.7.RELEASE/spring-security-core-3.2.7.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.6.4/jaxb2-basics-tools-0.6.4.jar, file:/Users/ledikari/.m2/repository/com/ge/predix/solsvc/predix-rest-client/2.0.2/predix-rest-client-2.0.2.jar, file:/Users/ledikari/.m2/repository/org/apache/commons/commons-collections4/4.0/commons-collections4-4.0.jar, file:/Users/ledikari/.m2/repository/org/springframework/boot/spring-boot-starter/1.2.3.RELEASE/spring-boot-starter-1.2.3.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/springframework/security/oauth/spring-security-oauth2/2.0.3.RELEASE/spring-security-oauth2-2.0.3.RELEASE.jar, file:/Users/ledikari/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.4.5/jackson-core-2.4.5.jar, file:/Users/ledikari/.m2/repository/org/springframework/spring-core/4.1.6.RELEASE/spring-core-4.1.6.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/springframework/spring-context/4.1.6.RELEASE/spring-context-4.1.6.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/yaml/snakeyaml/1.14/snakeyaml-1.14.jar, file:/Users/ledikari/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, file:/Users/ledikari/.m2/repository/com/ge/predix/uaa-token-lib/2.0.0/uaa-token-lib-2.0.0.jar, file:/Users/ledikari/.m2/repository/org/springframework/spring-webmvc/4.1.6.RELEASE/spring-webmvc-4.1.6.RELEASE.jar, file:/Users/ledikari/.m2/repository/com/ge/predix/acs-spring-security-extensions/5.1.0/acs-spring-security-extensions-5.1.0.jar, file:/Users/ledikari/.m2/repository/org/mockito/mockito-all/1.9.5/mockito-all-1.9.5.jar, file:/Users/ledikari/.m2/repository/org/slf4j/jul-to-slf4j/1.7.11/jul-to-slf4j-1.7.11.jar, file:/Users/ledikari/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.2/jackson-jaxrs-1.9.2.jar, file:/Users/ledikari/.m2/repository/org/springframework/spring-web/4.1.6.RELEASE/spring-web-4.1.6.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/apache/cxf/cxf-rt-bindings-xml/2.7.3/cxf-rt-bindings-xml-2.7.3.jar, file:/Users/ledikari/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.2/jackson-mapper-asl-1.9.2.jar, file:/Users/ledikari/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.0.20/tomcat-embed-el-8.0.20.jar, file:/Users/ledikari/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/1.2.3.RELEASE/spring-boot-starter-tomcat-1.2.3.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.47/bcpkix-jdk15on-1.47.jar, file:/Users/ledikari/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar, file:/Users/ledikari/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar, file:/Users/ledikari/.m2/repository/org/springframework/boot/spring-boot-starter-security/1.2.3.RELEASE/spring-boot-starter-security-1.2.3.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.7.1/geronimo-javamail_1.4_spec-1.7.1.jar, file:/Users/ledikari/.m2/repository/org/kubek2k/springockito/1.0.9/springockito-1.0.9.jar, file:/Users/ledikari/.m2/repository/com/neovisionaries/nv-websocket-client/1.3/nv-websocket-client-1.3.jar, file:/Users/ledikari/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar, file:/Users/ledikari/.m2/repository/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar, file:/Users/ledikari/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar, file:/Users/ledikari/.m2/repository/org/springframework/spring-expression/4.1.6.RELEASE/spring-expression-4.1.6.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.11/jcl-over-slf4j-1.7.11.jar, file:/Users/ledikari/.m2/repository/com/ge/predix/solsvc/ext-model/2.0.2/ext-model-2.0.2.jar, file:/Users/ledikari/.m2/repository/org/springframework/security/spring-security-jwt/1.0.2.RELEASE/spring-security-jwt-1.0.2.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics/0.6.4/jaxb2-basics-0.6.4.jar, file:/Users/ledikari/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.0.20/tomcat-embed-websocket-8.0.20.jar, file:/Users/ledikari/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/Users/ledikari/.m2/repository/com/google/code/javaparser/javaparser/1.0.8/javaparser-1.0.8.jar, file:/Users/ledikari/.m2/repository/org/apache/cxf/cxf-rt-rs-extension-providers/2.7.3/cxf-rt-rs-extension-providers-2.7.3.jar, file:/Users/ledikari/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.11/log4j-over-slf4j-1.7.11.jar, file:/Users/ledikari/.m2/repository/org/apache/tomcat/embed/tomcat-embed-logging-juli/8.0.20/tomcat-embed-logging-juli-8.0.20.jar, file:/Users/ledikari/.m2/repository/org/springframework/spring-aop/4.1.6.RELEASE/spring-aop-4.1.6.RELEASE.jar, file:/Users/ledikari/.m2/repository/com/fasterxml/classmate/1.0.0/classmate-1.0.0.jar, file:/Users/ledikari/.m2/repository/com/ge/predix/solsvc/timeseries-bootstrap/2.1.0/timeseries-bootstrap-2.1.0.jar, file:/Users/ledikari/.m2/repository/org/apache/cxf/cxf-rt-transports-http/2.7.3/cxf-rt-transports-http-2.7.3.jar, file:/Users/ledikari/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.13/jaxb-impl-2.1.13.jar, file:/Users/ledikari/.m2/repository/org/springframework/boot/spring-boot/1.2.3.RELEASE/spring-boot-1.2.3.RELEASE.jar, file:/Users/ledikari/.m2/repository/ch/qos/logback/logback-core/1.1.3/logback-core-1.1.3.jar, file:/Users/ledikari/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar, file:/Users/ledikari/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.0.20/tomcat-embed-core-8.0.20.jar, file:/Users/ledikari/.m2/repository/org/springframework/cloud/spring-cloud-core/1.1.1.RELEASE/spring-cloud-core-1.1.1.RELEASE.jar, file:/Users/ledikari/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar, file:/Users/ledikari/.m2/repository/commons-pool/commons-pool/1.6/commons-pool-1.6.jar, file:/Users/ledikari/.m2/repository/org/springframework/spring-beans/4.1.6.RELEASE/spring-beans-4.1.6.RELEASE.jar, file:/Users/ledikari/.m2/repository/com/ge/predix/acs-model/4.4.0/acs-model-4.4.0.jar, file:/Users/ledikari/.m2/repository/com/ge/predix/solsvc/predix-websocket-client/2.1.1/predix-websocket-client-2.1.1.jar, file:/Users/ledikari/.m2/repository/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA.jar, file:/Users/ledikari/.m2/repository/org/springframework/security/spring-security-web/3.2.7.RELEASE/spring-security-web-3.2.7.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/apache/ws/xmlschema/xmlschema-core/2.0.3/xmlschema-core-2.0.3.jar, file:/Users/ledikari/.m2/repository/wsdl4j/wsdl4j/1.6.3/wsdl4j-1.6.3.jar, file:/Users/ledikari/.m2/repository/org/apache/cxf/cxf-rt-frontend-jaxrs/2.7.3/cxf-rt-frontend-jaxrs-2.7.3.jar, file:/Users/ledikari/.m2/repository/org/hibernate/hibernate-validator/5.1.3.Final/hibernate-validator-5.1.3.Final.jar, file:/Users/ledikari/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.52/bcprov-jdk15on-1.52.jar, file:/Users/ledikari/.m2/repository/com/ge/predix/solsvc/ext-util/2.0.2/ext-util-2.0.2.jar, file:/Users/ledikari/.m2/repository/org/slf4j/slf4j-api/1.7.11/slf4j-api-1.7.11.jar, file:/Users/ledikari/.m2/repository/org/springframework/spring-test/4.1.6.RELEASE/spring-test-4.1.6.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.2.3.RELEASE/spring-boot-autoconfigure-1.2.3.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/apache/cxf/cxf-api/2.7.3/cxf-api-2.7.3.jar, file:/Users/ledikari/.m2/repository/org/springframework/security/spring-security-config/3.2.7.RELEASE/spring-security-config-3.2.7.RELEASE.jar, file:/Users/ledikari/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar, file:/Users/ledikari/.m2/repository/org/springframework/boot/spring-boot-starter-web/1.2.3.RELEASE/spring-boot-starter-web-1.2.3.RELEASE.jar, file:/Users/ledikari/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar, file:/Users/ledikari/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.4.5/jackson-annotations-2.4.5.jar, file:/Users/ledikari/.m2/repository/org/codehaus/woodstox/woodstox-core-asl/4.1.4/woodstox-core-asl-4.1.4.jar, file:/Users/ledikari/.m2/repository/com/ge/predix/solsvc/ext-mapper/1.7.14/ext-mapper-1.7.14.jar, file:/Users/ledikari/.m2/repository/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar, file:/Users/ledikari/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.2/jackson-core-asl-1.9.2.jar, file:/Users/ledikari/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.2.3.RELEASE/spring-boot-starter-logging-1.2.3.RELEASE.jar, file:/Users/ledikari/.m2/repository/javax/ws/rs/javax.ws.rs-api/2.0-m10/javax.ws.rs-api-2.0-m10.jar, file:/Users/ledikari/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.6.4/jaxb2-basics-runtime-0.6.4.jar, file:/Users/ledikari/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar, file:/Users/ledikari/.m2/repository/org/apache/cxf/cxf-rt-core/2.7.3/cxf-rt-core-2.7.3.jar, file:/Users/ledikari/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.4.5/jackson-databind-2.4.5.jar, file:/Users/ledikari/.m2/repository/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar, file:/Users/ledikari/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar]
2016-10-10 11:04:21 INFO [com.ge.predix.solsvc.boot.Application.main()]
                o.s.b.a.l.AutoConfigurationReportLoggingInitializer [AutoConfigurationReportLoggingInitializer.java:107] 

Error starting ApplicationContext. To display the auto-configuration report enabled debug logging (start with --debug)


2016-10-10 11:04:21 ERROR [com.ge.predix.solsvc.boot.Application.main()]
                o.s.b.SpringApplication [SpringApplication.java:338] Application startup failed
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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at com.ge.predix.solsvc.boot.Application.main(Application.java:88) [classes/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_102]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_102]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_102]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_102]
    at org.springframework.boot.maven.RunMojo$LaunchRunner.run(RunMojo.java:418) [spring-boot-maven-plugin-1.2.3.RELEASE.jar:1.2.3.RELEASE]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 22 common frames omitted
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 24 common frames omitted
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 35 common frames omitted
Caused by: 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: ""
    at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:77) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:54) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:961) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 37 common frames omitted
Caused by: java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.8.0_102]
    at java.lang.Integer.parseInt(Integer.java:592) ~[na:1.8.0_102]
    at java.lang.Integer.valueOf(Integer.java:766) ~[na:1.8.0_102]
    at org.springframework.util.NumberUtils.parseNumber(NumberUtils.java:193) ~[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.propertyeditors.CustomNumberEditor.setAsText(CustomNumberEditor.java:113) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:450) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:423) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:195) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:124) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:61) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 41 common frames omitted
[WARNING] 
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.boot.maven.RunMojo$LaunchRunner.run(RunMojo.java:418)
    at java.lang.Thread.run(Thread.java:745)
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:957)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:946)
    at com.ge.predix.solsvc.boot.Application.main(Application.java:88)
    ... 6 more
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
    ... 22 more
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
    ... 24 more
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
    ... 35 more
Caused by: 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: ""
    at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:77)
    at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:54)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:961)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
    ... 37 more
Caused by: java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:592)
    at java.lang.Integer.valueOf(Integer.java:766)
    at org.springframework.util.NumberUtils.parseNumber(NumberUtils.java:193)
    at org.springframework.beans.propertyeditors.CustomNumberEditor.setAsText(CustomNumberEditor.java:113)
    at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:450)
    at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:423)
    at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:195)
    at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:124)
    at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:61)
    ... 41 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.633 s
[INFO] Finished at: 2016-10-10T11:04:21+08:00
[INFO] Final Memory: 44M/362M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) on project winddata-timeseries-service: An exception occured while running. null: InvocationTargetException: 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: "" -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) on project winddata-timeseries-service: An exception occured while running. null
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while running. null
    at org.springframework.boot.maven.RunMojo$IsolatedThreadGroup.rethrowUncaughtException(RunMojo.java:387)
    at org.springframework.boot.maven.RunMojo.runWithMavenJvm(RunMojo.java:214)
    at org.springframework.boot.maven.RunMojo.run(RunMojo.java:187)
    at org.springframework.boot.maven.RunMojo.execute(RunMojo.java:144)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    ... 20 more
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.boot.maven.RunMojo$LaunchRunner.run(RunMojo.java:418)
    at java.lang.Thread.run(Thread.java:745)
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:957)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:946)
    at com.ge.predix.solsvc.boot.Application.main(Application.java:88)
    ... 6 more
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
    ... 22 more
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
    ... 24 more
Caused by: 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: ""
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
    ... 35 more
Caused by: 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: ""
    at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:77)
    at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:54)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:961)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
    ... 37 more
Caused by: java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:592)
    at java.lang.Integer.valueOf(Integer.java:766)
    at org.springframework.util.NumberUtils.parseNumber(NumberUtils.java:193)
    at org.springframework.beans.propertyeditors.CustomNumberEditor.setAsText(CustomNumberEditor.java:113)
    at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:450)
    at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:423)
    at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:195)
    at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:124)
    at org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:61)
    ... 41 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
ledikari@Glenn-Estonilo-Macbook-Pro ~/W/winddata-timeseries-service> 

here is the properties for local deployment on /config/application.properties


`#properties for running locally or for unit tests

#logging.level.root=DEBUG
logging.level.org.springframework=INFO
logging.level.com.ge.predix.solsvc=DEBUG
logging.level.org.apache.http.impl.client=DEBUG
server.port=9092
spring.profiles.active=local
predix.oauth.grantType=client_credentials

#if you are behind a corporate proxy/firewall and want to access Predix Cloud
#predix.oauth.proxyHost =put.your.proxyHost.here
#predix.oauth.proxyPort=put.your.proxyPort.here

#OAuth - please see predix-rest-client src/main/java/com/ge/predix/solsvc/restclient/config/OauthRestConfig.java for more info on oauth properties
predix.oauth.restHost=3a1bdbdc-878e-4a15-aba5-9413a3d06530.predix-uaa.run.aws-usw02-pr.ice.predix.io
#you may put client:secret as unencoded cleartext by setting predix.oauth.clientIdEncode=true
predix.oauth.clientIdEncode=false
predix.oauth.clientId=YXBwLWNsaWVudC1pZDpub3ZhcmlhbkFwcA==

#timeseries - get from VCAP env vars by binding an application to your timeseries instance e.g. cf bind-service <my-app> <my-timeseries>
#timeseries - see timeseries-bootstrap - src/main/java/com/ge/predix/solsvc/timeseries/bootstrap/config/TimeseriesRestConfig.java for more info on timeseries properties
predix.timeseries.ingestUri=wss://gateway-predix-data-services.run.aws-usw02-pr.ice.predix.io/v1/stream/messages
predix.timeseries.baseUrl=https://gateway-predix-data-services.run.aws-usw02-pr.ice.predix.io
predix.timeseries.websocket.connection.retry=1
predix.timeseries.zoneid=bcf97991-fce6-45c3-b468-d0fc3fbe835e
#deprecated - these override variables we are refactoring away from.
predix.timeseries.override.oauthOverride=false
predix.timeseries.override.oauthClientId=
predix.timeseries.override.oauthRestHost=

~                                           `
@ledikari

This comment has been minimized.

ledikari commented Oct 10, 2016

@katyatalluri

hello, i checked my manifest.yml file and found nothing wrong.


#inherit: base-manifest.yml
applications:
  - name: ledikari-timeseries-service
    buildpack: java_buildpack
    path: target/winddata-timeseries-service-2.0.2.jar
    memory: 256M
    services:
        - ledikari-secure-uaa-instance
        - ledikari-timeseries-instance

env:
    predix_timeseries_name : ledikari-timeseries-instance
    predix_oauthRestHost : 3d300986-b376-4682-afff-d217bc0df0e2.predix-uaa.run.aws-usw02-pr.ice.predix.io/oauth/token
    predix_oauthClientId : app-client-id:novarianApp
    trustedIssuerIdsRegexPattern : ^http://(.*\\.)?.predix-uaa.run.aws-usw02-pr.ice/oauth/token$
    predix_connectionTimeout : 5000
    redix_socketTimeout : 5000
    clientId : app-client
    clientSecret: novarianApp
    predix_poolMaxSize: 200
    defaultMaxPerRoute: 25
    predix_wspool_maxIdle : 5
    predix_wspool_maxActive : 5
    predix_wspool_maxWait : 8000
    predix_wspool_maxInstances : 5

here is env properties as directed on the tutorial


`ledikari@Glenn-Estonilo-Macbook-Pro ~/W/winddata-timeseries-service> cf env ledikari-predix-nodejs-starter
Getting env variables for app ledikari-predix-nodejs-starter in org gcestonilo@gmail.com / space helloWorld as gcestonilo@gmail.com...
OK

System-Provided:
{
 "VCAP_SERVICES": {
  "predix-timeseries": [
   {
    "credentials": {
     "ingest": {
      "uri": "wss://gateway-predix-data-services.run.aws-usw02-pr.ice.predix.io/v1/stream/messages",
      "zone-http-header-name": "Predix-Zone-Id",
      "zone-http-header-value": "bcf97991-fce6-45c3-b468-d0fc3fbe835e",
      "zone-token-scopes": [
       "timeseries.zones.bcf97991-fce6-45c3-b468-d0fc3fbe835e.user",
       "timeseries.zones.bcf97991-fce6-45c3-b468-d0fc3fbe835e.ingest"
      ]
     },
     "query": {
      "uri": "https://time-series-store-predix.run.aws-usw02-pr.ice.predix.io/v1/datapoints",
      "zone-http-header-name": "Predix-Zone-Id",
      "zone-http-header-value": "bcf97991-fce6-45c3-b468-d0fc3fbe835e",
      "zone-token-scopes": [
       "timeseries.zones.bcf97991-fce6-45c3-b468-d0fc3fbe835e.user",
       "timeseries.zones.bcf97991-fce6-45c3-b468-d0fc3fbe835e.query"
      ]
     }
    },
    "label": "predix-timeseries",
    "name": "ledikari-timeseries-instance",
    "plan": "Bronze",
    "provider": null,
    "syslog_drain_url": null,
    "tags": [
     "timeseries",
     "time-series",
     "time series"
    ]
   }
  ],
  "predix-uaa": [
   {
    "credentials": {
     "issuerId": "https://3d300986-b376-4682-afff-d217bc0df0e2.predix-uaa.run.aws-usw02-pr.ice.predix.io/oauth/token",
     "subdomain": "3d300986-b376-4682-afff-d217bc0df0e2",
     "uri": "https://3d300986-b376-4682-afff-d217bc0df0e2.predix-uaa.run.aws-usw02-pr.ice.predix.io",
     "zone": {
      "http-header-name": "X-Identity-Zone-Id",
      "http-header-value": "3d300986-b376-4682-afff-d217bc0df0e2"
     }
    },
    "label": "predix-uaa",
    "name": "ledikari-secure-uaa-instance",
    "plan": "Tiered",
    "provider": null,
    "syslog_drain_url": null,
    "tags": []
   }
  ]
 }
}

{
 "VCAP_APPLICATION": {
  "application_id": "5a65a4d1-4fcc-477c-8e1d-1bffc1a46fbe",
  "application_name": "ledikari-predix-nodejs-starter",
  "application_uris": [
   "ledikari-predix-nodejs-starter.run.aws-usw02-pr.ice.predix.io"
  ],
  "application_version": "aa0c76f5-e2ed-4dfa-b4e1-22116a1ceace",
  "limits": {
   "disk": 1024,
   "fds": 16384,
   "mem": 128
  },
  "name": "ledikari-predix-nodejs-starter",
  "space_id": "d6d57da7-e8b1-452d-81da-8e48eb13187d",
  "space_name": "helloWorld",
  "uris": [
   "ledikari-predix-nodejs-starter.run.aws-usw02-pr.ice.predix.io"
  ],
  "users": null,
  "version": "aa0c76f5-e2ed-4dfa-b4e1-22116a1ceace"
 }
}

User-Provided:
base64ClientCredential: YXBwLWNsaWVudC1pZDpub3ZhcmlhbkFwcA==
clientId: app-client-id
node_env: cloud
uaa_service_label: predix-uaa

No running env variables have been set

No staging env variables have been set

`


@Guy312

This comment has been minimized.

Guy312 commented Oct 10, 2016

I have exactly the same issue

@danhakin

This comment has been minimized.

danhakin commented Oct 10, 2016

There is an issue with autowiring property for windDataImpl bean when running locally. It is supposed to use the manifest.yml properties for doing the injection of properties but it is not.

To get rid of this issue just add the following lines to your application.properties file:

predix.websocket.pool.maxIdle=5
predix.websocket.pool.maxActive=5 
predix.websocket.pool.maxWait=8000 
predix.websocket.pool.maxInstances=5
@katyatalluri

This comment has been minimized.

Contributor

katyatalluri commented Oct 10, 2016

Thank you @danhakin. Yes, for running locally, the properties are set in /config/application.properties.

predix.websocket.pool.maxIdle=5
predix.websocket.pool.maxActive=5
predix.websocket.pool.maxWait=8000
predix.websocket.pool.maxInstances=5

The manifest.yml is being used only when running on the cloud.

@katyatalluri

This comment has been minimized.

Contributor

katyatalluri commented Oct 10, 2016

@ledikari: I have added the fix to application.properties. This should enable you to run the application locally.

I was unable to reproduce the problem for the cloud. With the reformatted manifest.yml, I am able to push the app successfully to the cloud.

@ledikari

This comment has been minimized.

ledikari commented Oct 11, 2016

adding the fix on the application.properties did not help at all.

thank you for your time. I'm assuming i missed something on the tutorial or I really need to download the devbox.

@turnerth

This comment has been minimized.

Contributor

turnerth commented Oct 11, 2016

i saw you kept having issues, so i tried the Build a Basic App tutorial from scratch up to the point where Winddata is pushed to the cloud. I did get it to work and did not get the issue you encountered.

If it helps the exact problem you are having is this. This instance variable
@value("${predix.websocket.pool.maxIdle:}")
private int wsMaxIdle;

needs to be set by Spring. Spring is looking for a property with this spelling "predix.websocket.pool.maxIdle". The colon with nothing after it, means there is no default value set, so a property must be set.

From a code review perspective, I'd say the colon shouldn't be there unless a default is being set. Shouldn't be a problem but who knows, maybe spring is treating that as "" when you don't set a property. I'll have the developer remove that.

If spring doesn't find a property, that's usually what is causing the problem.

Spring uses many different files when trying to resolve properties. Their docs are repeated here
https://github.com/PredixDev/winddata-timeseries-service/blob/master/src/main/java/com/ge/predix/solsvc/boot/Application.java
Have a look at the hierarchy, it's quite long.

When in the cloud, we put the properties in the manifest.yml. Now you'll notice that it's using underscores.
predix_wspool_maxIdle : 5

This is because spring uses underscores for environment variables and dots for properties. You'll find a property in src/main/resources/application-cloud.properties that defines this
predix.websocket.pool.maxIdle=${predix_wspool_maxIdle}

This file is only loaded when spring.profiles.active=cloud. SpringBoot uses profiles. In the cloud it auto-detects that it's in the cloud and automatically sets the cloud profile.

When running locally it can use a variety of files. But we prefer to use config/application.properties because it is available both in Eclipse for tests and at the command line when running with a java command.

At the end of the day, whether running locally or in the cloud, Spring will get angry if it can't find "predix.websocket.pool.maxIdle".

Hope that helps.

Given that I don't have the problem and you do. Perhaps you have some issues with your Maven Repo. I would recommend deleting ~/.m2/repository and rebuilding.

Please note that I just changed the tutorials to use "app_client_id" instead of "app-client-id", to make it compatible with some other scripts we are going to bring in for Build-A-Basic-App. That does not any effect upon your property file issue though.

@ledikari

This comment has been minimized.

ledikari commented Oct 11, 2016

thank you turneth for taking time and explaining it to me, yes I will try to delete m2 and rebuild it again.

Edit: yes deleting .m2 and rebuilding it will fix the issue, thanks for the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment