{"action":"created","issue":{"url":"https://api.github.com/repos/jeperon/freqtrade-java/issues/3","repository_url":"https://api.github.com/repos/jeperon/freqtrade-java","labels_url":"https://api.github.com/repos/jeperon/freqtrade-java/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jeperon/freqtrade-java/issues/3/comments","events_url":"https://api.github.com/repos/jeperon/freqtrade-java/issues/3/events","html_url":"https://github.com/jeperon/freqtrade-java/issues/3","id":343417763,"node_id":"MDU6SXNzdWUzNDM0MTc3NjM=","number":3,"title":"Please help me","user":{"login":"anhtuantt","id":1943028,"node_id":"MDQ6VXNlcjE5NDMwMjg=","avatar_url":"https://avatars0.githubusercontent.com/u/1943028?v=4","gravatar_id":"","url":"https://api.github.com/users/anhtuantt","html_url":"https://github.com/anhtuantt","followers_url":"https://api.github.com/users/anhtuantt/followers","following_url":"https://api.github.com/users/anhtuantt/following{/other_user}","gists_url":"https://api.github.com/users/anhtuantt/gists{/gist_id}","starred_url":"https://api.github.com/users/anhtuantt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhtuantt/subscriptions","organizations_url":"https://api.github.com/users/anhtuantt/orgs","repos_url":"https://api.github.com/users/anhtuantt/repos","events_url":"https://api.github.com/users/anhtuantt/events{/privacy}","received_events_url":"https://api.github.com/users/anhtuantt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-22T16:04:06Z","updated_at":"2018-08-23T09:01:22Z","closed_at":"2018-08-23T09:01:22Z","author_association":"NONE","body":"Hello,\r\nI wanted to learn trading bot, and found your project is great. When I tried to run the main class FreqTradeApplication, I got the following exception, look like it was unable to initialize FreqTradeProperties class from properties file. Please help me fix it.\r\n\r\nThanks a lot.\r\nTuan Nguyen.\r\n\r\nHere is a detail exception:\r\norg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'commandEventListener' defined in file [C:\\Users\\win10\\workspace\\freqtrade\\target\\classes\\ch\\urbanfox\\freqtrade\\event\\CommandEventListener.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'telegramServiceImpl': Invocation of init method failed; nested exception is java.lang.NullPointerException\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) [spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) [spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) [spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]\r\n\tat ch.urbanfox.freqtrade.FreqTradeApplication.main(FreqTradeApplication.java:18) [classes/:na]\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'telegramServiceImpl': Invocation of init method failed; nested exception is java.lang.NullPointerException\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\t... 18 common frames omitted\r\nCaused by: java.lang.NullPointerException: null\r\n\tat ch.urbanfox.freqtrade.telegram.TelegramServiceImpl.init(TelegramServiceImpl.java:60) ~[classes/:na]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]\r\n\tat java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_131]\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]\r\n\t... 31 common frames omitted\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jeperon/freqtrade-java/issues/comments/415344670","html_url":"https://github.com/jeperon/freqtrade-java/issues/3#issuecomment-415344670","issue_url":"https://api.github.com/repos/jeperon/freqtrade-java/issues/3","id":415344670,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTM0NDY3MA==","user":{"login":"anhtuantt","id":1943028,"node_id":"MDQ6VXNlcjE5NDMwMjg=","avatar_url":"https://avatars0.githubusercontent.com/u/1943028?v=4","gravatar_id":"","url":"https://api.github.com/users/anhtuantt","html_url":"https://github.com/anhtuantt","followers_url":"https://api.github.com/users/anhtuantt/followers","following_url":"https://api.github.com/users/anhtuantt/following{/other_user}","gists_url":"https://api.github.com/users/anhtuantt/gists{/gist_id}","starred_url":"https://api.github.com/users/anhtuantt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhtuantt/subscriptions","organizations_url":"https://api.github.com/users/anhtuantt/orgs","repos_url":"https://api.github.com/users/anhtuantt/repos","events_url":"https://api.github.com/users/anhtuantt/events{/privacy}","received_events_url":"https://api.github.com/users/anhtuantt/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T09:01:22Z","updated_at":"2018-08-23T09:01:22Z","author_association":"NONE","body":"I figured and fixed the issue."}}
{"actor":{"display_login":"anhtuantt"}}