{"action":"closed","issue":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/2294","repository_url":"https://api.github.com/repos/capitalone/Hygieia","labels_url":"https://api.github.com/repos/capitalone/Hygieia/issues/2294/labels{/name}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/issues/2294/comments","events_url":"https://api.github.com/repos/capitalone/Hygieia/issues/2294/events","html_url":"https://github.com/capitalone/Hygieia/issues/2294","id":332684540,"node_id":"MDU6SXNzdWUzMzI2ODQ1NDA=","number":2294,"title":"gitlab collector can not run","user":{"login":"suohaonan","id":37791574,"node_id":"MDQ6VXNlcjM3NzkxNTc0","avatar_url":"https://avatars0.githubusercontent.com/u/37791574?v=4","gravatar_id":"","url":"https://api.github.com/users/suohaonan","html_url":"https://github.com/suohaonan","followers_url":"https://api.github.com/users/suohaonan/followers","following_url":"https://api.github.com/users/suohaonan/following{/other_user}","gists_url":"https://api.github.com/users/suohaonan/gists{/gist_id}","starred_url":"https://api.github.com/users/suohaonan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suohaonan/subscriptions","organizations_url":"https://api.github.com/users/suohaonan/orgs","repos_url":"https://api.github.com/users/suohaonan/repos","events_url":"https://api.github.com/users/suohaonan/events{/privacy}","received_events_url":"https://api.github.com/users/suohaonan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-15T08:15:14Z","updated_at":"2018-06-20T00:13:05Z","closed_at":"2018-06-20T00:13:05Z","author_association":"NONE","body":"jdk version:jdk1.8.0_111\r\n\r\nthere is my application.properties \r\n\r\n`######################\r\n#Spring Application Properties\r\nspring.data.mongodb.database=hygieia\r\nspring.data.mongodb.host=127.0.0.1\r\nspring.data.mongodb.port=27017\r\nspring.data.mongodb.username=xcar_pmo_admin\r\nspring.data.mongodb.password=R2RHanFmU3V0SGs0\r\n\r\n######################\r\n#Chron schedule: S M D M Y [Day of the Week]\r\nfeature.cron=0 * * * * *\r\n#gitlab.protocol=http\r\ngitlab.host=http://gitlab.xcar.com.cn\r\n#gitlab.port=80\r\n#gitlab.path=\r\n\r\ngitlab.apiToken=XrxF7DtRmR9JCgvxzcMv\r\n#gitlab.selfSignedCertificate=false\r\n#gitlab.apiVersion=3`\r\n\r\nwhen i start up this collector ,it seems don't load application.properties .error log:\r\n\r\n\r\n`2018-06-15 16:06:20,687 ERROR o.s.boot.SpringApplication - Application startup failed\r\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'featureCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) ~[spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) ~[spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752) [spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.doRun(SpringApplication.java:347) [spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:295) [spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1112) [spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1101) [spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]\r\n\tat com.capitalone.dashboard.Application.main(Application.java:23) [gitlab-feature-collector.jar!/:2.0.5-SNAPSHOT]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]\r\n\tat java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]\r\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [gitlab-feature-collector.jar!/:2.0.5-SNAPSHOT]\r\n\tat java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]\r\nCaused by: java.lang.NullPointerException: null\r\n\tat org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:265) ~[spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:95) ~[spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:82) ~[spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.scheduling.support.CronTrigger.<init>(CronTrigger.java:44) ~[spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat com.capitalone.dashboard.collector.CollectorTask.onStartup(CollectorTask.java:73) ~[core-2.0.5-SNAPSHOT.jar!/:2.0.5-SNAPSHOT]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]\r\n\tat java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:354) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:305) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ~[spring-beans-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\t... 23 common frames omitted`"}}
{"actor":{"display_login":"Sbrenthughes"}}