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

Jenkins build collector unable to start-up #254

Closed
gitfan89 opened this Issue Dec 27, 2015 · 11 comments

Comments

Projects
None yet
5 participants
@gitfan89

gitfan89 commented Dec 27, 2015

Hi ,

Hygieia full build is successful but while starting jenkins build collector , im facing initialization, null pointer exception . Below is my application.properties

Database Name

dbname=testdb

Database HostName - default is localhost

dbhost=127.0.0.1

Database Port - default is 27017

dbport=27017

Database Username - default is blank

dbusername=test1

Database Password - default is blank

dbpassword=test1

Collector schedule (required)

jenkins.cron=() * * * * *

Jenkins server (required) - Can provide multiple

jenkins.servers[0]=http://localhost:8082

If using username/token for api authentication (required for Cloudbees Jenkins Ops Center) see sample

jenkins.servers[1]=http://username:token@jenkins.company.com

Another option: If using same username/password Jenkins auth - set username/apiKey to use HTTP Basic Auth (blank=no auth)

jenkins.username=
jenkins.apiKey=

Determines if build console log is collected - defaults to false

jenkins.saveLog=false

I'm starting the jar file from the target folder @ my local workstation in the below fashion.

java -jar jenkins-build-collector-1.5.0-SNAPSHOT.jar --spring.config.location=D:\HY\Hygieia\jenkins-build-collector\application.properties

as well as

java -jar jenkins-build-collector-1.5.0-SNAPSHOT.jar --spring.config.name=D:\HY\Hygieia\jenkins-build-collector\application.properties

Below is the log :

2015-12-27 08:49:41,097 INFO com.capitalone.dashboard.Application - Starting Application v1.5.0-SNAPSHOT on with PID 5620 (D:\Hygieia\jenkins-build-collector\target\jenkins-build-collector-1.5.0-SNAPSHOT.jar started by vignesh in D:\HY\Hygieia\jenkins-build-collector\target)
2015-12-27 08:49:41,160 INFO o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@1e59c39: startup date [Sun Dec 27 08:49:41 IST 2015]; root of context hierarchy
2015-12-27 08:49:42,227 INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2015-12-27 08:49:42,561 INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2015-12-27 08:49:42,647 INFO c.c.dashboard.config.MongoConfig - Initializing Mongo Client server at: localhost:27017
2015-12-27 08:49:42,988 INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2015-12-27 08:49:43,069 INFO c.c.dashboard.config.MongoConfig - Connecting to Mongo: Mongo{options=MongoClientOptions{description='null', readPreference=primary, writeConcern=WriteConcern{w=1, wtimeout=0, fsync=false, j=false, codecRegistry=org.bson.codecs.configuration.ProvidersCodecRegistry@42f5265c, minConnectionsPerHost=0, maxConnectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, serverSelectionTimeout=30000, maxWaitTime=120000, maxConnectionIdleTime=0, maxConnectionLifeTime=0, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, sslEnabled=false, sslInvalidHostNamesAllowed=false, alwaysUseMBeans=false, heartbeatFrequency=10000, minHeartbeatFrequency=500, heartbeatConnectTimeout=20000, heartbeatSocketTimeout=20000, localThreshold=15, requiredReplicaSetName='null', dbDecoderFactory=com.mongodb.DefaultDBDecoder$1@bcea2b, dbEncoderFactory=com.mongodb.DefaultDBEncoder$1@1aa3937, socketFactory=javax.net.DefaultSocketFactory@134fddb, cursorFinalizerEnabled=true, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitQueueSize=500, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=20000, readTimeoutMS=20000, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}}}
2015-12-27 08:49:43,128 INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:8}] to localhost:27017
2015-12-27 08:49:43,130 INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 0]}, minWireVersion=0, maxWireVersion=4, electionId=null, maxDocumentSize=16777216, roundTripTimeNanos=481751}
2015-12-27 08:49:43,485 WARN o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at com.capitalone.dashboard.Application.main(Application.java:13) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_45]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_45]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_45]
Caused by: java.lang.NullPointerException: null
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_45]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_45]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
... 22 common frames omitted
2015-12-27 08:49:43,493 INFO o.s.s.c.ThreadPoolTaskScheduler - Shutting down ExecutorService 'taskScheduler'
2015-12-27 08:49:43,494 INFO o.s.b.l.ClasspathLoggingApplicationListener - Application failed to start with classpath: [jar:file:/D:/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/, jar:file:/D:/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/core-1.5.0-SNAPSHOT.jar!/, jar:file:/D:/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/commons-codec-1.9.jar!/, jar:file:/D:/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-test-4.1.7.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-data-mongodb-1.8.0.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-expression-4.1.7.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-data-commons-1.11.0.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/slf4j-api-1.7.12.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/jcl-over-slf4j-1.7.12.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-jpa-3.6.0.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-core-3.6.0.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/guava-18.0.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/jsr305-1.3.9.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/mysema-commons-lang-0.2.4.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/bridge-method-annotation-1.13.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-apt-3.6.0.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-codegen-3.6.0.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/codegen-0.6.5.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/ecj-4.3.1.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/javax.inject-1.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-mongodb-3.6.0.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-starter-data-mongodb-1.2.5.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-starter-1.2.5.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-1.2.5.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-autoconfigure-1.2.5.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-starter-logging-1.2.5.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/jul-to-slf4j-1.7.12.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/log4j-over-slf4j-1.7.12.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/logback-classic-1.1.3.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/logback-core-1.1.3.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/snakeyaml-1.14.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/mongo-java-driver-3.0.2.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-core-4.1.7.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-tx-4.1.7.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/junit-4.12.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/hamcrest-core-1.3.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-web-4.1.0.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-aop-4.1.7.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/aopalliance-1.0.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-beans-4.1.7.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-context-4.1.7.RELEASE.jar!/, jar:file:/D:/HY/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/json-simple-1.1.1.jar!/, jar:file:/D:/Hygieia/jenkins-build-collector/target/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/commons-lang3-3.3.2.jar!/]
2015-12-27 08:49:43,496 INFO o.s.b.a.l.AutoConfigurationReportLoggingInitializer -

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

2015-12-27 08:49:43,496 ERROR o.s.boot.SpringApplication - Application startup failed

@gitfan89 gitfan89 changed the title from Jenkins build collector start-up issue to Jenkins build collector is not starting Dec 27, 2015

@gitfan89 gitfan89 changed the title from Jenkins build collector is not starting to Jenkins build collector unable to start-up Dec 27, 2015

@tabladrum

This comment has been minimized.

Show comment
Hide comment
@tabladrum

tabladrum Dec 27, 2015

Contributor

Set spring.config.name=jenkins in the command line.

Contributor

tabladrum commented Dec 27, 2015

Set spring.config.name=jenkins in the command line.

@gitfan89

This comment has been minimized.

Show comment
Hide comment
@gitfan89

gitfan89 Dec 27, 2015

Thank you @tabladrum for your quick responce :)

Following is my command :

java -jar jenkins-build-collector-1.5.0-SNAPSHOT.jar --spring.config.name=jenkins-build-collector-1.5.0 --spring.config.location=D:\Hygieia\jenkins-build-collector\application.properties

as well as tried

java -jar jenkins-build-collector-1.5.0-SNAPSHOT.jar --spring.config.name=jenkins --spring.config.location=D:\Hygieia\jenkins-build-collector\application.properties

still below is the issue :

2015-12-27 11:40:00,145 INFO com.capitalone.dashboard.Application - Starting Application v1.5.0-SNAPSHOT on with PID 3352 (D:\Hygieia\jenkins-build-collector\target\jenkins-build-collector-1.5.0-SNAPSHOT.jar started by in D:\HY\Hygieia\jenkins-build-collector\target)
2015-12-27 11:40:00,216 INFO o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@17a9e5: startup date [Sun Dec 27 11:40:00 IST 2015]; root of context hierarchy
2015-12-27 11:40:01,297 INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2015-12-27 11:40:01,635 INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2015-12-27 11:40:01,721 INFO c.c.dashboard.config.MongoConfig - Initializing Mongo Client server at: 127.0.0.1:27017
2015-12-27 11:40:02,150 INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[127.0.0.1:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2015-12-27 11:40:02,226 INFO c.c.dashboard.config.MongoConfig - Connecting to Mongo: Mongo{options=MongoClientOptions{description='null', readPreference=primary, writeConcern=WriteConcern{w=1, wtimeout=0, fsync=false, j=false, codecRegistry=org.bson.codecs.configuration.ProvidersCodecRegistry@296f23c5, minConnectionsPerHost=0, maxConnectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, serverSelectionTimeout=30000, maxWaitTime=120000, maxConnectionIdleTime=0, maxConnectionLifeTime=0, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, sslEnabled=false, sslInvalidHostNamesAllowed=false, alwaysUseMBeans=false, heartbeatFrequency=10000, minHeartbeatFrequency=500, heartbeatConnectTimeout=20000, heartbeatSocketTimeout=20000, localThreshold=15, requiredReplicaSetName='null', dbDecoderFactory=com.mongodb.DefaultDBDecoder$1@ec1ed9, dbEncoderFactory=com.mongodb.DefaultDBEncoder$1@164157d, socketFactory=javax.net.DefaultSocketFactory@18f47ec, cursorFinalizerEnabled=true, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitQueueSize=500, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=20000, readTimeoutMS=20000, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}}}
2015-12-27 11:40:02,652 INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:24}] to 127.0.0.1:27017
2015-12-27 11:40:02,653 INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=127.0.0.1:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 0]}, minWireVersion=0, maxWireVersion=4, electionId=null, maxDocumentSize=16777216, roundTripTimeNanos=517002}
2015-12-27 11:40:02,708 WARN o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NumberFormatException: For input string: "()"

Caused by: java.lang.NumberFormatException: For input string: "()"

2015-12-27 11:40:02,715 ERROR o.s.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NumberFormatException: For input string: "()"
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]

my updated application.properties

#Database Name
dbname=dashboard

#Database HostName - default is localhost
dbhost=127.0.0.1

#Database Port - default is 27017
dbport=27017

#Database Username - default is blank
dbusername=dashboarduser

#Database Password - default is blank
dbpassword=hello

#Collector schedule (required)
jenkins.cron=() * * * * *

#Jenkins server (required) - Can provide multiple
jenkins.servers[0]=http://localhost:8082

#If using username/token for api authentication (required for Cloudbees Jenkins Ops Center) see sample
#jenkins.servers[1]=http://username:token@jenkins.company.com

#Another option: If using same username/password Jenkins auth - set username/apiKey to use HTTP Basic Auth (blank=no auth)
jenkins.username=
jenkins.apiKey=

#Determines if build console log is collected - defaults to false
jenkins.saveLog=false

btw, I'm able to log-in successfully to the mongodb from the mongo shell :

mongo 127.0.0.1:27017/dashboard -u dashboarduser -phello

Did I miss something here, pls advise.

gitfan89 commented Dec 27, 2015

Thank you @tabladrum for your quick responce :)

Following is my command :

java -jar jenkins-build-collector-1.5.0-SNAPSHOT.jar --spring.config.name=jenkins-build-collector-1.5.0 --spring.config.location=D:\Hygieia\jenkins-build-collector\application.properties

as well as tried

java -jar jenkins-build-collector-1.5.0-SNAPSHOT.jar --spring.config.name=jenkins --spring.config.location=D:\Hygieia\jenkins-build-collector\application.properties

still below is the issue :

2015-12-27 11:40:00,145 INFO com.capitalone.dashboard.Application - Starting Application v1.5.0-SNAPSHOT on with PID 3352 (D:\Hygieia\jenkins-build-collector\target\jenkins-build-collector-1.5.0-SNAPSHOT.jar started by in D:\HY\Hygieia\jenkins-build-collector\target)
2015-12-27 11:40:00,216 INFO o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@17a9e5: startup date [Sun Dec 27 11:40:00 IST 2015]; root of context hierarchy
2015-12-27 11:40:01,297 INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2015-12-27 11:40:01,635 INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2015-12-27 11:40:01,721 INFO c.c.dashboard.config.MongoConfig - Initializing Mongo Client server at: 127.0.0.1:27017
2015-12-27 11:40:02,150 INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[127.0.0.1:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2015-12-27 11:40:02,226 INFO c.c.dashboard.config.MongoConfig - Connecting to Mongo: Mongo{options=MongoClientOptions{description='null', readPreference=primary, writeConcern=WriteConcern{w=1, wtimeout=0, fsync=false, j=false, codecRegistry=org.bson.codecs.configuration.ProvidersCodecRegistry@296f23c5, minConnectionsPerHost=0, maxConnectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, serverSelectionTimeout=30000, maxWaitTime=120000, maxConnectionIdleTime=0, maxConnectionLifeTime=0, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, sslEnabled=false, sslInvalidHostNamesAllowed=false, alwaysUseMBeans=false, heartbeatFrequency=10000, minHeartbeatFrequency=500, heartbeatConnectTimeout=20000, heartbeatSocketTimeout=20000, localThreshold=15, requiredReplicaSetName='null', dbDecoderFactory=com.mongodb.DefaultDBDecoder$1@ec1ed9, dbEncoderFactory=com.mongodb.DefaultDBEncoder$1@164157d, socketFactory=javax.net.DefaultSocketFactory@18f47ec, cursorFinalizerEnabled=true, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitQueueSize=500, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=20000, readTimeoutMS=20000, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}}}
2015-12-27 11:40:02,652 INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:24}] to 127.0.0.1:27017
2015-12-27 11:40:02,653 INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=127.0.0.1:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 0]}, minWireVersion=0, maxWireVersion=4, electionId=null, maxDocumentSize=16777216, roundTripTimeNanos=517002}
2015-12-27 11:40:02,708 WARN o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NumberFormatException: For input string: "()"

Caused by: java.lang.NumberFormatException: For input string: "()"

2015-12-27 11:40:02,715 ERROR o.s.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NumberFormatException: For input string: "()"
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]

my updated application.properties

#Database Name
dbname=dashboard

#Database HostName - default is localhost
dbhost=127.0.0.1

#Database Port - default is 27017
dbport=27017

#Database Username - default is blank
dbusername=dashboarduser

#Database Password - default is blank
dbpassword=hello

#Collector schedule (required)
jenkins.cron=() * * * * *

#Jenkins server (required) - Can provide multiple
jenkins.servers[0]=http://localhost:8082

#If using username/token for api authentication (required for Cloudbees Jenkins Ops Center) see sample
#jenkins.servers[1]=http://username:token@jenkins.company.com

#Another option: If using same username/password Jenkins auth - set username/apiKey to use HTTP Basic Auth (blank=no auth)
jenkins.username=
jenkins.apiKey=

#Determines if build console log is collected - defaults to false
jenkins.saveLog=false

btw, I'm able to log-in successfully to the mongodb from the mongo shell :

mongo 127.0.0.1:27017/dashboard -u dashboarduser -phello

Did I miss something here, pls advise.

@tabladrum

This comment has been minimized.

Show comment
Hide comment
@tabladrum

tabladrum Dec 28, 2015

Contributor

This should be your command:
java -jar jenkins-build-collector-1.5.0-SNAPSHOT.jar --spring.config.name=jenkins --spring.config.location=D:\Hygieia\jenkins-build-collector\application.properties

Contributor

tabladrum commented Dec 28, 2015

This should be your command:
java -jar jenkins-build-collector-1.5.0-SNAPSHOT.jar --spring.config.name=jenkins --spring.config.location=D:\Hygieia\jenkins-build-collector\application.properties

@gitfan89

This comment has been minimized.

Show comment
Hide comment
@gitfan89

gitfan89 Dec 29, 2015

@tabladrum :Thanks.. that helped .. Closing the issue .

gitfan89 commented Dec 29, 2015

@tabladrum :Thanks.. that helped .. Closing the issue .

@gitfan89 gitfan89 closed this Dec 29, 2015

@jimzucker

This comment has been minimized.

Show comment
Hide comment
@jimzucker

jimzucker Jan 8, 2016

Contributor

Hi

I get a different exception, I am using the command line you described, can you give me a hint on how to approach debugging it?

I verified my id and API token work by using a wget tests and it gets into jennings:

wget --auth-no-challenge --http-user=jaz --http-password=7f3dfa31d581b3455413d546c825954b --secure-protocol=TLSv1 http://localhost:8080/jenkins/job/Example

target git:(collectors) ✗ java -jar *.jar --spring.config.location=../../application.properties --spring.config.name=jenkins

2016-01-07 17:53:48,640 INFO c.c.dashboard.config.MongoConfig - Connecting to Mongo: Mongo{options=MongoClientOptions{description='null', readPreference=primary, writeConcern=WriteConcern{w=1, wtimeout=0, fsync=false, j=false, codecRegistry=org.bson.codecs.configuration.ProvidersCodecRegistry@f3eba0a9, minConnectionsPerHost=0, maxConnectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, serverSelectionTimeout=30000, maxWaitTime=120000, maxConnectionIdleTime=0, maxConnectionLifeTime=0, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, sslEnabled=false, sslInvalidHostNamesAllowed=false, alwaysUseMBeans=false, heartbeatFrequency=10000, minHeartbeatFrequency=500, heartbeatConnectTimeout=20000, heartbeatSocketTimeout=20000, localThreshold=15, requiredReplicaSetName='null', dbDecoderFactory=com.mongodb.DefaultDBDecoder$1@1a23bf16, dbEncoderFactory=com.mongodb.DefaultDBEncoder$1@17953ce2, socketFactory=javax.net.DefaultSocketFactory@5fc8ced0, cursorFinalizerEnabled=true, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitQueueSize=500, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=20000, readTimeoutMS=20000, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}}}
2016-01-07 17:53:49,001 WARN o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at com.capitalone.dashboard.Application.main(Application.java:13) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
Caused by: java.lang.NullPointerException: null
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
... 22 common frames omitted

On Dec 28, 2015, at 10:29 AM, tabladrum <notifications@github.commailto:notifications@github.com> wrote:

This should be your command:

java -jar jenkins-build-collector-1.5.0-SNAPSHOT.jar --spring.config.name=jenkins
--spring.config.location=D:\Hygieia\jenkins-build-collector\application.properties


Reply to this email directly or view it on GitHubhttps://github.com//issues/254#issuecomment-167621941.

Contributor

jimzucker commented Jan 8, 2016

Hi

I get a different exception, I am using the command line you described, can you give me a hint on how to approach debugging it?

I verified my id and API token work by using a wget tests and it gets into jennings:

wget --auth-no-challenge --http-user=jaz --http-password=7f3dfa31d581b3455413d546c825954b --secure-protocol=TLSv1 http://localhost:8080/jenkins/job/Example

target git:(collectors) ✗ java -jar *.jar --spring.config.location=../../application.properties --spring.config.name=jenkins

2016-01-07 17:53:48,640 INFO c.c.dashboard.config.MongoConfig - Connecting to Mongo: Mongo{options=MongoClientOptions{description='null', readPreference=primary, writeConcern=WriteConcern{w=1, wtimeout=0, fsync=false, j=false, codecRegistry=org.bson.codecs.configuration.ProvidersCodecRegistry@f3eba0a9, minConnectionsPerHost=0, maxConnectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, serverSelectionTimeout=30000, maxWaitTime=120000, maxConnectionIdleTime=0, maxConnectionLifeTime=0, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, sslEnabled=false, sslInvalidHostNamesAllowed=false, alwaysUseMBeans=false, heartbeatFrequency=10000, minHeartbeatFrequency=500, heartbeatConnectTimeout=20000, heartbeatSocketTimeout=20000, localThreshold=15, requiredReplicaSetName='null', dbDecoderFactory=com.mongodb.DefaultDBDecoder$1@1a23bf16, dbEncoderFactory=com.mongodb.DefaultDBEncoder$1@17953ce2, socketFactory=javax.net.DefaultSocketFactory@5fc8ced0, cursorFinalizerEnabled=true, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitQueueSize=500, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=20000, readTimeoutMS=20000, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}}}
2016-01-07 17:53:49,001 WARN o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at com.capitalone.dashboard.Application.main(Application.java:13) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
Caused by: java.lang.NullPointerException: null
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
... 22 common frames omitted

On Dec 28, 2015, at 10:29 AM, tabladrum <notifications@github.commailto:notifications@github.com> wrote:

This should be your command:

java -jar jenkins-build-collector-1.5.0-SNAPSHOT.jar --spring.config.name=jenkins
--spring.config.location=D:\Hygieia\jenkins-build-collector\application.properties


Reply to this email directly or view it on GitHubhttps://github.com//issues/254#issuecomment-167621941.

@tabladrum

This comment has been minimized.

Show comment
Hide comment
@tabladrum

tabladrum Jan 8, 2016

Contributor

It's complaining about the cron setting. Is () a valid value?

Contributor

tabladrum commented Jan 8, 2016

It's complaining about the cron setting. Is () a valid value?

@tabladrum

This comment has been minimized.

Show comment
Hide comment
@tabladrum

tabladrum Jan 8, 2016

Contributor

May be I spoke too soon. Can you paste the stack trace?

Contributor

tabladrum commented Jan 8, 2016

May be I spoke too soon. Can you paste the stack trace?

@jimzucker

This comment has been minimized.

Show comment
Hide comment
@jimzucker

jimzucker Jan 8, 2016

Contributor

Here is the whole log:

Properties file created Fri Jan 8 01:15:40 UTC 2016: hygieia-jenkins-build-collector.properties

Note: passwords & apiKey hidden

#Database Name
database=dashboard

#Database HostName - default is localhost
dbhost=172.17.0.2

#Database Port - default is 27017
dbport=27017

#Database Username - default is blank
dbusername=db

#Collector schedule (required)
jenkinbs.cron=0 0/5 * * * *

#Jenkins server (required) - Can provide multiple
jenkins.servers[0]=http://localhost:8080

#If using username/token for api authentication (required for Cloudbees Jenkins Ops Center) see sample
#jenkins.servers[1]=http://username:token@jenkins.company.com
jenkins.servers[1]=

jenkins.username=jaz

#Determines if build console log is collected - defaults to false
jenkins.saveLog=true


| | | | () () | ___ \ () | | | / __ \ | | | | |
| |
| |_ _ __ _ _ ___ _ __ _ | |/ / _ | | | || / / ___ | | | ___ **| | ___ _ __
| _ | | | |/ | |/ _ \ |/ _ |
**| ___ \ | | | | |/ ` || | / _ | | |/ _ / | __/ _ | '|
| | | | |
| | (
| | | **/ | (
| | | |
/ / |
| | | | (
| | | **/\ (
) | | | / (**| || () | |
_| |
/**, |
, ||||**,| / __,|||__,| _/**/|||**||_____/||
__/ | **/ |
|
/ |___/

2016-01-08 01:15:41,400 INFO com.capitalone.dashboard.Application - Starting Application v1.5.0-SNAPSHOT on 707f6bbd01e7 with PID 20 (/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar started by root in /hygieia)
2016-01-08 01:15:41,409 DEBUG o.s.boot.SpringApplication - Loading source class com.capitalone.dashboard.Application
2016-01-08 01:15:41,468 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Loaded config file 'file:/hygieia/hygieia-jenkins-build-collector.properties'
2016-01-08 01:15:41,468 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./config/application.xml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./config/application.yml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./config/application.properties' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./config/application.yaml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./application.xml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./application.yml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./application.properties' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./application.yaml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/config/application.xml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/config/application.yml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/config/application.properties' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/config/application.yaml' resource not found
2016-01-08 01:15:41,470 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/application.xml' resource not found
2016-01-08 01:15:41,470 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/application.yml' resource not found
2016-01-08 01:15:41,470 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/application.properties' resource not found
2016-01-08 01:15:41,470 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/application.yaml' resource not found
2016-01-08 01:15:41,471 INFO o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@537fecc0: startup date [Fri Jan 08 01:15:41 UTC 2016]; root of context hierarchy
2016-01-08 01:15:42,730 INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-01-08 01:15:43,099 INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2016-01-08 01:15:43,222 INFO c.c.dashboard.config.MongoConfig - Initializing Mongo Client server at: 172.17.0.2:27017
2016-01-08 01:15:43,360 INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[172.17.0.2:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2016-01-08 01:15:43,472 INFO c.c.dashboard.config.MongoConfig - Connecting to Mongo: Mongo{options=MongoClientOptions{description='null', readPreference=primary, writeConcern=WriteConcern{w=1, wtimeout=0, fsync=false, j=false, codecRegistry=org.bson.codecs.configuration.ProvidersCodecRegistry@f7ad84e, minConnectionsPerHost=0, maxConnectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, serverSelectionTimeout=30000, maxWaitTime=120000, maxConnectionIdleTime=0, maxConnectionLifeTime=0, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, sslEnabled=false, sslInvalidHostNamesAllowed=false, alwaysUseMBeans=false, heartbeatFrequency=10000, minHeartbeatFrequency=500, heartbeatConnectTimeout=20000, heartbeatSocketTimeout=20000, localThreshold=15, requiredReplicaSetName='null', dbDecoderFactory=com.mongodb.DefaultDBDecoder$1@4735b2d0, dbEncoderFactory=com.mongodb.DefaultDBEncoder$1@8323fde, socketFactory=javax.net.DefaultSocketFactory@69030ad3, cursorFinalizerEnabled=true, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitQueueSize=500, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=20000, readTimeoutMS=20000, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}}}
2016-01-08 01:15:43,800 INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:62}] to 172.17.0.2:27017
2016-01-08 01:15:43,808 INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=172.17.0.2:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 0]}, minWireVersion=0, maxWireVersion=4, electionId=null, maxDocumentSize=16777216, roundTripTimeNanos=360123}
2016-01-08 01:15:44,148 WARN o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at com.capitalone.dashboard.Application.main(Application.java:13) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66-internal]
Caused by: java.lang.NullPointerException: null
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
... 22 common frames omitted
2016-01-08 01:15:44,169 INFO o.s.s.c.ThreadPoolTaskScheduler - Shutting down ExecutorService 'taskScheduler'
2016-01-08 01:15:44,170 INFO o.s.b.l.ClasspathLoggingApplicationListener - Application failed to start with classpath: [jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/core-1.5.0-SNAPSHOT.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/commons-codec-1.9.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-test-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-data-mongodb-1.8.0.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-expression-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-data-commons-1.11.0.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/slf4j-api-1.7.12.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/jcl-over-slf4j-1.7.12.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-jpa-3.6.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-core-3.6.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/guava-18.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/jsr305-1.3.9.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/mysema-commons-lang-0.2.4.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/bridge-method-annotation-1.13.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-apt-3.6.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-codegen-3.6.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/codegen-0.6.5.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/ecj-4.3.1.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/javax.inject-1.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-mongodb-3.6.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-starter-data-mongodb-1.2.5.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-starter-1.2.5.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-1.2.5.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-autoconfigure-1.2.5.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-starter-logging-1.2.5.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/jul-to-slf4j-1.7.12.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/log4j-over-slf4j-1.7.12.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/logback-classic-1.1.3.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/logback-core-1.1.3.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/snakeyaml-1.14.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/mongo-java-driver-3.0.2.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-core-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-tx-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/junit-4.12.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/hamcrest-core-1.3.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-web-4.1.0.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-aop-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/aopalliance-1.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-beans-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-context-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/json-simple-1.1.1.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/commons-lang3-3.3.2.jar!/]
2016-01-08 01:15:44,176 DEBUG o.s.b.a.l.AutoConfigurationReportLoggingInitializer -

AUTO-CONFIGURATION REPORT

Positive matches:

HttpMessageConvertersAutoConfiguration
- @ConditionalOnClass classes found: org.springframework.http.converter.HttpMessageConverter (OnClassCondition)

HttpMessageConvertersAutoConfiguration#messageConverters
- @ConditionalOnMissingBean (types: org.springframework.boot.autoconfigure.web.HttpMessageConverters; SearchStrategy: all) found no beans (OnBeanCondition)

HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration
- @ConditionalOnClass classes found: org.springframework.http.converter.StringHttpMessageConverter (OnClassCondition)

HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration#stringHttpMessageConverter
- @ConditionalOnMissingBean (types: org.springframework.http.converter.StringHttpMessageConverter; SearchStrategy: all) found no beans (OnBeanCondition)

JmxAutoConfiguration
- @ConditionalOnClass classes found: org.springframework.jmx.export.MBeanExporter (OnClassCondition)
- matched (OnPropertyCondition)

JmxAutoConfiguration#mbeanExporter
- @ConditionalOnMissingBean (types: org.springframework.jmx.export.MBeanExporter; SearchStrategy: current) found no beans (OnBeanCondition)

JmxAutoConfiguration#mbeanServer
- @ConditionalOnMissingBean (types: javax.management.MBeanServer; SearchStrategy: all) found no beans (OnBeanCondition)

JmxAutoConfiguration#objectNamingStrategy
- @ConditionalOnMissingBean (types: org.springframework.jmx.export.naming.ObjectNamingStrategy; SearchStrategy: current) found no beans (OnBeanCondition)

MongoDataAutoConfiguration
- @ConditionalOnClass classes found: com.mongodb.Mongo,org.springframework.data.mongodb.core.MongoTemplate (OnClassCondition)

MongoDataAutoConfiguration#gridFsTemplate
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.gridfs.GridFsTemplate; SearchStrategy: all) found no beans (OnBeanCondition)

PersistenceExceptionTranslationAutoConfiguration
- @ConditionalOnClass classes found: org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor (OnClassCondition)

PersistenceExceptionTranslationAutoConfiguration#persistenceExceptionTranslationPostProcessor
- @ConditionalOnMissingBean (types: org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor; SearchStrategy: all) found no beans (OnBeanCondition)
- matched (OnPropertyCondition)

Negative matches:

ActiveMQAutoConfiguration
- required @ConditionalOnClass classes not found: javax.jms.ConnectionFactory,org.apache.activemq.ActiveMQConnectionFactory (OnClassCondition)

AopAutoConfiguration
- required @ConditionalOnClass classes not found: org.aspectj.lang.annotation.Aspect,org.aspectj.lang.reflect.Advice (OnClassCondition)

BatchAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.batch.core.launch.JobLauncher,org.springframework.jdbc.core.JdbcOperations (OnClassCondition)

CloudAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.cloud.config.java.CloudScanConfiguration (OnClassCondition)

DataSourceAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType (OnClassCondition)

DataSourceTransactionManagerAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.jdbc.core.JdbcTemplate (OnClassCondition)

DeviceDelegatingViewResolverAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver (OnClassCondition)

DeviceResolverAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.mobile.device.DeviceResolverHandlerInterceptor,org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver (OnClassCondition)

DispatcherServletAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.web.servlet.DispatcherServlet (OnClassCondition)

ElasticsearchAutoConfiguration
- required @ConditionalOnClass classes not found: org.elasticsearch.client.Client,org.springframework.data.elasticsearch.client.TransportClientFactoryBean,org.springframework.data.elasticsearch.client.NodeClientFactoryBean (OnClassCondition)

ElasticsearchDataAutoConfiguration
- required @ConditionalOnClass classes not found: org.elasticsearch.client.Client,org.springframework.data.elasticsearch.core.ElasticsearchTemplate (OnClassCondition)

ElasticsearchRepositoriesAutoConfiguration
- required @ConditionalOnClass classes not found: org.elasticsearch.client.Client,org.springframework.data.elasticsearch.repository.ElasticsearchRepository (OnClassCondition)

EmbeddedServletContainerAutoConfiguration
- not a web application (OnWebApplicationCondition)

ErrorMvcAutoConfiguration
- required @ConditionalOnClass classes not found: javax.servlet.Servlet,org.springframework.web.servlet.DispatcherServlet (OnClassCondition)

FacebookAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.social.config.annotation.SocialConfigurerAdapter,org.springframework.social.facebook.connect.FacebookConnectionFactory (OnClassCondition)

FallbackWebSecurityAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.security.config.annotation.web.configuration.EnableWebSecurity (OnClassCondition)

FlywayAutoConfiguration
- required @ConditionalOnClass classes not found: org.flywaydb.core.Flyway (OnClassCondition)

FreeMarkerAutoConfiguration
- required @ConditionalOnClass classes not found: freemarker.template.Configuration,org.springframework.ui.freemarker.FreeMarkerConfigurationFactory (OnClassCondition)

GroovyTemplateAutoConfiguration
- required @ConditionalOnClass classes not found: groovy.text.markup.MarkupTemplateEngine (OnClassCondition)

GsonAutoConfiguration
- required @ConditionalOnClass classes not found: com.google.gson.Gson (OnClassCondition)

GsonHttpMessageConvertersConfiguration
- required @ConditionalOnClass classes not found: com.google.gson.Gson (OnClassCondition)

GzipFilterAutoConfiguration
- required @ConditionalOnClass classes not found: org.eclipse.jetty.servlets.GzipFilter (OnClassCondition)

HibernateJpaAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean,javax.persistence.EntityManager (OnClassCondition)

HornetQAutoConfiguration
- required @ConditionalOnClass classes not found: javax.jms.ConnectionFactory,org.hornetq.api.jms.HornetQJMSClient (OnClassCondition)

HttpEncodingAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.web.filter.CharacterEncodingFilter (OnClassCondition)

HypermediaAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.hateoas.Resource,org.springframework.plugin.core.Plugin (OnClassCondition)

IntegrationAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.integration.config.EnableIntegration (OnClassCondition)

JacksonAutoConfiguration
- required @ConditionalOnClass classes not found: com.fasterxml.jackson.databind.ObjectMapper (OnClassCondition)

JacksonHttpMessageConvertersConfiguration.MappingJackson2HttpMessageConverterConfiguration
- required @ConditionalOnClass classes not found: com.fasterxml.jackson.databind.ObjectMapper (OnClassCondition)

JacksonHttpMessageConvertersConfiguration.MappingJackson2XmlHttpMessageConverterConfiguration
- required @ConditionalOnClass classes not found: com.fasterxml.jackson.dataformat.xml.XmlMapper (OnClassCondition)

JerseyAutoConfiguration
- required @ConditionalOnClass classes not found: org.glassfish.jersey.server.spring.SpringComponentProvider,javax.servlet.ServletRegistration (OnClassCondition)

JmsAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.jms.core.JmsTemplate (OnClassCondition)

JndiConnectionFactoryAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.jms.core.JmsTemplate (OnClassCondition)

JndiDataSourceAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType (OnClassCondition)

JpaRepositoriesAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.data.jpa.repository.JpaRepository (OnClassCondition)

JtaAutoConfiguration
- required @ConditionalOnClass classes not found: javax.transaction.Transaction (OnClassCondition)

LinkedInAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.social.config.annotation.SocialConfigurerAdapter,org.springframework.social.linkedin.connect.LinkedInConnectionFactory (OnClassCondition)

LiquibaseAutoConfiguration
- required @ConditionalOnClass classes not found: liquibase.integration.spring.SpringLiquibase (OnClassCondition)

MailSenderAutoConfiguration
- required @ConditionalOnClass classes not found: javax.mail.internet.MimeMessage (OnClassCondition)

MessageSourceAutoConfiguration
- No bundle found for spring.messages.basename: messages (MessageSourceAutoConfiguration.ResourceBundleCondition)

MongoAutoConfiguration
- @ConditionalOnClass classes found: com.mongodb.Mongo (OnClassCondition)
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.MongoDbFactory; SearchStrategy: all) found the following mongoDbFactory

MongoDataAutoConfiguration#mappingMongoConverter
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.core.convert.MongoConverter; SearchStrategy: all) found the following mappingMongoConverter

MongoDataAutoConfiguration#mongoDbFactory
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.MongoDbFactory; SearchStrategy: all) found the following mongoDbFactory

MongoDataAutoConfiguration#mongoMappingContext
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.core.mapping.MongoMappingContext; SearchStrategy: all) found the following mongoMappingContext

MongoDataAutoConfiguration#mongoTemplate
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.core.MongoTemplate; SearchStrategy: all) found the following mongoTemplate

MongoRepositoriesAutoConfiguration
- @ConditionalOnClass classes found: com.mongodb.Mongo,org.springframework.data.mongodb.repository.MongoRepository (OnClassCondition)
- matched (OnPropertyCondition)
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean,org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension; SearchStrategy: all) found the following &scopeRepository, &codeQualityRepository, &hudsonCollectorRepository, &baseCollectorItemRepository, &commitRepository, &environmentComponentRepository, &testResultRepository, &authenticationRepository, &featureRepository, &environmentStatusRepository, &collectorItemRepository, &componentRepository, &hudsonJobRepository, &serviceRepository, &buildRepository, &collectorRepository, &dashboardRepository, &baseCollectorRepository, org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension#0

MultipartAutoConfiguration
- required @ConditionalOnClass classes not found: javax.servlet.Servlet,javax.servlet.MultipartConfigElement (OnClassCondition)

MustacheAutoConfiguration
- required @ConditionalOnClass classes not found: com.samskivert.mustache.Mustache (OnClassCondition)

PropertyPlaceholderAutoConfiguration#propertySourcesPlaceholderConfigurer
- @ConditionalOnMissingBean (types: org.springframework.context.support.PropertySourcesPlaceholderConfigurer; SearchStrategy: current) found the following propertySourcesPlaceholderConfigurer

RabbitAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.amqp.rabbit.core.RabbitTemplate,com.rabbitmq.client.Channel (OnClassCondition)

ReactorAutoConfiguration
- required @ConditionalOnClass classes not found: reactor.spring.context.config.EnableReactor,reactor.core.Environment (OnClassCondition)

RedisAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.data.redis.connection.jedis.JedisConnection,org.springframework.data.redis.core.RedisOperations,redis.clients.jedis.Jedis (OnClassCondition)

RepositoryRestMvcAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration (OnClassCondition)

SecurityAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.security.authentication.AuthenticationManager,org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapter (OnClassCondition)

ServerPropertiesAutoConfiguration
- not a web application (OnWebApplicationCondition)

SitePreferenceAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor,org.springframework.mobile.device.site.SitePreferenceHandlerMethodArgumentResolver (OnClassCondition)

SocialWebAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.social.connect.web.ConnectController,org.springframework.social.config.annotation.SocialConfigurerAdapter (OnClassCondition)

SolrAutoConfiguration
- required @ConditionalOnClass classes not found: org.apache.solr.client.solrj.impl.HttpSolrServer,org.apache.solr.client.solrj.impl.CloudSolrServer (OnClassCondition)

SolrRepositoriesAutoConfiguration
- required @ConditionalOnClass classes not found: org.apache.solr.client.solrj.SolrServer,org.springframework.data.solr.repository.SolrRepository (OnClassCondition)

SpringDataWebAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter (OnClassCondition)

ThymeleafAutoConfiguration
- required @ConditionalOnClass classes not found: org.thymeleaf.spring4.SpringTemplateEngine (OnClassCondition)

TwitterAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.social.config.annotation.SocialConfigurerAdapter,org.springframework.social.twitter.connect.TwitterConnectionFactory (OnClassCondition)

VelocityAutoConfiguration
- required @ConditionalOnClass classes not found: org.apache.velocity.app.VelocityEngine,org.springframework.ui.velocity.VelocityEngineFactory (OnClassCondition)

WebMvcAutoConfiguration
- required @ConditionalOnClass classes not found: javax.servlet.Servlet,org.springframework.web.servlet.DispatcherServlet,org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter (OnClassCondition)

WebSocketAutoConfiguration
- required @ConditionalOnClass classes not found: javax.servlet.Servlet,javax.websocket.server.ServerContainer (OnClassCondition)

XADataSourceAutoConfiguration
- required @ConditionalOnClass classes not found: javax.transaction.TransactionManager,org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType (OnClassCondition)

2016-01-08 01:15:44,183 ERROR o.s.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at com.capitalone.dashboard.Application.main(Application.java:13) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66-internal]
Caused by: java.lang.NullPointerException: null
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
... 22 common frames omitted
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:497)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
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.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.capitalone.dashboard.Application.main(Application.java:13)
... 6 more
Caused by: java.lang.NullPointerException
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265)
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95)
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82)
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44)
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73)
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:497)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
... 22 more

Contributor

jimzucker commented Jan 8, 2016

Here is the whole log:

Properties file created Fri Jan 8 01:15:40 UTC 2016: hygieia-jenkins-build-collector.properties

Note: passwords & apiKey hidden

#Database Name
database=dashboard

#Database HostName - default is localhost
dbhost=172.17.0.2

#Database Port - default is 27017
dbport=27017

#Database Username - default is blank
dbusername=db

#Collector schedule (required)
jenkinbs.cron=0 0/5 * * * *

#Jenkins server (required) - Can provide multiple
jenkins.servers[0]=http://localhost:8080

#If using username/token for api authentication (required for Cloudbees Jenkins Ops Center) see sample
#jenkins.servers[1]=http://username:token@jenkins.company.com
jenkins.servers[1]=

jenkins.username=jaz

#Determines if build console log is collected - defaults to false
jenkins.saveLog=true


| | | | () () | ___ \ () | | | / __ \ | | | | |
| |
| |_ _ __ _ _ ___ _ __ _ | |/ / _ | | | || / / ___ | | | ___ **| | ___ _ __
| _ | | | |/ | |/ _ \ |/ _ |
**| ___ \ | | | | |/ ` || | / _ | | |/ _ / | __/ _ | '|
| | | | |
| | (
| | | **/ | (
| | | |
/ / |
| | | | (
| | | **/\ (
) | | | / (**| || () | |
_| |
/**, |
, ||||**,| / __,|||__,| _/**/|||**||_____/||
__/ | **/ |
|
/ |___/

2016-01-08 01:15:41,400 INFO com.capitalone.dashboard.Application - Starting Application v1.5.0-SNAPSHOT on 707f6bbd01e7 with PID 20 (/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar started by root in /hygieia)
2016-01-08 01:15:41,409 DEBUG o.s.boot.SpringApplication - Loading source class com.capitalone.dashboard.Application
2016-01-08 01:15:41,468 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Loaded config file 'file:/hygieia/hygieia-jenkins-build-collector.properties'
2016-01-08 01:15:41,468 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./config/application.xml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./config/application.yml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./config/application.properties' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./config/application.yaml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./application.xml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./application.yml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./application.properties' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'file:./application.yaml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/config/application.xml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/config/application.yml' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/config/application.properties' resource not found
2016-01-08 01:15:41,469 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/config/application.yaml' resource not found
2016-01-08 01:15:41,470 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/application.xml' resource not found
2016-01-08 01:15:41,470 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/application.yml' resource not found
2016-01-08 01:15:41,470 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/application.properties' resource not found
2016-01-08 01:15:41,470 DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped config file 'classpath:/application.yaml' resource not found
2016-01-08 01:15:41,471 INFO o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@537fecc0: startup date [Fri Jan 08 01:15:41 UTC 2016]; root of context hierarchy
2016-01-08 01:15:42,730 INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-01-08 01:15:43,099 INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2016-01-08 01:15:43,222 INFO c.c.dashboard.config.MongoConfig - Initializing Mongo Client server at: 172.17.0.2:27017
2016-01-08 01:15:43,360 INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[172.17.0.2:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2016-01-08 01:15:43,472 INFO c.c.dashboard.config.MongoConfig - Connecting to Mongo: Mongo{options=MongoClientOptions{description='null', readPreference=primary, writeConcern=WriteConcern{w=1, wtimeout=0, fsync=false, j=false, codecRegistry=org.bson.codecs.configuration.ProvidersCodecRegistry@f7ad84e, minConnectionsPerHost=0, maxConnectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, serverSelectionTimeout=30000, maxWaitTime=120000, maxConnectionIdleTime=0, maxConnectionLifeTime=0, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, sslEnabled=false, sslInvalidHostNamesAllowed=false, alwaysUseMBeans=false, heartbeatFrequency=10000, minHeartbeatFrequency=500, heartbeatConnectTimeout=20000, heartbeatSocketTimeout=20000, localThreshold=15, requiredReplicaSetName='null', dbDecoderFactory=com.mongodb.DefaultDBDecoder$1@4735b2d0, dbEncoderFactory=com.mongodb.DefaultDBEncoder$1@8323fde, socketFactory=javax.net.DefaultSocketFactory@69030ad3, cursorFinalizerEnabled=true, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitQueueSize=500, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=20000, readTimeoutMS=20000, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}}}
2016-01-08 01:15:43,800 INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:62}] to 172.17.0.2:27017
2016-01-08 01:15:43,808 INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=172.17.0.2:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 0]}, minWireVersion=0, maxWireVersion=4, electionId=null, maxDocumentSize=16777216, roundTripTimeNanos=360123}
2016-01-08 01:15:44,148 WARN o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at com.capitalone.dashboard.Application.main(Application.java:13) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66-internal]
Caused by: java.lang.NullPointerException: null
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
... 22 common frames omitted
2016-01-08 01:15:44,169 INFO o.s.s.c.ThreadPoolTaskScheduler - Shutting down ExecutorService 'taskScheduler'
2016-01-08 01:15:44,170 INFO o.s.b.l.ClasspathLoggingApplicationListener - Application failed to start with classpath: [jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/core-1.5.0-SNAPSHOT.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/commons-codec-1.9.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-test-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-data-mongodb-1.8.0.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-expression-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-data-commons-1.11.0.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/slf4j-api-1.7.12.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/jcl-over-slf4j-1.7.12.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-jpa-3.6.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-core-3.6.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/guava-18.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/jsr305-1.3.9.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/mysema-commons-lang-0.2.4.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/bridge-method-annotation-1.13.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-apt-3.6.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-codegen-3.6.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/codegen-0.6.5.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/ecj-4.3.1.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/javax.inject-1.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/querydsl-mongodb-3.6.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-starter-data-mongodb-1.2.5.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-starter-1.2.5.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-1.2.5.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-autoconfigure-1.2.5.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-boot-starter-logging-1.2.5.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/jul-to-slf4j-1.7.12.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/log4j-over-slf4j-1.7.12.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/logback-classic-1.1.3.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/logback-core-1.1.3.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/snakeyaml-1.14.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/mongo-java-driver-3.0.2.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-core-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-tx-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/junit-4.12.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/hamcrest-core-1.3.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-web-4.1.0.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-aop-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/aopalliance-1.0.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-beans-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/spring-context-4.1.7.RELEASE.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/json-simple-1.1.1.jar!/, jar:file:/hygieia/jenkins-build-collector-1.5.0-SNAPSHOT.jar!/lib/commons-lang3-3.3.2.jar!/]
2016-01-08 01:15:44,176 DEBUG o.s.b.a.l.AutoConfigurationReportLoggingInitializer -

AUTO-CONFIGURATION REPORT

Positive matches:

HttpMessageConvertersAutoConfiguration
- @ConditionalOnClass classes found: org.springframework.http.converter.HttpMessageConverter (OnClassCondition)

HttpMessageConvertersAutoConfiguration#messageConverters
- @ConditionalOnMissingBean (types: org.springframework.boot.autoconfigure.web.HttpMessageConverters; SearchStrategy: all) found no beans (OnBeanCondition)

HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration
- @ConditionalOnClass classes found: org.springframework.http.converter.StringHttpMessageConverter (OnClassCondition)

HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration#stringHttpMessageConverter
- @ConditionalOnMissingBean (types: org.springframework.http.converter.StringHttpMessageConverter; SearchStrategy: all) found no beans (OnBeanCondition)

JmxAutoConfiguration
- @ConditionalOnClass classes found: org.springframework.jmx.export.MBeanExporter (OnClassCondition)
- matched (OnPropertyCondition)

JmxAutoConfiguration#mbeanExporter
- @ConditionalOnMissingBean (types: org.springframework.jmx.export.MBeanExporter; SearchStrategy: current) found no beans (OnBeanCondition)

JmxAutoConfiguration#mbeanServer
- @ConditionalOnMissingBean (types: javax.management.MBeanServer; SearchStrategy: all) found no beans (OnBeanCondition)

JmxAutoConfiguration#objectNamingStrategy
- @ConditionalOnMissingBean (types: org.springframework.jmx.export.naming.ObjectNamingStrategy; SearchStrategy: current) found no beans (OnBeanCondition)

MongoDataAutoConfiguration
- @ConditionalOnClass classes found: com.mongodb.Mongo,org.springframework.data.mongodb.core.MongoTemplate (OnClassCondition)

MongoDataAutoConfiguration#gridFsTemplate
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.gridfs.GridFsTemplate; SearchStrategy: all) found no beans (OnBeanCondition)

PersistenceExceptionTranslationAutoConfiguration
- @ConditionalOnClass classes found: org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor (OnClassCondition)

PersistenceExceptionTranslationAutoConfiguration#persistenceExceptionTranslationPostProcessor
- @ConditionalOnMissingBean (types: org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor; SearchStrategy: all) found no beans (OnBeanCondition)
- matched (OnPropertyCondition)

Negative matches:

ActiveMQAutoConfiguration
- required @ConditionalOnClass classes not found: javax.jms.ConnectionFactory,org.apache.activemq.ActiveMQConnectionFactory (OnClassCondition)

AopAutoConfiguration
- required @ConditionalOnClass classes not found: org.aspectj.lang.annotation.Aspect,org.aspectj.lang.reflect.Advice (OnClassCondition)

BatchAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.batch.core.launch.JobLauncher,org.springframework.jdbc.core.JdbcOperations (OnClassCondition)

CloudAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.cloud.config.java.CloudScanConfiguration (OnClassCondition)

DataSourceAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType (OnClassCondition)

DataSourceTransactionManagerAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.jdbc.core.JdbcTemplate (OnClassCondition)

DeviceDelegatingViewResolverAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver (OnClassCondition)

DeviceResolverAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.mobile.device.DeviceResolverHandlerInterceptor,org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver (OnClassCondition)

DispatcherServletAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.web.servlet.DispatcherServlet (OnClassCondition)

ElasticsearchAutoConfiguration
- required @ConditionalOnClass classes not found: org.elasticsearch.client.Client,org.springframework.data.elasticsearch.client.TransportClientFactoryBean,org.springframework.data.elasticsearch.client.NodeClientFactoryBean (OnClassCondition)

ElasticsearchDataAutoConfiguration
- required @ConditionalOnClass classes not found: org.elasticsearch.client.Client,org.springframework.data.elasticsearch.core.ElasticsearchTemplate (OnClassCondition)

ElasticsearchRepositoriesAutoConfiguration
- required @ConditionalOnClass classes not found: org.elasticsearch.client.Client,org.springframework.data.elasticsearch.repository.ElasticsearchRepository (OnClassCondition)

EmbeddedServletContainerAutoConfiguration
- not a web application (OnWebApplicationCondition)

ErrorMvcAutoConfiguration
- required @ConditionalOnClass classes not found: javax.servlet.Servlet,org.springframework.web.servlet.DispatcherServlet (OnClassCondition)

FacebookAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.social.config.annotation.SocialConfigurerAdapter,org.springframework.social.facebook.connect.FacebookConnectionFactory (OnClassCondition)

FallbackWebSecurityAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.security.config.annotation.web.configuration.EnableWebSecurity (OnClassCondition)

FlywayAutoConfiguration
- required @ConditionalOnClass classes not found: org.flywaydb.core.Flyway (OnClassCondition)

FreeMarkerAutoConfiguration
- required @ConditionalOnClass classes not found: freemarker.template.Configuration,org.springframework.ui.freemarker.FreeMarkerConfigurationFactory (OnClassCondition)

GroovyTemplateAutoConfiguration
- required @ConditionalOnClass classes not found: groovy.text.markup.MarkupTemplateEngine (OnClassCondition)

GsonAutoConfiguration
- required @ConditionalOnClass classes not found: com.google.gson.Gson (OnClassCondition)

GsonHttpMessageConvertersConfiguration
- required @ConditionalOnClass classes not found: com.google.gson.Gson (OnClassCondition)

GzipFilterAutoConfiguration
- required @ConditionalOnClass classes not found: org.eclipse.jetty.servlets.GzipFilter (OnClassCondition)

HibernateJpaAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean,javax.persistence.EntityManager (OnClassCondition)

HornetQAutoConfiguration
- required @ConditionalOnClass classes not found: javax.jms.ConnectionFactory,org.hornetq.api.jms.HornetQJMSClient (OnClassCondition)

HttpEncodingAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.web.filter.CharacterEncodingFilter (OnClassCondition)

HypermediaAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.hateoas.Resource,org.springframework.plugin.core.Plugin (OnClassCondition)

IntegrationAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.integration.config.EnableIntegration (OnClassCondition)

JacksonAutoConfiguration
- required @ConditionalOnClass classes not found: com.fasterxml.jackson.databind.ObjectMapper (OnClassCondition)

JacksonHttpMessageConvertersConfiguration.MappingJackson2HttpMessageConverterConfiguration
- required @ConditionalOnClass classes not found: com.fasterxml.jackson.databind.ObjectMapper (OnClassCondition)

JacksonHttpMessageConvertersConfiguration.MappingJackson2XmlHttpMessageConverterConfiguration
- required @ConditionalOnClass classes not found: com.fasterxml.jackson.dataformat.xml.XmlMapper (OnClassCondition)

JerseyAutoConfiguration
- required @ConditionalOnClass classes not found: org.glassfish.jersey.server.spring.SpringComponentProvider,javax.servlet.ServletRegistration (OnClassCondition)

JmsAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.jms.core.JmsTemplate (OnClassCondition)

JndiConnectionFactoryAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.jms.core.JmsTemplate (OnClassCondition)

JndiDataSourceAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType (OnClassCondition)

JpaRepositoriesAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.data.jpa.repository.JpaRepository (OnClassCondition)

JtaAutoConfiguration
- required @ConditionalOnClass classes not found: javax.transaction.Transaction (OnClassCondition)

LinkedInAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.social.config.annotation.SocialConfigurerAdapter,org.springframework.social.linkedin.connect.LinkedInConnectionFactory (OnClassCondition)

LiquibaseAutoConfiguration
- required @ConditionalOnClass classes not found: liquibase.integration.spring.SpringLiquibase (OnClassCondition)

MailSenderAutoConfiguration
- required @ConditionalOnClass classes not found: javax.mail.internet.MimeMessage (OnClassCondition)

MessageSourceAutoConfiguration
- No bundle found for spring.messages.basename: messages (MessageSourceAutoConfiguration.ResourceBundleCondition)

MongoAutoConfiguration
- @ConditionalOnClass classes found: com.mongodb.Mongo (OnClassCondition)
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.MongoDbFactory; SearchStrategy: all) found the following mongoDbFactory

MongoDataAutoConfiguration#mappingMongoConverter
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.core.convert.MongoConverter; SearchStrategy: all) found the following mappingMongoConverter

MongoDataAutoConfiguration#mongoDbFactory
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.MongoDbFactory; SearchStrategy: all) found the following mongoDbFactory

MongoDataAutoConfiguration#mongoMappingContext
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.core.mapping.MongoMappingContext; SearchStrategy: all) found the following mongoMappingContext

MongoDataAutoConfiguration#mongoTemplate
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.core.MongoTemplate; SearchStrategy: all) found the following mongoTemplate

MongoRepositoriesAutoConfiguration
- @ConditionalOnClass classes found: com.mongodb.Mongo,org.springframework.data.mongodb.repository.MongoRepository (OnClassCondition)
- matched (OnPropertyCondition)
- @ConditionalOnMissingBean (types: org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean,org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension; SearchStrategy: all) found the following &scopeRepository, &codeQualityRepository, &hudsonCollectorRepository, &baseCollectorItemRepository, &commitRepository, &environmentComponentRepository, &testResultRepository, &authenticationRepository, &featureRepository, &environmentStatusRepository, &collectorItemRepository, &componentRepository, &hudsonJobRepository, &serviceRepository, &buildRepository, &collectorRepository, &dashboardRepository, &baseCollectorRepository, org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension#0

MultipartAutoConfiguration
- required @ConditionalOnClass classes not found: javax.servlet.Servlet,javax.servlet.MultipartConfigElement (OnClassCondition)

MustacheAutoConfiguration
- required @ConditionalOnClass classes not found: com.samskivert.mustache.Mustache (OnClassCondition)

PropertyPlaceholderAutoConfiguration#propertySourcesPlaceholderConfigurer
- @ConditionalOnMissingBean (types: org.springframework.context.support.PropertySourcesPlaceholderConfigurer; SearchStrategy: current) found the following propertySourcesPlaceholderConfigurer

RabbitAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.amqp.rabbit.core.RabbitTemplate,com.rabbitmq.client.Channel (OnClassCondition)

ReactorAutoConfiguration
- required @ConditionalOnClass classes not found: reactor.spring.context.config.EnableReactor,reactor.core.Environment (OnClassCondition)

RedisAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.data.redis.connection.jedis.JedisConnection,org.springframework.data.redis.core.RedisOperations,redis.clients.jedis.Jedis (OnClassCondition)

RepositoryRestMvcAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration (OnClassCondition)

SecurityAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.security.authentication.AuthenticationManager,org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapter (OnClassCondition)

ServerPropertiesAutoConfiguration
- not a web application (OnWebApplicationCondition)

SitePreferenceAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor,org.springframework.mobile.device.site.SitePreferenceHandlerMethodArgumentResolver (OnClassCondition)

SocialWebAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.social.connect.web.ConnectController,org.springframework.social.config.annotation.SocialConfigurerAdapter (OnClassCondition)

SolrAutoConfiguration
- required @ConditionalOnClass classes not found: org.apache.solr.client.solrj.impl.HttpSolrServer,org.apache.solr.client.solrj.impl.CloudSolrServer (OnClassCondition)

SolrRepositoriesAutoConfiguration
- required @ConditionalOnClass classes not found: org.apache.solr.client.solrj.SolrServer,org.springframework.data.solr.repository.SolrRepository (OnClassCondition)

SpringDataWebAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter (OnClassCondition)

ThymeleafAutoConfiguration
- required @ConditionalOnClass classes not found: org.thymeleaf.spring4.SpringTemplateEngine (OnClassCondition)

TwitterAutoConfiguration
- required @ConditionalOnClass classes not found: org.springframework.social.config.annotation.SocialConfigurerAdapter,org.springframework.social.twitter.connect.TwitterConnectionFactory (OnClassCondition)

VelocityAutoConfiguration
- required @ConditionalOnClass classes not found: org.apache.velocity.app.VelocityEngine,org.springframework.ui.velocity.VelocityEngineFactory (OnClassCondition)

WebMvcAutoConfiguration
- required @ConditionalOnClass classes not found: javax.servlet.Servlet,org.springframework.web.servlet.DispatcherServlet,org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter (OnClassCondition)

WebSocketAutoConfiguration
- required @ConditionalOnClass classes not found: javax.servlet.Servlet,javax.websocket.server.ServerContainer (OnClassCondition)

XADataSourceAutoConfiguration
- required @ConditionalOnClass classes not found: javax.transaction.TransactionManager,org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType (OnClassCondition)

2016-01-08 01:15:44,183 ERROR o.s.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at com.capitalone.dashboard.Application.main(Application.java:13) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [jenkins-build-collector-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66-internal]
Caused by: java.lang.NullPointerException: null
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
... 22 common frames omitted
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:497)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
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.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.capitalone.dashboard.Application.main(Application.java:13)
... 6 more
Caused by: java.lang.NullPointerException
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265)
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95)
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82)
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44)
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73)
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:497)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
... 22 more

@tabladrum

This comment has been minimized.

Show comment
Hide comment
@tabladrum

tabladrum Jan 8, 2016

Contributor

the cron settings are bad - you have a typo in the properties file:

jenkinbs.cron=0 0/5 * * * *

should be
jenkins.cron=0 0/5 * * * *
Caused by: java.lang.NullPointerException: null at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.scheduling.support.CronTrigger.<init>(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]

Contributor

tabladrum commented Jan 8, 2016

the cron settings are bad - you have a typo in the properties file:

jenkinbs.cron=0 0/5 * * * *

should be
jenkins.cron=0 0/5 * * * *
Caused by: java.lang.NullPointerException: null at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at org.springframework.scheduling.support.CronTrigger.<init>(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE] at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-1.5.0-SNAPSHOT.jar!/:1.5.0-SNAPSHOT]

@gokulknewt

This comment has been minimized.

Show comment
Hide comment
@gokulknewt

gokulknewt Nov 15, 2016

Hi tabladrum ,
I'm starting the jar file for sonatype from the target folder @ my local.we are facing issue like this.can you please assist me to proceed further.

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.TaskScheduler] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}

gokulknewt commented Nov 15, 2016

Hi tabladrum ,
I'm starting the jar file for sonatype from the target folder @ my local.we are facing issue like this.can you please assist me to proceed further.

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.TaskScheduler] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}

@monikanaagar

This comment has been minimized.

Show comment
Hide comment
@monikanaagar

monikanaagar Jul 3, 2018

I am getting below error while running github jar from cmd. please help

2018-07-03 16:35:04,738 INFO com.capitalone.dashboard.Application - Starting Application v2.0.4-SNAPSHOT on LIN76000473 with PID 16440 (C:\devOps\Hygieia-Hygieia-2.0.4\collectors\scm\github\target\github-scm-collector-2.0.4-SNAPSHOT.jar started by mnaagar in C:\devOps\Hygieia-Hygieia-2.0.4\collectors\scm\github\target)
2018-07-03 16:35:04,801 INFO o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@79014d9: startup date [Tue Jul 03 16:35:04 CEST 2018]; root of context hierarchy
2018-07-03 16:35:06,094 INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-07-03 16:35:06,172 INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 5.1.3.Final
2018-07-03 16:35:07,547 INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2018-07-03 16:35:07,703 INFO c.c.dashboard.config.MongoConfig - ReplicaSetfalse
2018-07-03 16:35:07,703 INFO c.c.dashboard.config.MongoConfig - Initializing Mongo Client server at: localhost:27017
2018-07-03 16:35:08,563 INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2018-07-03 16:35:08,641 INFO c.c.dashboard.config.MongoConfig - Connecting to Mongo: Mongo{options=MongoClientOptions{description='null', readPreference=primary, writeConcern=WriteConcern{w=1, wtimeout=0, fsync=false, j=false, codecRegistry=org.bson.codecs.configuration.ProvidersCodecRegistry@226dce29, minConnectionsPerHost=0, maxConnectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, serverSelectionTimeout=30000, maxWaitTime=120000, maxConnectionIdleTime=0, maxConnectionLifeTime=0, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, sslEnabled=false, sslInvalidHostNamesAllowed=false, alwaysUseMBeans=false, heartbeatFrequency=10000, minHeartbeatFrequency=500, heartbeatConnectTimeout=20000, heartbeatSocketTimeout=20000, localThreshold=15, requiredReplicaSetName='null', dbDecoderFactory=com.mongodb.DefaultDBDecoder$1@5c74dd7, dbEncoderFactory=com.mongodb.DefaultDBEncoder$1@4a380b73, socketFactory=javax.net.DefaultSocketFactory@1e4e1966, cursorFinalizerEnabled=true, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitQueueSize=500, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=20000, readTimeoutMS=20000, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}}}
2018-07-03 16:35:08,719 INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:420}] to localhost:27017
2018-07-03 16:35:08,719 INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[2, 6, 1]}, minWireVersion=0, maxWireVersion=2, electionId=null, maxDocumentSize=16777216, roundTripTimeNanos=1593433}
2018-07-03 16:35:09,157 WARN o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gitHubCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at com.capitalone.dashboard.Application.main(Application.java:13) [github-scm-collector-2.0.4-SNAPSHOT.jar!/:2.0.4-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_131]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [github-scm-collector-2.0.4-SNAPSHOT.jar!/:2.0.4-SNAPSHOT]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_131]
Caused by: java.lang.NullPointerException: null
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-2.0.4-SNAPSHOT.jar!/:2.0.4-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_131]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
... 22 common frames omitted

monikanaagar commented Jul 3, 2018

I am getting below error while running github jar from cmd. please help

2018-07-03 16:35:04,738 INFO com.capitalone.dashboard.Application - Starting Application v2.0.4-SNAPSHOT on LIN76000473 with PID 16440 (C:\devOps\Hygieia-Hygieia-2.0.4\collectors\scm\github\target\github-scm-collector-2.0.4-SNAPSHOT.jar started by mnaagar in C:\devOps\Hygieia-Hygieia-2.0.4\collectors\scm\github\target)
2018-07-03 16:35:04,801 INFO o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@79014d9: startup date [Tue Jul 03 16:35:04 CEST 2018]; root of context hierarchy
2018-07-03 16:35:06,094 INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-07-03 16:35:06,172 INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 5.1.3.Final
2018-07-03 16:35:07,547 INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2018-07-03 16:35:07,703 INFO c.c.dashboard.config.MongoConfig - ReplicaSetfalse
2018-07-03 16:35:07,703 INFO c.c.dashboard.config.MongoConfig - Initializing Mongo Client server at: localhost:27017
2018-07-03 16:35:08,563 INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2018-07-03 16:35:08,641 INFO c.c.dashboard.config.MongoConfig - Connecting to Mongo: Mongo{options=MongoClientOptions{description='null', readPreference=primary, writeConcern=WriteConcern{w=1, wtimeout=0, fsync=false, j=false, codecRegistry=org.bson.codecs.configuration.ProvidersCodecRegistry@226dce29, minConnectionsPerHost=0, maxConnectionsPerHost=100, threadsAllowedToBlockForConnectionMultiplier=5, serverSelectionTimeout=30000, maxWaitTime=120000, maxConnectionIdleTime=0, maxConnectionLifeTime=0, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, sslEnabled=false, sslInvalidHostNamesAllowed=false, alwaysUseMBeans=false, heartbeatFrequency=10000, minHeartbeatFrequency=500, heartbeatConnectTimeout=20000, heartbeatSocketTimeout=20000, localThreshold=15, requiredReplicaSetName='null', dbDecoderFactory=com.mongodb.DefaultDBDecoder$1@5c74dd7, dbEncoderFactory=com.mongodb.DefaultDBEncoder$1@4a380b73, socketFactory=javax.net.DefaultSocketFactory@1e4e1966, cursorFinalizerEnabled=true, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitQueueSize=500, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=20000, readTimeoutMS=20000, keepAlive=false, receiveBufferSize=0, sendBufferSize=0}}}
2018-07-03 16:35:08,719 INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:420}] to localhost:27017
2018-07-03 16:35:08,719 INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[2, 6, 1]}, minWireVersion=0, maxWireVersion=2, electionId=null, maxDocumentSize=16777216, roundTripTimeNanos=1593433}
2018-07-03 16:35:09,157 WARN o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gitHubCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
at com.capitalone.dashboard.Application.main(Application.java:13) [github-scm-collector-2.0.4-SNAPSHOT.jar!/:2.0.4-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_131]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [github-scm-collector-2.0.4-SNAPSHOT.jar!/:2.0.4-SNAPSHOT]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_131]
Caused by: java.lang.NullPointerException: null
at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:95) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronSequenceGenerator.(CronSequenceGenerator.java:82) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.support.CronTrigger.(CronTrigger.java:44) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-2.0.4-SNAPSHOT.jar!/:2.0.4-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_131]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
... 22 common frames omitted

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